Go to the documentation of this file.
2 #define CBMTRDUTILS_H 1
4 #include <RtypesCore.h>
61 const TString zAxisTitle,
64 const Bool_t logScale);
79 return (TString)
"#gamma";
80 else if (GeantId == 2)
81 return (TString)
"e^{+}";
82 else if (GeantId == 3)
83 return (TString)
"e^{-}";
84 else if (GeantId == 4)
85 return (TString)
"#nu_{(e;#mu;#tau)}";
86 else if (GeantId == 5)
87 return (TString)
"#mu^{+}";
88 else if (GeantId == 6)
89 return (TString)
"#mu^{-}";
90 else if (GeantId == 7)
91 return (TString)
"#pi^{0}";
92 else if (GeantId == 8)
93 return (TString)
"#pi^{+}";
94 else if (GeantId == 9)
95 return (TString)
"#pi^{-}";
96 else if (GeantId == 10)
97 return (TString)
"K^{0}_{L}";
98 else if (GeantId == 11)
99 return (TString)
"K^{+}";
100 else if (GeantId == 12)
101 return (TString)
"K^{-}";
102 else if (GeantId == 13)
103 return (TString)
"n";
104 else if (GeantId == 14)
105 return (TString)
"p";
106 else if (GeantId == 15)
107 return (TString)
"#bar{p}";
108 else if (GeantId == 16)
109 return (TString)
"K^{0}_{S}";
110 else if (GeantId == 17)
111 return (TString)
"#eta";
112 else if (GeantId == 18)
113 return (TString)
"#Lambda";
114 else if (GeantId == 19)
115 return (TString)
"#Sigma^{+}";
116 else if (GeantId == 20)
117 return (TString)
"#Sigma^{0}";
118 else if (GeantId == 21)
119 return (TString)
"#Sigma^{-}";
120 else if (GeantId == 22)
121 return (TString)
"#Xi^{0}";
122 else if (GeantId == 23)
123 return (TString)
"#Xi^{-}";
124 else if (GeantId == 24)
125 return (TString)
"#Omega^{-}";
126 else if (GeantId == 25)
127 return (TString)
"#bar{n}";
128 else if (GeantId == 26)
129 return (TString)
"#bar{#Lambda}";
130 else if (GeantId == 27)
131 return (TString)
"#bar{#Sigma}^{-}";
132 else if (GeantId == 28)
133 return (TString)
"#bar{#Sigma}^{0}";
134 else if (GeantId == 29)
135 return (TString)
"#bar{#Sigma}^{+}";
136 else if (GeantId == 30)
137 return (TString)
"#bar{#Xi}^{0}";
138 else if (GeantId == 31)
139 return (TString)
"#bar{#Xi}^{+}";
140 else if (GeantId == 32)
141 return (TString)
"#bar{#Omega}^{+}";
142 else if (GeantId == 33)
143 return (TString)
"#tau^{+}";
144 else if (GeantId == 34)
145 return (TString)
"#tau^{-}";
146 else if (GeantId == 35)
147 return (TString)
"D^{+}";
148 else if (GeantId == 36)
149 return (TString)
"D^{-}";
150 else if (GeantId == 37)
151 return (TString)
"D^{0}";
152 else if (GeantId == 38)
153 return (TString)
"#bar{D}^{+}";
154 else if (GeantId == 39)
155 return (TString)
"D_{S}^{+}";
156 else if (GeantId == 40)
157 return (TString)
"#bar{D_{S}}^{-}";
158 else if (GeantId == 41)
159 return (TString)
"#Lambda_{C}^{+}";
160 else if (GeantId == 42)
161 return (TString)
"W^{+}";
162 else if (GeantId == 43)
163 return (TString)
"W^{-}";
164 else if (GeantId == 44)
165 return (TString)
"Z^{0}";
166 else if (GeantId == 45)
167 return (TString)
"d";
168 else if (GeantId == 46)
169 return (TString)
"t";
170 else if (GeantId == 47)
171 return (TString)
"He";
172 else if (GeantId == 48)
173 return (TString)
"#gamma_{RICH}";
174 else if (GeantId == 49)
175 return (TString)
"Primary";
177 return (TString)
"not known";
static Int_t PdgToGeant(Int_t PdgCode)
void NiceTH2(TH2 *h, Int_t color, Int_t mStyle, Int_t mSize, TString xTitle, TString yTitle, TString zTitle)
void NiceTH3(TH3 *h, Int_t color, Int_t mStyle, Int_t mSize, TString xTitle, TString yTitle, TString zTitle)
std::vector< Int_t > fColors
friend F32vec4 min(const F32vec4 &a, const F32vec4 &b)
TPolyLine * CreateRectangularPad(Int_t column, Int_t row, Double_t value, Double_t min_range, Double_t max_range, Bool_t logScale)
Data class with information on a STS local track.
Definition of chamber gain conversion for one TRD module.
void InitColorVector(Bool_t logScale, Double_t min, Double_t max)
void NiceTH1(TH1 *h, Int_t color, Int_t mStyle, Int_t mSize, TString xTitle, TString yTitle)
std::vector< Double_t > fZLevel
void NiceLegend(TLegend *l)
void NiceTProfile(TProfile *h, Int_t color, Int_t mStyle, Int_t mSize, TString xTitle, TString yTitle)
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
void Statusbar(Int_t i, Int_t n)
void CreateLayerView(std::map< Int_t, TH1 * > &Map, CbmTrdParModDigi *fModuleInfo, CbmTrdParSetDigi *fDigiPar, const TString folder, const TString pics, const TString zAxisTitle, const Double_t fmax, const Double_t fmin, const Bool_t logScale)
Int_t GetColorCode(Double_t value)
static TString GetGeantName(Int_t GeantId)
Int_t GetModuleType(Int_t moduleAddress, CbmTrdParModDigi *fModuleInfo, CbmTrdParSetDigi *fDigiPar)
TPolyLine * CreateTriangularPad(Int_t column, Int_t row, Double_t value, Double_t min_range, Double_t max_range, Bool_t logScale)