Fork me on GitHub

Changeset 3db5282 in git for classes


Ignore:
Timestamp:
Jan 27, 2015, 5:32:59 PM (10 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
2862770
Parents:
2d494a6
Message:

included timing information in Calorimeter

Location:
classes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • classes/DelphesClasses.cc

    r2d494a6 r3db5282  
    133133  MeanSqDeltaR(0),
    134134  PTD(0),
     135  Ntimes(-1),
    135136  IsolationVar(-999),
    136137  IsolationVarRhoCorr(-999),
     
    255256  object.MeanSqDeltaR = MeanSqDeltaR;
    256257  object.PTD = PTD;
    257  
     258  object.Ntimes = Ntimes;
    258259  object.IsolationVar = IsolationVar;
    259260  object.IsolationVarRhoCorr = IsolationVarRhoCorr;
     
    276277  object.fFactory = fFactory;
    277278  object.fArray = 0;
     279
     280
     281  // Copy cluster timing info
     282  copy(Ecal_E_t.begin(),Ecal_E_t.end(),back_inserter(object.Ecal_E_t));
    278283
    279284  if(fArray && fArray->GetEntriesFast() > 0)
     
    326331  PTD = 0.0;
    327332 
     333  Ntimes = 0;
     334  Ecal_E_t.clear();
     335 
    328336  IsolationVar = -999;
    329337  IsolationVarRhoCorr = -999;
  • classes/DelphesClasses.h

    r2d494a6 r3db5282  
    419419  Float_t E; // calorimeter tower energy
    420420
    421   Float_t T; //particle arrival time of flight
    422 
     421  Float_t T; // ecal deposit time, averaged by sqrt(EM energy) over all particles, not smeared
     422  Int_t   Ntimes; // number of hits contributing to time measurement
     423 
    423424  Float_t Eem; // calorimeter tower electromagnetic energy
    424425  Float_t Ehad; // calorimeter tower hadronic energy
     
    510511  Float_t  PTD;
    511512  Float_t  FracPt[5];
     513 
     514  //Timing information
     515 
     516  Int_t    Ntimes;
     517  std::vector<std::pair<Float_t,Float_t> > Ecal_E_t;
    512518
    513519  // Isolation variables
     
    523529
    524530  Float_t Tau[5];
     531 
     532 
     533 
    525534
    526535  static CompBase *fgCompare; //!
Note: See TracChangeset for help on using the changeset viewer.