38 JLimit_t& numberOfEvents = inputFile.getLimit();
47 zap[
'f'] =
make_field(inputFile,
"output of JConvertDB -q ahrs");
55 catch(
const exception &error) {
69 while (inputFile.hasNext()) {
73 const JAHRS* parameters = inputFile.next();
76 double A1 = parameters->
AHRS_A1;
77 double A2 = parameters->
AHRS_A2;
87 A0 -=
cal.ACC_OFFSET_X;
88 A1 -=
cal.ACC_OFFSET_Y;
89 A2 -=
cal.ACC_OFFSET_Z;
92 cal.ACC_ROT_YX,
cal.ACC_ROT_YY,
cal.ACC_ROT_YZ,
95 H0 -= 0.5 * (
cal.MAG_XMIN +
cal.MAG_XMAX);
96 H1 -= 0.5 * (
cal.MAG_YMIN +
cal.MAG_YMAX);
97 H2 -= 0.5 * (
cal.MAG_ZMIN +
cal.MAG_ZMAX);
100 cal.MAG_ROT_YX,
cal.MAG_ROT_YY,
cal.MAG_ROT_YZ,
104 HA[parameters->
DOMID]->Fill(sqrt(
A0 *
A0 + A1 * A1 + A2 * A2));
ROOT TTree parameter settings.
Dynamic ROOT object management.
General purpose messaging.
#define DEBUG(A)
Message macros.
Scanning of objects from multiple files according a format that follows from the extension of each fi...
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
I/O formatting auxiliaries.
void transform(double &__x, double &__y, double &__z) const
Transform.
Template definition of a multi-dimensional oscillation probability interpolation table.
int main(int argc, char **argv)
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary class to map module identifier to AHRS calibration.
Auxiliary class for defining the range of iterations of objects.
static counter_type max()
Get maximum counter value.