Changeset b62c2da in git
- Timestamp:
- Jan 26, 2015, 2:57:46 PM (10 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 2d494a6
- Parents:
- 7f9ae0a
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
classes/DelphesClasses.cc
r7f9ae0a rb62c2da 120 120 PID(0), Status(0), M1(-1), M2(-1), D1(-1), D2(-1), 121 121 Charge(0), Mass(0.0), 122 IsPU(0), Is Constituent(0),122 IsPU(0), IsRecoPU(0), IsConstituent(0), 123 123 BTag(0), TauTag(0), Eem(0.0), Ehad(0.0), 124 124 DeltaEta(0.0), DeltaPhi(0.0), … … 133 133 MeanSqDeltaR(0), 134 134 PTD(0), 135 IsolationVar(-999), 136 IsolationVarRhoCorr(-999), 137 SumPtCharged(-999), 138 SumPtNeutral(-999), 139 SumPtChargedPU(-999), 140 SumPt(-999), 135 141 fFactory(0), 136 142 fArray(0) … … 249 255 object.MeanSqDeltaR = MeanSqDeltaR; 250 256 object.PTD = PTD; 257 258 object.IsolationVar = IsolationVar; 259 object.IsolationVarRhoCorr = IsolationVarRhoCorr; 260 object.SumPtCharged = SumPtCharged; 261 object.SumPtNeutral = SumPtNeutral; 262 object.SumPtChargedPU = SumPtChargedPU; 263 object.SumPt = SumPt; 264 251 265 object.FracPt[0] = FracPt[0]; 252 266 object.FracPt[1] = FracPt[1]; … … 311 325 MeanSqDeltaR = 0.0; 312 326 PTD = 0.0; 327 328 IsolationVar = -999; 329 IsolationVarRhoCorr = -999; 330 SumPtCharged = -999; 331 SumPtNeutral = -999; 332 SumPtChargedPU = -999; 333 SumPt = -999; 334 313 335 FracPt[0] = 0.0; 314 336 FracPt[1] = 0.0; -
classes/DelphesClasses.h
r7f9ae0a rb62c2da 231 231 TRefArray Particles; // references to generated particles 232 232 233 // Isolation variables 234 235 Float_t IsolationVar; 236 Float_t IsolationVarRhoCorr; 237 Float_t SumPtCharged; 238 Float_t SumPtNeutral; 239 Float_t SumPtChargedPU; 240 Float_t SumPt; 241 233 242 static CompBase *fgCompare; //! 234 243 const CompBase *GetCompare() const { return fgCompare; } … … 257 266 TRef Particle; // reference to generated particle 258 267 268 // Isolation variables 269 270 Float_t IsolationVar; 271 Float_t IsolationVarRhoCorr; 272 Float_t SumPtCharged; 273 Float_t SumPtNeutral; 274 Float_t SumPtChargedPU; 275 Float_t SumPt; 276 259 277 static CompBase *fgCompare; //! 260 278 const CompBase *GetCompare() const { return fgCompare; } … … 280 298 281 299 TRef Particle; // reference to generated particle 300 301 // Isolation variables 302 303 Float_t IsolationVar; 304 Float_t IsolationVarRhoCorr; 305 Float_t SumPtCharged; 306 Float_t SumPtNeutral; 307 Float_t SumPtChargedPU; 308 Float_t SumPt; 282 309 283 310 static CompBase *fgCompare; //! … … 452 479 453 480 Int_t IsPU; 481 Int_t IsRecoPU; 482 454 483 Int_t IsConstituent; 455 484 … … 482 511 Float_t FracPt[5]; 483 512 513 // Isolation variables 514 515 Float_t IsolationVar; 516 Float_t IsolationVarRhoCorr; 517 Float_t SumPtCharged; 518 Float_t SumPtNeutral; 519 Float_t SumPtChargedPU; 520 Float_t SumPt; 521 484 522 // N-subjettiness variables 485 523 -
modules/Isolation.cc
r7f9ae0a rb62c2da 234 234 ratioRhoCorr = sumRhoCorr/candidateMomentum.Pt(); 235 235 236 candidate->IsolationVar DBeta= ratioDBeta;236 candidate->IsolationVar = ratioDBeta; 237 237 candidate->IsolationVarRhoCorr = ratioRhoCorr; 238 candidate-> chargedEnergy = sumChargedHadron;239 candidate-> neutralEnergy= sumNeutral;240 candidate-> chargedPUEnergy= sumChargedPU;241 candidate-> allParticleEnergy= sumAllParticles;238 candidate->SumPtCharged = sumCharged; 239 candidate->SumPtNeutral = sumNeutral; 240 candidate->SumPtChargedPU = sumChargedPU; 241 candidate->SumPt = sumAllParticles; 242 242 243 243 if((fUsePTSum && sumDBeta > fPTSumMax) || ratioDBeta > fPTRatioMax) continue; -
modules/TrackPileUpSubtractor.cc
r7f9ae0a rb62c2da 148 148 // assume perfect pile-up subtraction for tracks outside fZVertexResolution 149 149 150 if(candidate->IsPU && TMath::Abs(z- PVZ) > fZVertexResolution) candidate->IsRecoPU = 1;150 if(candidate->IsPU && TMath::Abs(z-zvtx) > fZVertexResolution) candidate->IsRecoPU = 1; 151 151 else 152 152 {
Note:
See TracChangeset
for help on using the changeset viewer.