Changeset fec809d in git
- Timestamp:
- Jan 27, 2020, 12:26:15 PM (5 years ago)
- Branches:
- Timing
- Children:
- 32b2ff1
- Parents:
- 6777565
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
cards/FCC/FCChh_PileUpVtx.tcl
r6777565 rfec809d 258 258 259 259 # absolute resolution per measurement (normalized in MeV/cm) 260 set Resolution 0.4 260 # CMS pixel detector performance is reproduceable with r = 0.4 261 # dedicated dEdX detector can achieve r = 0.0 or below (i.e better than Landau) 262 263 #set Resolution 0.4 264 set Resolution 0.2 261 265 262 266 # fraction of measurements to ignore when computing truncated mean 267 # suggested range [0.4-0.6] 268 263 269 set TruncatedMeanFraction 0.5 264 270 265 271 # detector properties (active fraction = nhits*thickness/L) 266 set Thickness 200E-6267 set ActiveFraction 0.00 133272 set Thickness 100E-6 273 set ActiveFraction 0.0006666 268 274 269 275 # Silicon properties, for other materials: -
modules/EnergyLoss.cc
r6777565 rfec809d 81 81 fX1 = GetDouble("x1", 2.8716); 82 82 fI = GetDouble("I", 173.0); // mean excitation potential in (eV) 83 f X0 = GetDouble("c0", 4.4355);83 fC0 = GetDouble("c0", 4.4355); 84 84 85 85 // import arrays with output from other modules … … 120 120 void EnergyLoss::Process() 121 121 { 122 Candidate *candidate , *particle;122 Candidate *candidate; 123 123 vector<TIterator *>::iterator itInputList; 124 124 TIterator *iterator; … … 131 131 vector<Double_t> elosses; 132 132 133 cout<<"---------------- new event -------------------"<<endl;133 //cout<<"---------------- new event -------------------"<<endl; 134 134 135 135 … … 143 143 while((candidate = static_cast<Candidate *>(iterator->Next()))) 144 144 { 145 cout<<" ---------------- new candidate -------------------"<<endl;145 //cout<<" ---------------- new candidate -------------------"<<endl; 146 146 const TLorentzVector &candidateMomentum = candidate->Momentum; 147 147 … … 149 149 gamma = candidateMomentum.Gamma(); 150 150 charge = TMath::Abs(candidate->Charge); 151 151 152 152 153 // length of the track normalized by the fraction of active material and the charge collection efficiency in the tracker (in cm) … … 161 162 nhits = Int_t(L*fActiveFraction/dx); 162 163 164 165 //beta = 0.999945; 166 //gamma = 95.6446; 167 //charge = 1.; 168 //nhits = 100; 169 163 170 //cout<<L<<","<<fActiveFraction<<","<<dx<<","<<nhits<<endl; 164 171 … … 180 187 dP = chi*( TMath::Log(Wmax/I) + TMath::Log(chi/I) + 0.2 - beta*beta - delta); 181 188 182 if (candidateMomentum.Pt() > 5) {183 189 //cout<<"L: "<<L<<", PT: "<<candidateMomentum.Pt()<<", Eta: "<<candidateMomentum.Eta()<<", Phi: "<< candidateMomentum.Phi()<<endl; 190 //cout<<"Nhits: "<<nhits<<", dx: "<<dx<<", Charge: "<<charge<<", Beta: "<< beta<<", Gamma: "<<gamma<<", PT: "<<candidateMomentum.Pt()<<endl; 184 191 //cout<<x<<","<<kappa<<endl; 185 cout<<" Wmax: "<<Wmax<<", Chi: "<<chi<<", delta: "<<delta<<", DeDx: "<<avdE<<", DeltaP: "<<dP<<endl; 186 } 192 //cout<<" Wmax: "<<Wmax<<", Chi: "<<chi<<", delta: "<<delta<<", DeDx: "<<avdE<<", DeltaP: "<<dP<<endl; 187 193 188 194 // simulate Nhits energy loss measurements -
modules/MomentumSmearing.cc
r6777565 rfec809d 120 120 candidate->ErrorPT = res*pt; 121 121 candidate->PT = pt; 122 122 123 123 candidate->TrackResolution = res; 124 124 candidate->AddCandidate(mother);
Note:
See TracChangeset
for help on using the changeset viewer.