Changeset 28027d5 in git for classes/DelphesClasses.cc
- Timestamp:
- Jun 26, 2015, 3:13:55 PM (9 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- f3c4047
- Parents:
- f53a4d2 (diff), fe0273c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
classes/DelphesClasses.cc
rf53a4d2 r28027d5 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 Flavor(0), FlavorAlgo(0), FlavorPhys(0), 124 BTag(0), BTagAlgo(0), BTagPhys(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 … … 224 243 object.IsPU = IsPU; 225 244 object.IsConstituent = IsConstituent; 245 object.Flavor = Flavor; 246 object.FlavorAlgo = FlavorAlgo; 247 object.FlavorPhys = FlavorPhys; 226 248 object.BTag = BTag; 249 object.BTagAlgo = BTagAlgo; 250 object.BTagPhys = BTagPhys; 227 251 object.TauTag = TauTag; 228 252 object.Eem = Eem; … … 249 273 object.MeanSqDeltaR = MeanSqDeltaR; 250 274 object.PTD = PTD; 275 object.Ntimes = Ntimes; 276 object.IsolationVar = IsolationVar; 277 object.IsolationVarRhoCorr = IsolationVarRhoCorr; 278 object.SumPtCharged = SumPtCharged; 279 object.SumPtNeutral = SumPtNeutral; 280 object.SumPtChargedPU = SumPtChargedPU; 281 object.SumPt = SumPt; 282 251 283 object.FracPt[0] = FracPt[0]; 252 284 object.FracPt[1] = FracPt[1]; … … 259 291 object.Tau[3] = Tau[3]; 260 292 object.Tau[4] = Tau[4]; 293 294 object.TrimmedP4[0] = TrimmedP4[0]; 295 object.TrimmedP4[1] = TrimmedP4[1]; 296 object.TrimmedP4[2] = TrimmedP4[2]; 297 object.TrimmedP4[3] = TrimmedP4[3]; 298 object.TrimmedP4[4] = TrimmedP4[4]; 299 object.PrunedP4[0] = PrunedP4[0]; 300 object.PrunedP4[1] = PrunedP4[1]; 301 object.PrunedP4[2] = PrunedP4[2]; 302 object.PrunedP4[3] = PrunedP4[3]; 303 object.PrunedP4[4] = PrunedP4[4]; 304 object.SoftDroppedP4[0] = SoftDroppedP4[0]; 305 object.SoftDroppedP4[1] = SoftDroppedP4[1]; 306 object.SoftDroppedP4[2] = SoftDroppedP4[2]; 307 object.SoftDroppedP4[3] = SoftDroppedP4[3]; 308 object.SoftDroppedP4[4] = SoftDroppedP4[4]; 309 310 object.NSubJetsTrimmed = NSubJetsTrimmed; 311 object.NSubJetsPruned = NSubJetsPruned; 312 object.NSubJetsSoftDropped = NSubJetsSoftDropped; 261 313 262 314 object.fFactory = fFactory; 263 315 object.fArray = 0; 316 317 // Copy cluster timing info 318 copy(Ecal_E_t.begin(),Ecal_E_t.end(),back_inserter(object.Ecal_E_t)); 264 319 265 320 if(fArray && fArray->GetEntriesFast() > 0) … … 278 333 void Candidate::Clear(Option_t* option) 279 334 { 335 int i; 280 336 SetUniqueID(0); 281 337 ResetBit(kIsReferenced); … … 287 343 IsPU = 0; 288 344 IsConstituent = 0; 345 Flavor = 0; 346 FlavorAlgo = 0; 347 FlavorPhys = 0; 289 348 BTag = 0; 349 BTagAlgo = 0; 350 BTagPhys = 0; 290 351 TauTag = 0; 291 352 Eem = 0.0; … … 311 372 MeanSqDeltaR = 0.0; 312 373 PTD = 0.0; 374 375 Ntimes = 0; 376 Ecal_E_t.clear(); 377 378 IsolationVar = -999; 379 IsolationVarRhoCorr = -999; 380 SumPtCharged = -999; 381 SumPtNeutral = -999; 382 SumPtChargedPU = -999; 383 SumPt = -999; 384 313 385 FracPt[0] = 0.0; 314 386 FracPt[1] = 0.0; … … 321 393 Tau[3] = 0.0; 322 394 Tau[4] = 0.0; 323 395 396 for(i = 0; i < 5; ++i) 397 { 398 TrimmedP4[i].SetXYZT(0.0, 0.0, 0.0, 0.0); 399 PrunedP4[i].SetXYZT(0.0, 0.0, 0.0, 0.0); 400 SoftDroppedP4[i].SetXYZT(0.0, 0.0, 0.0, 0.0); 401 } 402 403 NSubJetsTrimmed = 0; 404 NSubJetsPruned = 0; 405 NSubJetsSoftDropped = 0; 406 324 407 fArray = 0; 325 408 }
Note:
See TracChangeset
for help on using the changeset viewer.