CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TkOffTreeVariables.h
Go to the documentation of this file.
1 #ifndef Alignment_OfflineValidation_TkOffTreeVariables_h
2 #define Alignment_OfflineValidation_TkOffTreeVariables_h
3 
4 #include <string>
5 // For ROOT types with '_t':
6 #include <Rtypes.h>
7 
11  TkOffTreeVariables() { this->clear(); }
12 
14  void clear() {
15  // First clear things that are changing if TTrees are merged:
16  this->clearMergeAffectedPart();
17 
18  // Now the rest:
19  // Float_t's
21  // Int_t's
23  // Bool_t's
24  isDoubleSide = isStereo = false;
25  // std::string's
26  histNameLocalX = histNameNormLocalX = histNameLocalY /* = histNameNormLocalY */
29  }
32  // variable Float_t's
37 
39 
40  // variable Int_t's
41  entries = 0;
42  }
43 
45  // Data members:
46  // They do not follow convention to have '_' at the end since they will appear
47  // as such in the TTree and that is ugly.
49 
50  Float_t meanLocalX, meanNormLocalX, meanX, meanNormX, //mean value read out from module histograms
51  meanY, meanNormY, medianX, medianY, //median read out from module histograms
52  chi2PerDofX, chi2PerDofY, rmsLocalX, rmsNormLocalX, rmsX, rmsNormX, //rms value read out from modul histograms
54  fitMeanNormY, fitSigmaNormY, posR, posPhi, posEta, //global coordiantes
55  posX, posY, posZ, //global coordiantes
57 
58  UInt_t entries; // number of entries for each module
59  UInt_t moduleId, subDetId, //moduleId == detId
60  layer, side, half, rod, // half = TPB: halfBarrel, TPE: halfCylinder, TIB: halfShell
62  module; //orientation of modules in TIB:1/2= int/ext string, TID:1/2=back/front ring, TEC 1/2=back/front petal
63 
64  Bool_t isDoubleSide; // (!isDoubleSide) is a detUnit, (isDoubleSide) is a Det (glued Modules)
65  Bool_t isStereo; // (!isStereo) is a rPhi-module, (isStereo) is the stereo module from a Det
66 
69 
72 
74 };
75 
76 #endif
container to hold data to be written into TTree
std::string profileNameResXvsX
void clearMergeAffectedPart()
set those values to empty that are affected by merging
std::string profileNameResYvsX
TkOffTreeVariables()
constructor initialises to empty values
std::string histNameLocalY
std::string histNameNormLocalX
std::string histNameLocalX
std::string profileNameResXvsY
void clear()
set to empty values
std::string profileNameResYvsY