PandaRoot
BSEmcDataConcentratorLookUp.h
Go to the documentation of this file.
1 #ifndef BSEMCDATACONCENTRATORLOOKUP_HH
2 #define BSEMCDATACONCENTRATORLOOKUP_HH
3 
4 #include "Rtypes.h"
5 #include "RtypesCore.h"
6 #include "TObject.h"
7 #include "TString.h"
8 
9 class TBuffer;
10 class TClass;
11 class TMemberInspector;
12 
14 
24 class BSEmcDataConcentratorLookUp : public TObject {
25  public:
26  Int_t GetNumberOfDCsFor(TString t_detector) const; // for mapping into virtual Data Concentrators (DC)
27  Int_t GetNumberOfDCsFor(BSEmcDetectorType t_detector) const; // for mapping into virtual Data Concentrators (DC)
28 
29  Int_t GetDCNumber(Int_t t_detectorId) const; // for mapping into virtual Data Concentrators (DC)
30 
31  ClassDef(BSEmcDataConcentratorLookUp, 8);
32 };
33 
34 #endif /*BSEMCDATACONCENTRATORLOOKUP_HH*/
rudimentary if-statement heavy lookup for data concentrator number for each crystal (detectorId) deve...