CMS 3D CMS Logo

CosmicMuonGenerator.h
Go to the documentation of this file.
1 #ifndef CosmicMuonGenerator_h
2 #define CosmicMuonGenerator_h
3 //
4 // CosmicMuonGenerator by droll (04/DEC/2005)
5 // modified by P. Biallass 29.03.2006 to implement new cosmic generator (CMSCGEN.cc)
6 //
7 
8 // include files
9 
10 #include <CLHEP/Random/RandomEngine.h>
11 #include <CLHEP/Random/JamesRandom.h>
12 
13 namespace CLHEP {
14  class HepRandomEngine;
15 }
16 
17 #include <iostream>
18 #include <string>
19 #include <vector>
20 #include "TFile.h"
21 #include "TTree.h"
22 
24 
29 
30 // class definitions
32 public:
33  // constructor
35  //initialize class which normalizes flux (added by P.Biallass 29.3.2006)
36  Norm = new CMSCGENnorm();
37  //initialize class which produces the cosmic muons (modified by P.Biallass 29.3.2006)
38  Cosmics = new CMSCGEN();
39  // set default control parameters
40  NumberOfEvents = 100;
41  RanSeed = 135799468;
42  MinP = 3.;
43  MinP_CMS = MinP;
44  MaxP = 3000.;
45  MinTheta = 0. * Deg2Rad;
46  //MaxTheta = 84.26*Deg2Rad;
47  MaxTheta = 89.0 * Deg2Rad;
48  MinPhi = 0. * Deg2Rad;
49  MaxPhi = 360. * Deg2Rad;
50  MinT0 = -12.5;
51  MaxT0 = 12.5;
52  ElossScaleFactor = 1.0;
53  RadiusOfTarget = 8000.;
54  ZDistOfTarget = 15000.;
55  ZCentrOfTarget = 0.;
56  TrackerOnly = false;
57  MultiMuon = false;
58  MultiMuonFileName = "dummy.root";
60  MultiMuonNmin = 2;
61  TIFOnly_constant = false;
62  TIFOnly_linear = false;
63  MTCCHalf = false;
64  EventRate = 0.;
65  rateErr_stat = 0.;
66  rateErr_syst = 0.;
67 
68  SumIntegrals = 0.;
69  Ngen = 0.;
70  Nsel = 0.;
71  Ndiced = 0.;
72  NotInitialized = true;
73  Target3dRadius = 0.;
74  SurfaceRadius = 0.;
75  //set plug as default onto PX56 shaft
78  //material densities in g/cm^3
79  RhoAir = 0.001214;
80  RhoWall = 2.5;
81  RhoRock = 2.5;
82  RhoClay = 2.3;
83  RhoPlug = 2.5;
84  ClayWidth = 50000; //[mm]
85 
86  std::cout << std::endl;
87  std::cout << "*********************************************************" << std::endl;
88  std::cout << "*********************************************************" << std::endl;
89  std::cout << "*** ***" << std::endl;
90  std::cout << "*** C O S M I C M U O N G E N E R A T O R (vC++) ***" << std::endl;
91  std::cout << "*** ***" << std::endl;
92  std::cout << "*********************************************************" << std::endl;
93  std::cout << "*********************************************************" << std::endl;
94  std::cout << std::endl;
95  }
96 
97  // destructor
99  if (delRanGen)
100  delete RanGen;
101  delete Norm;
102  delete Cosmics;
103  }
104 
105  // event with one particle
106  //SingleParticleEvent OneMuoEvt;
108 
109  double EventWeight; //for multi muon events
110  double Trials; //for multi muon events
111 
112  int Id_at;
113  double Px_at;
114  double Py_at;
115  double Pz_at;
116  double E_at;
117  //double M_at;
118  double Vx_at;
119  double Vy_at;
120  double Vz_at;
121  double T0_at;
122  double Theta_at;
123 
124  std::vector<double> Px_mu;
125  std::vector<double> Py_mu;
126  std::vector<double> Pz_mu;
127  std::vector<double> P_mu;
128  std::vector<double> Vx_mu;
129  std::vector<double> Vy_mu;
130  std::vector<double> Vz_mu;
131  double Vxz_mu;
132  std::vector<double> Theta_mu;
133 
134  std::vector<int> Id_sf;
135  std::vector<double> Px_sf;
136  std::vector<double> Py_sf;
137  std::vector<double> Pz_sf;
138  std::vector<double> E_sf;
139  //std::vector<double> M_sf;
140  std::vector<double> Vx_sf;
141  std::vector<double> Vy_sf;
142  std::vector<double> Vz_sf;
143  std::vector<double> T0_sf;
144 
145  std::vector<int> Id_ug;
146  std::vector<double> Px_ug;
147  std::vector<double> Py_ug;
148  std::vector<double> Pz_ug;
149  std::vector<double> E_ug;
150  //std::vector<double> M_ug;
151  std::vector<double> Vx_ug;
152  std::vector<double> Vy_ug;
153  std::vector<double> Vz_ug;
154  std::vector<double> T0_ug;
155 
156 private:
157  TFile* MultiIn; //file to be read in
158  TTree* MultiTree; //tree of file with multi muon events
159  sim* SimTree; //class to acces tree branches
160  ULong64_t SimTreeEntries;
161  ULong64_t SimTree_jentry;
164 
165  //initialize class which normalizes flux (added by P.Biallass 29.3.2006)
167  //initialize class which produces the cosmic muons (modified by P.Biallass 29.3.2006)
169  // default control parameters
170  unsigned int NumberOfEvents; // number of events to be generated
171  int RanSeed; // seed of random number generator
172  double MinP; // min. E [GeV]
173  double MinP_CMS; // min. E at CMS surface [GeV]; default is MinE_CMS=MinE, thus no bias from access-shaft
174  double MaxP; // max. E [GeV]
175  double MinTheta; // min. theta [rad]
176  double MaxTheta; // max. theta [rad]
177  double MinPhi; // min. phi [rad]
178  double MaxPhi; // max. phi [rad]
179  double MinT0; // min. t0 [ns]
180  double MaxT0; // max. t0 [ns]
181  double ElossScaleFactor; // scale factor for energy loss
182  double RadiusOfTarget; // Radius of target-cylinder which cosmics HAVE to hit [mm], default is CMS-dimensions
183  double ZDistOfTarget; // z-length of target-cylinder which cosmics HAVE to hit [mm], default is CMS-dimensions
184  double
185  ZCentrOfTarget; // z-position of centre of target-cylinder which cosmics HAVE to hit [mm], default is Nominal Interaction Point (=0)
186  bool TrackerOnly; //if set to "true" detector with tracker-only setup is used, so no material or B-field outside is considerd
187  bool MultiMuon; //read in multi-muon events from file instead of generating single muon events
188  std::string MultiMuonFileName; //file containing multi muon events, to be read in
189  int MultiMuonFileFirstEvent; //first multi muon event, to be read in
190  int MultiMuonNmin; //minimal number of multi muons per event reaching the cylinder surrounding CMS
191  bool TIFOnly_constant; //if set to "true" cosmics can also be generated below 2GeV with unphysical constant energy dependence
192  bool TIFOnly_linear; //if set to "true" cosmics can also be generated below 2GeV with unphysical linear energy dependence
193  bool MTCCHalf; //if set to "true" muons are sure to hit half of CMS important for MTCC,
194  //still material and B-field of whole CMS is considered
195  double EventRate; // number of muons per second [Hz]
196  double rateErr_stat; // stat. error of number of muons per second [Hz]
197  double rateErr_syst; // syst. error of number of muons per second [Hz] from error of known flux
198  // other stuff needed
199  double SumIntegrals; // sum of phase space integrals
200  double Ngen; // number of generated events
201  double Nsel; // number of selected events
202  double Ndiced; // number of diced events
203  double Target3dRadius; // radius of sphere around target (cylinder)
204  double SurfaceRadius; // radius for area on surface that has to be considered (for event generation)
205  double PlugVx; //Plug x position
206  double PlugVz; //Plug z position
207 
208  //material densities in g/cm^3
209  double RhoAir;
210  double RhoWall;
211  double RhoRock;
212  double RhoClay;
213  double RhoPlug;
214  double ClayWidth; //[mm]
215 
216  //For upgoing muon generation: Neutrino energy limits
217  double MinEnu;
218  double MaxEnu;
219  double NuProdAlt;
220 
221  bool AcptAllMu; //Accepting All Muons regardeless of direction
222 
223  // random number generator
224  CLHEP::HepRandomEngine* RanGen;
225  bool delRanGen;
226  // check user input
228  void checkIn();
229  // check, if muon is pointing into target
230  bool goodOrientation();
231  // event display: initialize + display
232  void initEvDis();
233  void displayEv();
234 
235 public:
236  // set parameters
237  void setNumberOfEvents(unsigned int N);
238  void setRanSeed(int N);
239  void setMinP(double P);
240  void setMinP_CMS(double P);
241  void setMaxP(double P);
242  void setMinTheta(double Theta);
243  void setMaxTheta(double Theta);
244  void setMinPhi(double Phi);
245  void setMaxPhi(double Phi);
246  void setMinT0(double T0);
247  void setMaxT0(double T0);
248  void setElossScaleFactor(double ElossScaleFact);
249  void setRadiusOfTarget(double R);
250  void setZDistOfTarget(double Z);
251  void setZCentrOfTarget(double Z);
252  void setTrackerOnly(bool Tracker);
253  void setMultiMuon(bool MultiMu);
255  void setMultiMuonFileFirstEvent(int MultiMuFile1stEvt);
256  void setMultiMuonNmin(int MultiMuNmin);
257  void setTIFOnly_constant(bool TIF);
258  void setTIFOnly_linear(bool TIF);
259  void setMTCCHalf(bool MTCC);
260  void setPlugVx(double PlugVtx);
261  void setPlugVz(double PlugVtz);
262  void setRhoAir(double VarRhoAir);
263  void setRhoWall(double VarRhoSWall);
264  void setRhoRock(double VarRhoRock);
265  void setRhoClay(double VarRhoClay);
266  void setRhoPlug(double VarRhoPlug);
267  void setClayWidth(double ClayLaeyrWidth);
268 
269  void setMinEnu(double MinEn);
270  void setMaxEnu(double MaxEn);
271  void setNuProdAlt(double NuPrdAlt);
272  void setAcptAllMu(bool AllMu);
273 
274  // initialize the generator
275  void setRandomEngine(CLHEP::HepRandomEngine* v);
276  void initialize(CLHEP::HepRandomEngine* rng = nullptr);
277  // prints rate + statistics
278  void terminate();
279  // initialize, generate and terminate the Cosmic Muon Generator
280  void runCMG();
281  // returns event rate
282  double getRate();
283  // generate next event/muon
284  void nextEvent();
285  // generate next multi muon event
286  bool nextMultiEvent();
287 };
288 #endif
CosmicMuonGenerator::NcloseMultiMuonEvents
int NcloseMultiMuonEvents
Definition: CosmicMuonGenerator.h:162
CosmicMuonGenerator::EventRate
double EventRate
Definition: CosmicMuonGenerator.h:195
CosmicMuonGenerator::Vz_at
double Vz_at
Definition: CosmicMuonGenerator.h:120
CosmicMuonGenerator::setNumberOfEvents
void setNumberOfEvents(unsigned int N)
Definition: CosmicMuonGenerator.cc:1118
CosmicMuonGenerator::Px_sf
std::vector< double > Px_sf
Definition: CosmicMuonGenerator.h:135
CosmicMuonGenerator::TrackerOnly
bool TrackerOnly
Definition: CosmicMuonGenerator.h:186
CosmicMuonGenerator::SumIntegrals
double SumIntegrals
Definition: CosmicMuonGenerator.h:199
CosmicMuonGenerator::rateErr_syst
double rateErr_syst
Definition: CosmicMuonGenerator.h:197
CosmicMuonGenerator::MaxTheta
double MaxTheta
Definition: CosmicMuonGenerator.h:176
funct::false
false
Definition: Factorize.h:34
CosmicMuonGenerator::MultiMuonFileFirstEvent
int MultiMuonFileFirstEvent
Definition: CosmicMuonGenerator.h:189
CosmicMuonGenerator::setMinEnu
void setMinEnu(double MinEn)
Definition: CosmicMuonGenerator.cc:1262
CosmicMuonGenerator::setZCentrOfTarget
void setZCentrOfTarget(double Z)
Definition: CosmicMuonGenerator.cc:1188
CosmicMuonGenerator::Id_at
int Id_at
Definition: CosmicMuonGenerator.h:112
CosmicMuonGenerator::setMultiMuonFileFirstEvent
void setMultiMuonFileFirstEvent(int MultiMuFile1stEvt)
Definition: CosmicMuonGenerator.cc:1206
SingleParticleEvent.h
CosmicMuonGenerator::Vz_sf
std::vector< double > Vz_sf
Definition: CosmicMuonGenerator.h:142
CosmicMuonGenerator::EventWeight
double EventWeight
Definition: CosmicMuonGenerator.h:109
CosmicMuonGenerator::Py_at
double Py_at
Definition: CosmicMuonGenerator.h:114
CMSCGENnorm.h
CosmicMuonGenerator::MaxPhi
double MaxPhi
Definition: CosmicMuonGenerator.h:178
gather_cfg.cout
cout
Definition: gather_cfg.py:144
CosmicMuonGenerator::Norm
CMSCGENnorm * Norm
Definition: CosmicMuonGenerator.h:166
CosmicMuonGenerator::RhoRock
double RhoRock
Definition: CosmicMuonGenerator.h:211
CosmicMuonGenerator::NskippedMultiMuonEvents
int NskippedMultiMuonEvents
Definition: CosmicMuonGenerator.h:163
CosmicMuonGenerator::MultiTree
TTree * MultiTree
Definition: CosmicMuonGenerator.h:158
CosmicMuonGenerator::Py_sf
std::vector< double > Py_sf
Definition: CosmicMuonGenerator.h:136
CosmicMuonGenerator::Py_mu
std::vector< double > Py_mu
Definition: CosmicMuonGenerator.h:125
CosmicMuonGenerator::setRhoWall
void setRhoWall(double VarRhoSWall)
Definition: CosmicMuonGenerator.cc:1241
CosmicMuonGenerator::OneMuoEvt
SingleParticleEvent OneMuoEvt
Definition: CosmicMuonGenerator.h:107
findQualityFiles.v
v
Definition: findQualityFiles.py:179
CosmicMuonGenerator
Definition: CosmicMuonGenerator.h:31
CosmicMuonGenerator::Id_sf
std::vector< int > Id_sf
Definition: CosmicMuonGenerator.h:134
CosmicMuonGenerator::setZDistOfTarget
void setZDistOfTarget(double Z)
Definition: CosmicMuonGenerator.cc:1183
CosmicMuonGenerator::setTIFOnly_constant
void setTIFOnly_constant(bool TIF)
Definition: CosmicMuonGenerator.cc:1215
CosmicMuonGenerator::Theta_at
double Theta_at
Definition: CosmicMuonGenerator.h:122
CosmicMuonGenerator::AcptAllMu
bool AcptAllMu
Definition: CosmicMuonGenerator.h:221
CosmicMuonGenerator::RanGen
CLHEP::HepRandomEngine * RanGen
Definition: CosmicMuonGenerator.h:224
CosmicMuonGenerator::setTIFOnly_linear
void setTIFOnly_linear(bool TIF)
Definition: CosmicMuonGenerator.cc:1220
CosmicMuonGenerator::ZCentrOfTarget
double ZCentrOfTarget
Definition: CosmicMuonGenerator.h:185
align::Tracker
Definition: StructureType.h:70
CosmicMuonGenerator::MinTheta
double MinTheta
Definition: CosmicMuonGenerator.h:175
CosmicMuonGenerator::RhoWall
double RhoWall
Definition: CosmicMuonGenerator.h:210
CosmicMuonGenerator::NuProdAlt
double NuProdAlt
Definition: CosmicMuonGenerator.h:219
CosmicMuonGenerator::setMaxPhi
void setMaxPhi(double Phi)
Definition: CosmicMuonGenerator.cc:1158
CosmicMuonGenerator::ElossScaleFactor
double ElossScaleFactor
Definition: CosmicMuonGenerator.h:181
CosmicMuonGenerator::MaxEnu
double MaxEnu
Definition: CosmicMuonGenerator.h:218
CosmicMuonGenerator::setAcptAllMu
void setAcptAllMu(bool AllMu)
Definition: CosmicMuonGenerator.cc:1277
CosmicMuonGenerator::MultiIn
TFile * MultiIn
Definition: CosmicMuonGenerator.h:157
CosmicMuonGenerator::setRhoClay
void setRhoClay(double VarRhoClay)
Definition: CosmicMuonGenerator.cc:1249
CosmicMuonGenerator::MultiMuonFileName
std::string MultiMuonFileName
Definition: CosmicMuonGenerator.h:188
CosmicMuonGenerator::MinPhi
double MinPhi
Definition: CosmicMuonGenerator.h:177
CosmicMuonGenerator::E_sf
std::vector< double > E_sf
Definition: CosmicMuonGenerator.h:138
CosmicMuonGenerator::Pz_mu
std::vector< double > Pz_mu
Definition: CosmicMuonGenerator.h:126
CosmicMuonGenerator::NumberOfEvents
unsigned int NumberOfEvents
Definition: CosmicMuonGenerator.h:170
CosmicMuonGenerator::RhoPlug
double RhoPlug
Definition: CosmicMuonGenerator.h:213
CosmicMuonGenerator::TIFOnly_linear
bool TIFOnly_linear
Definition: CosmicMuonGenerator.h:192
CosmicMuonGenerator::terminate
void terminate()
Definition: CosmicMuonGenerator.cc:831
CosmicMuonGenerator::MultiMuon
bool MultiMuon
Definition: CosmicMuonGenerator.h:187
CosmicMuonGenerator::setRanSeed
void setRanSeed(int N)
Definition: CosmicMuonGenerator.cc:1123
Deg2Rad
const double Deg2Rad
Definition: CosmicMuonParameters.h:20
N
#define N
Definition: blowfish.cc:9
CosmicMuonGenerator::setRadiusOfTarget
void setRadiusOfTarget(double R)
Definition: CosmicMuonGenerator.cc:1178
CosmicMuonGenerator::Px_mu
std::vector< double > Px_mu
Definition: CosmicMuonGenerator.h:124
CosmicMuonGenerator::setMultiMuonFileName
void setMultiMuonFileName(std::string MultiMuonFileName)
Definition: CosmicMuonGenerator.cc:1202
CosmicMuonGenerator::ZDistOfTarget
double ZDistOfTarget
Definition: CosmicMuonGenerator.h:183
VtxSmearedParameters_cfi.Phi
Phi
Definition: VtxSmearedParameters_cfi.py:112
CosmicMuonGenerator::Pz_sf
std::vector< double > Pz_sf
Definition: CosmicMuonGenerator.h:137
SingleParticleEvent
Definition: SingleParticleEvent.h:12
CosmicMuonGenerator::Px_at
double Px_at
Definition: CosmicMuonGenerator.h:113
CosmicMuonGenerator::getRate
double getRate()
Definition: CosmicMuonGenerator.cc:1275
CosmicMuonParameters.h
CLHEP
Definition: CocoaGlobals.h:27
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CosmicMuonGenerator::T0_at
double T0_at
Definition: CosmicMuonGenerator.h:121
CosmicMuonGenerator::Ngen
double Ngen
Definition: CosmicMuonGenerator.h:200
CosmicMuonGenerator::RanSeed
int RanSeed
Definition: CosmicMuonGenerator.h:171
CosmicMuonGenerator::setMaxEnu
void setMaxEnu(double MaxEn)
Definition: CosmicMuonGenerator.cc:1266
CosmicMuonGenerator::runCMG
void runCMG()
Definition: CosmicMuonGenerator.cc:10
CosmicMuonGenerator::E_ug
std::vector< double > E_ug
Definition: CosmicMuonGenerator.h:149
CosmicMuonGenerator::nextEvent
void nextEvent()
Definition: CosmicMuonGenerator.cc:114
CosmicMuonGenerator::Vx_ug
std::vector< double > Vx_ug
Definition: CosmicMuonGenerator.h:151
CosmicMuonGenerator::setPlugVz
void setPlugVz(double PlugVtz)
Definition: CosmicMuonGenerator.cc:1233
CosmicMuonGenerator::SurfaceRadius
double SurfaceRadius
Definition: CosmicMuonGenerator.h:204
CosmicMuonGenerator::PlugVx
double PlugVx
Definition: CosmicMuonGenerator.h:205
CosmicMuonGenerator::Target3dRadius
double Target3dRadius
Definition: CosmicMuonGenerator.h:203
CosmicMuonGenerator::Vy_ug
std::vector< double > Vy_ug
Definition: CosmicMuonGenerator.h:152
CosmicMuonGenerator::MaxT0
double MaxT0
Definition: CosmicMuonGenerator.h:180
CosmicMuonGenerator::Cosmics
CMSCGEN * Cosmics
Definition: CosmicMuonGenerator.h:168
CosmicMuonGenerator::MinT0
double MinT0
Definition: CosmicMuonGenerator.h:179
sim
Definition: GeometryProducer.h:20
CosmicMuonGenerator::T0_sf
std::vector< double > T0_sf
Definition: CosmicMuonGenerator.h:143
CosmicMuonGenerator::setRhoRock
void setRhoRock(double VarRhoRock)
Definition: CosmicMuonGenerator.cc:1245
CosmicMuonGenerator::displayEv
void displayEv()
Definition: CosmicMuonGenerator.cc:1072
CosmicMuonGenerator::Trials
double Trials
Definition: CosmicMuonGenerator.h:110
CosmicMuonGenerator::rateErr_stat
double rateErr_stat
Definition: CosmicMuonGenerator.h:196
CosmicMuonGenerator::RhoClay
double RhoClay
Definition: CosmicMuonGenerator.h:212
CosmicMuonGenerator::Vy_sf
std::vector< double > Vy_sf
Definition: CosmicMuonGenerator.h:141
DOFs::Z
Definition: AlignPCLThresholdsWriter.cc:37
CosmicMuonGenerator::NotInitialized
bool NotInitialized
Definition: CosmicMuonGenerator.h:227
CosmicMuonGenerator::Nsel
double Nsel
Definition: CosmicMuonGenerator.h:201
CosmicMuonGenerator::TIFOnly_constant
bool TIFOnly_constant
Definition: CosmicMuonGenerator.h:191
CosmicMuonGenerator::setMinPhi
void setMinPhi(double Phi)
Definition: CosmicMuonGenerator.cc:1153
CosmicMuonGenerator::Vx_at
double Vx_at
Definition: CosmicMuonGenerator.h:118
CosmicMuonGenerator::setMinP
void setMinP(double P)
Definition: CosmicMuonGenerator.cc:1128
CosmicMuonGenerator::setPlugVx
void setPlugVx(double PlugVtx)
Definition: CosmicMuonGenerator.cc:1229
CMSCGEN
Definition: CMSCGEN.h:29
CosmicMuonGenerator::Vx_sf
std::vector< double > Vx_sf
Definition: CosmicMuonGenerator.h:140
CosmicMuonGenerator::setRandomEngine
void setRandomEngine(CLHEP::HepRandomEngine *v)
Definition: CosmicMuonGenerator.cc:18
CosmicMuonGenerator::setMaxT0
void setMaxT0(double T0)
Definition: CosmicMuonGenerator.cc:1168
CosmicMuonGenerator::goodOrientation
bool goodOrientation()
Definition: CosmicMuonGenerator.cc:984
sim.h
CosmicMuonGenerator::setMaxP
void setMaxP(double P)
Definition: CosmicMuonGenerator.cc:1138
CosmicMuonGenerator::nextMultiEvent
bool nextMultiEvent()
Definition: CosmicMuonGenerator.cc:275
CosmicMuonGenerator::SimTreeEntries
ULong64_t SimTreeEntries
Definition: CosmicMuonGenerator.h:160
CosmicMuonGenerator::setRhoAir
void setRhoAir(double VarRhoAir)
Definition: CosmicMuonGenerator.cc:1237
CosmicMuonGenerator::setMultiMuon
void setMultiMuon(bool MultiMu)
Definition: CosmicMuonGenerator.cc:1198
CosmicMuonGenerator::T0_ug
std::vector< double > T0_ug
Definition: CosmicMuonGenerator.h:154
CosmicMuonGenerator::initialize
void initialize(CLHEP::HepRandomEngine *rng=nullptr)
Definition: CosmicMuonGenerator.cc:26
CosmicMuonGenerator::ClayWidth
double ClayWidth
Definition: CosmicMuonGenerator.h:214
CosmicMuonGenerator::Pz_ug
std::vector< double > Pz_ug
Definition: CosmicMuonGenerator.h:148
CosmicMuonGenerator::PlugVz
double PlugVz
Definition: CosmicMuonGenerator.h:206
CosmicMuonGenerator::MinEnu
double MinEnu
Definition: CosmicMuonGenerator.h:217
CosmicMuonGenerator::CosmicMuonGenerator
CosmicMuonGenerator()
Definition: CosmicMuonGenerator.h:34
CosmicMuonGenerator::setMinTheta
void setMinTheta(double Theta)
Definition: CosmicMuonGenerator.cc:1143
CosmicMuonGenerator::SimTree
sim * SimTree
Definition: CosmicMuonGenerator.h:159
CosmicMuonGenerator::Py_ug
std::vector< double > Py_ug
Definition: CosmicMuonGenerator.h:147
CosmicMuonGenerator::Pz_at
double Pz_at
Definition: CosmicMuonGenerator.h:115
CosmicMuonGenerator::~CosmicMuonGenerator
~CosmicMuonGenerator()
Definition: CosmicMuonGenerator.h:98
CosmicMuonGenerator::E_at
double E_at
Definition: CosmicMuonGenerator.h:116
CosmicMuonGenerator::MinP_CMS
double MinP_CMS
Definition: CosmicMuonGenerator.h:173
CosmicMuonGenerator::setMinT0
void setMinT0(double T0)
Definition: CosmicMuonGenerator.cc:1163
CosmicMuonGenerator::Vxz_mu
double Vxz_mu
Definition: CosmicMuonGenerator.h:131
CosmicMuonGenerator::Vx_mu
std::vector< double > Vx_mu
Definition: CosmicMuonGenerator.h:128
CosmicMuonGenerator::checkIn
void checkIn()
Definition: CosmicMuonGenerator.cc:925
CosmicMuonGenerator::setRhoPlug
void setRhoPlug(double VarRhoPlug)
Definition: CosmicMuonGenerator.cc:1253
CosmicMuonGenerator::setMaxTheta
void setMaxTheta(double Theta)
Definition: CosmicMuonGenerator.cc:1148
CosmicMuonGenerator::setElossScaleFactor
void setElossScaleFactor(double ElossScaleFact)
Definition: CosmicMuonGenerator.cc:1173
CosmicMuonGenerator::MaxP
double MaxP
Definition: CosmicMuonGenerator.h:174
CosmicMuonGenerator::SimTree_jentry
ULong64_t SimTree_jentry
Definition: CosmicMuonGenerator.h:161
CosmicMuonGenerator::Px_ug
std::vector< double > Px_ug
Definition: CosmicMuonGenerator.h:146
CosmicMuonGenerator::Ndiced
double Ndiced
Definition: CosmicMuonGenerator.h:202
CosmicMuonGenerator::Vy_at
double Vy_at
Definition: CosmicMuonGenerator.h:119
CosmicMuonGenerator::Vz_ug
std::vector< double > Vz_ug
Definition: CosmicMuonGenerator.h:153
PlugOnShaftVz
const double PlugOnShaftVz
Definition: CosmicMuonParameters.h:47
PlugOnShaftVx
const double PlugOnShaftVx
Definition: CosmicMuonParameters.h:46
CosmicMuonGenerator::initEvDis
void initEvDis()
Definition: CosmicMuonGenerator.cc:1029
P
std::pair< OmniClusterRef, TrackingParticleRef > P
Definition: BDHadronTrackMonitoringAnalyzer.cc:202
CosmicMuonGenerator::MinP
double MinP
Definition: CosmicMuonGenerator.h:172
CosmicMuonGenerator::RadiusOfTarget
double RadiusOfTarget
Definition: CosmicMuonGenerator.h:182
CosmicMuonGenerator::RhoAir
double RhoAir
Definition: CosmicMuonGenerator.h:209
CosmicMuonGenerator::MultiMuonNmin
int MultiMuonNmin
Definition: CosmicMuonGenerator.h:190
CosmicMuonGenerator::MTCCHalf
bool MTCCHalf
Definition: CosmicMuonGenerator.h:193
CosmicMuonGenerator::setMTCCHalf
void setMTCCHalf(bool MTCC)
Definition: CosmicMuonGenerator.cc:1224
dttmaxenums::R
Definition: DTTMax.h:29
CosmicMuonGenerator::delRanGen
bool delRanGen
Definition: CosmicMuonGenerator.h:225
CosmicMuonGenerator::P_mu
std::vector< double > P_mu
Definition: CosmicMuonGenerator.h:127
CosmicMuonGenerator::setMinP_CMS
void setMinP_CMS(double P)
Definition: CosmicMuonGenerator.cc:1133
CMSCGEN.h
CosmicMuonGenerator::Vz_mu
std::vector< double > Vz_mu
Definition: CosmicMuonGenerator.h:130
CosmicMuonGenerator::Vy_mu
std::vector< double > Vy_mu
Definition: CosmicMuonGenerator.h:129
CosmicMuonGenerator::Theta_mu
std::vector< double > Theta_mu
Definition: CosmicMuonGenerator.h:132
CosmicMuonGenerator::setNuProdAlt
void setNuProdAlt(double NuPrdAlt)
Definition: CosmicMuonGenerator.cc:1270
CosmicMuonGenerator::Id_ug
std::vector< int > Id_ug
Definition: CosmicMuonGenerator.h:145
CosmicMuonGenerator::setMultiMuonNmin
void setMultiMuonNmin(int MultiMuNmin)
Definition: CosmicMuonGenerator.cc:1210
CMSCGENnorm
Definition: CMSCGENnorm.h:29
CosmicMuonGenerator::setTrackerOnly
void setTrackerOnly(bool Tracker)
Definition: CosmicMuonGenerator.cc:1193
CosmicMuonGenerator::setClayWidth
void setClayWidth(double ClayLaeyrWidth)
Definition: CosmicMuonGenerator.cc:1257