35 int main(
int argc, 
char **argv)
 
   49     JParser<> zap(
"Program to monitor AHRS data.");
 
   51     zap[
'f'] = 
make_field(inputFile,    
"output of JConvertDB -q ahrs");
 
   52     zap[
'n'] = 
make_field(numberOfEvents)              = JLimit::max();
 
   55     zap[
'c'] = 
make_field(ahrsFile,     
"output of JAHRSCalibration");
 
   60   catch(
const exception &error) {
 
   61     FATAL(error.what() << endl);
 
   85   TH2D H2(
"detector", NULL,
 
   86           string.size() + 0, -0.5, 
string.size() - 0.5,
 
   87           range.getUpperLimit(), 1 - 0.5, 
range.getUpperLimit() + 0.5);
 
   89   for (Int_t 
i = 1; 
i <= H2.GetXaxis()->GetNbins(); ++
i) {
 
   92   for (Int_t 
i = 1; 
i <= H2.GetYaxis()->GetNbins(); ++
i) {
 
   96   while (inputFile.hasNext()) {
 
   98     STATUS(
"event: " << setw(10) << inputFile.getCounter() << 
'\r'); 
DEBUG(endl);
 
Utility class to parse command line options. 
 
int main(int argc, char *argv[])
 
int getFloor() const 
Get floor number. 
 
const JModule & getModule(const JObjectID &id) const 
Get module parameters. 
 
Data structure for a composite optical module. 
 
bool is_valid(const json &js)
Check validity of JSon data. 
 
Router for direct addressing of module data in detector data structure. 
 
*fatal Wrong number of arguments esac JCookie sh typeset Z DETECTOR typeset Z SOURCE_RUN typeset Z TARGET_RUN set_variable PARAMETERS_FILE $WORKDIR parameters
 
#define MAKE_CSTRING(A)
Make C-string. 
 
floor_range getRangeOfFloors(const JDetector &detector)
Get range of floors. 
 
Data structure for detector geometry and calibration. 
 
Auxiliary class for defining the range of iterations of objects. 
 
I/O formatting auxiliaries. 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
int getIndex()
Get index for user I/O manipulation. 
 
ROOT TTree parameter settings. 
 
General purpose messaging. 
 
Direct access to string in detector data structure. 
 
Scanning of objects from multiple files according a format that follows from the extension of each fi...
 
Direct access to module in detector data structure. 
 
z range($ZMAX-$ZMIN)< $MINIMAL_DZ." fi fi typeset -Z 4 STRING typeset -Z 2 FLOOR JPlot1D -f $
 
int getString() const 
Get string number. 
 
void load(const std::string &file_name, JDetector &detector)
Load detector from input file. 
 
Router for mapping of string identifier to index. 
 
General purpose class for object reading from a list of file names. 
 
Utility class to parse command line options. 
 
bool hasModule(const JObjectID &id) const 
Has module. 
 
Auxiliary class to map module identifier to AHRS calibration. 
 
const JLimit & getLimit() const 
Get limit. 
 
do set_variable DETECTOR_TXT $WORKDIR detector
 
Auxiliary data structure to check validity of AHRS data. 
 
#define DEBUG(A)
Message macros.