Changes in classes/DelphesClasses.cc [2b3ef28:edf10ba] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
classes/DelphesClasses.cc
r2b3ef28 redf10ba 120 120 PID(0), Status(0), M1(-1), M2(-1), D1(-1), D2(-1), 121 121 Charge(0), Mass(0.0), 122 IsPU(0), IsConstituent(0), 123 BTag(0), TauTag(0), Eem(0.0), Ehad(0.0), 122 IsPU(0), IsRecoPU(0), IsConstituent(0), 123 BTag(0), BTagAlgo(0), BTagDefault(0), BTagPhysics(0), BTagNearest2(0), BTagNearest3(0), BTagHeaviest(0), BTagHighestPt(0), 124 FlavorAlgo(0), FlavorDefault(0), FlavorPhysics(0), FlavorNearest2(0), FlavorNearest3(0), FlavorHeaviest(0), FlavorHighestPt(0), 125 TauTag(0), Eem(0.0), Ehad(0.0), 124 126 DeltaEta(0.0), DeltaPhi(0.0), 125 127 Momentum(0.0, 0.0, 0.0, 0.0), … … 129 131 NCharged(0), 130 132 NNeutrals(0), 133 NSubJetsTrimmed(0), 134 NSubJetsPruned(0), 135 NSubJetsSoftDropped(0), 131 136 Beta(0), 132 137 BetaStar(0), 133 138 MeanSqDeltaR(0), 134 139 PTD(0), 140 Ntimes(-1), 141 IsolationVar(-999), 142 IsolationVarRhoCorr(-999), 143 SumPtCharged(-999), 144 SumPtNeutral(-999), 145 SumPtChargedPU(-999), 146 SumPt(-999), 135 147 fFactory(0), 136 148 fArray(0) 137 149 { 150 int i; 138 151 Edges[0] = 0.0; 139 152 Edges[1] = 0.0; … … 150 163 Tau[3] = 0.0; 151 164 Tau[4] = 0.0; 165 for(i = 0; i < 5; ++i) 166 { 167 TrimmedP4[i].SetXYZT(0.0, 0.0, 0.0, 0.0); 168 PrunedP4[i].SetXYZT(0.0, 0.0, 0.0, 0.0); 169 SoftDroppedP4[i].SetXYZT(0.0, 0.0, 0.0, 0.0); 170 } 152 171 } 153 172 … … 225 244 object.IsConstituent = IsConstituent; 226 245 object.BTag = BTag; 246 object.BTagAlgo = BTagAlgo; 247 object.BTagDefault = BTagDefault; 248 object.BTagPhysics = BTagPhysics; 249 object.BTagNearest2 = BTagNearest2; 250 object.BTagNearest3 = BTagNearest3; 251 object.BTagHeaviest = BTagHeaviest; 252 object.BTagHighestPt = BTagHighestPt; 253 object.FlavorAlgo = FlavorAlgo; 254 object.FlavorDefault = FlavorDefault; 255 object.FlavorPhysics = FlavorPhysics; 256 object.FlavorNearest2 = FlavorNearest2; 257 object.FlavorNearest3 = FlavorNearest3; 258 object.FlavorHeaviest = FlavorHeaviest; 259 object.FlavorHighestPt = FlavorHighestPt; 227 260 object.TauTag = TauTag; 228 261 object.Eem = Eem; … … 249 282 object.MeanSqDeltaR = MeanSqDeltaR; 250 283 object.PTD = PTD; 284 object.Ntimes = Ntimes; 285 object.IsolationVar = IsolationVar; 286 object.IsolationVarRhoCorr = IsolationVarRhoCorr; 287 object.SumPtCharged = SumPtCharged; 288 object.SumPtNeutral = SumPtNeutral; 289 object.SumPtChargedPU = SumPtChargedPU; 290 object.SumPt = SumPt; 291 251 292 object.FracPt[0] = FracPt[0]; 252 293 object.FracPt[1] = FracPt[1]; … … 259 300 object.Tau[3] = Tau[3]; 260 301 object.Tau[4] = Tau[4]; 302 303 object.TrimmedP4[0] = TrimmedP4[0]; 304 object.TrimmedP4[1] = TrimmedP4[1]; 305 object.TrimmedP4[2] = TrimmedP4[2]; 306 object.TrimmedP4[3] = TrimmedP4[3]; 307 object.TrimmedP4[4] = TrimmedP4[4]; 308 object.PrunedP4[0] = PrunedP4[0]; 309 object.PrunedP4[1] = PrunedP4[1]; 310 object.PrunedP4[2] = PrunedP4[2]; 311 object.PrunedP4[3] = PrunedP4[3]; 312 object.PrunedP4[4] = PrunedP4[4]; 313 object.SoftDroppedP4[0] = SoftDroppedP4[0]; 314 object.SoftDroppedP4[1] = SoftDroppedP4[1]; 315 object.SoftDroppedP4[2] = SoftDroppedP4[2]; 316 object.SoftDroppedP4[3] = SoftDroppedP4[3]; 317 object.SoftDroppedP4[4] = SoftDroppedP4[4]; 318 319 object.NSubJetsTrimmed = NSubJetsTrimmed; 320 object.NSubJetsPruned = NSubJetsPruned; 321 object.NSubJetsSoftDropped = NSubJetsSoftDropped; 261 322 262 323 object.fFactory = fFactory; 263 324 object.fArray = 0; 325 326 // Copy cluster timing info 327 copy(Ecal_E_t.begin(),Ecal_E_t.end(),back_inserter(object.Ecal_E_t)); 264 328 265 329 if(fArray && fArray->GetEntriesFast() > 0) … … 278 342 void Candidate::Clear(Option_t* option) 279 343 { 344 int i; 280 345 SetUniqueID(0); 281 346 ResetBit(kIsReferenced); … … 288 353 IsConstituent = 0; 289 354 BTag = 0; 355 BTagAlgo = 0; 356 BTagDefault = 0; 357 BTagPhysics = 0; 358 BTagNearest2 = 0; 359 BTagNearest3 = 0; 360 BTagHeaviest = 0; 361 BTagHighestPt = 0; 362 FlavorAlgo = 0; 363 FlavorDefault = 0; 364 FlavorPhysics = 0; 365 FlavorNearest2 = 0; 366 FlavorNearest3 = 0; 367 FlavorHeaviest = 0; 368 FlavorHighestPt = 0; 290 369 TauTag = 0; 291 370 Eem = 0.0; … … 311 390 MeanSqDeltaR = 0.0; 312 391 PTD = 0.0; 392 393 Ntimes = 0; 394 Ecal_E_t.clear(); 395 396 IsolationVar = -999; 397 IsolationVarRhoCorr = -999; 398 SumPtCharged = -999; 399 SumPtNeutral = -999; 400 SumPtChargedPU = -999; 401 SumPt = -999; 402 313 403 FracPt[0] = 0.0; 314 404 FracPt[1] = 0.0; … … 321 411 Tau[3] = 0.0; 322 412 Tau[4] = 0.0; 323 413 414 for(i = 0; i < 5; ++i) 415 { 416 TrimmedP4[i].SetXYZT(0.0, 0.0, 0.0, 0.0); 417 PrunedP4[i].SetXYZT(0.0, 0.0, 0.0, 0.0); 418 SoftDroppedP4[i].SetXYZT(0.0, 0.0, 0.0, 0.0); 419 } 420 421 NSubJetsTrimmed = 0; 422 NSubJetsPruned = 0; 423 NSubJetsSoftDropped = 0; 424 324 425 fArray = 0; 325 426 }
Note:
See TracChangeset
for help on using the changeset viewer.