37 const unsigned int max_multiplicity = 31 ;
60 catch(
const exception &error) {
62 cout <<
"Use option -h! to display command line options." <<
endl ;
88 for(
unsigned int m=0; m<max_multiplicity+1; ++m ) {
92 sprintf(
htitle,
"Exclusive %u-fold coincidence clusters;ToT [ns];a.u. (normalized)", m ) ;
95 hToT[m]->SetLineWidth(2) ;
100 for(
unsigned int m=0; m<max_multiplicity+1; ++m ) {
104 sprintf(
htitle,
"Exclusive %u-fold coincidence clusters;Time after first hits [ns];a.u. (normalized)", m ) ;
105 const int margin = 5 ;
106 double xmin = -margin ;
111 ht[m]->SetLineWidth(2) ;
126 cout <<
"---------- Reading file(s) ----------" <<
endl ;
132 unsigned int nTS = 0 ;
133 while(
scan.hasNext() ) {
143 for(JDAQTimeslice::const_iterator
sf = ts->begin() ;
sf!=ts->end() ; ++
sf ) {
145 if(
sf->size() == 0 )
continue ;
147 int moduleID =
sf->getModuleID() ;
149 JModule module = detector[localID] ;
156 cout <<
"--- " <<
"S" <<
module.getString() << "F" << module.getFloor() << endl ;
158 <<
setw(20) <<
"excl. nclusters"
159 <<
setw(20) <<
"incl. nclusters"
161 for(
unsigned int m=2; m<=max_multiplicity; ++m) {
185 for(
unsigned int m=0; m<=max_multiplicity; ++m) {
188 for( JHitL1::const_iterator
hit=
it->begin();
hit!=
it->end(); ++
hit ) {
189 hToT[m]->Fill(
hit->getToT() ) ;
192 if(
it->size() > 1 ) {
208 cout <<
"Read " <<
nTS <<
" time slices." <<
endl ;
214 for(
unsigned int m=0; m<=max_multiplicity; ++m) {
int main(int argc, char **argv)
KM3NeT DAQ constants, bit handling, etc.
Data structure for detector geometry and calibration.
Direct access to module in detector data structure.
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
ROOT TTree parameter settings of various packages.
Router for direct addressing of module data in detector data structure.
const JModuleAddress & getAddress(const JObjectID &id) const
Get address of module.
Data structure for a composite optical module.
Local coincidence cluster builder.
Template definition of a multi-dimensional oscillation probability interpolation table.
int getFrameIndex() const
Get frame index.
file Auxiliary data structures and methods for detector calibration.
void load(const std::string &file_name, JDetector &detector)
Load detector from input file.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary classes and methods for triggering.
KM3NeT DAQ data structures and auxiliaries.