Fork me on GitHub

Changeset 839deb7 in git for classes


Ignore:
Timestamp:
Jun 29, 2015, 10:27:47 PM (9 years ago)
Author:
Pavel Demin <pavel.demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
c1ce3fe
Parents:
5d2481f
Message:

fix variable names and formatting

Location:
classes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • classes/DelphesClasses.cc

    r5d2481f r839deb7  
    131131  NCharged(0),
    132132  NNeutrals(0),
    133   NSubJetsTrimmed(0),
    134   NSubJetsPruned(0),
    135   NSubJetsSoftDropped(0),
    136133  Beta(0),
    137134  BetaStar(0),
    138135  MeanSqDeltaR(0),
    139136  PTD(0),
    140   Ntimes(-1),
     137  NTimeHits(-1),
    141138  IsolationVar(-999),
    142139  IsolationVarRhoCorr(-999),
     
    145142  SumPtChargedPU(-999),
    146143  SumPt(-999),
     144  NSubJetsTrimmed(0),
     145  NSubJetsPruned(0),
     146  NSubJetsSoftDropped(0),
    147147  fFactory(0),
    148148  fArray(0)
     
    274274  object.MeanSqDeltaR = MeanSqDeltaR;
    275275  object.PTD = PTD;
    276   object.Ntimes = Ntimes;
     276  object.NTimeHits = NTimeHits;
    277277  object.IsolationVar = IsolationVar;
    278278  object.IsolationVarRhoCorr = IsolationVarRhoCorr;
     
    292292  object.Tau[3] = Tau[3];
    293293  object.Tau[4] = Tau[4];
    294  
     294
    295295  object.TrimmedP4[0] = TrimmedP4[0];
    296296  object.TrimmedP4[1] = TrimmedP4[1];
     
    316316  object.fArray = 0;
    317317
    318   // Copy cluster timing info
    319   copy(Ecal_E_t.begin(),Ecal_E_t.end(),back_inserter(object.Ecal_E_t));
     318  // copy cluster timing info
     319  copy(ECalEnergyTimePairs.begin(), ECalEnergyTimePairs.end(), back_inserter(object.ECalEnergyTimePairs));
    320320
    321321  if(fArray && fArray->GetEntriesFast() > 0)
     
    374374  MeanSqDeltaR = 0.0;
    375375  PTD = 0.0;
    376  
    377   Ntimes = 0;
    378   Ecal_E_t.clear();
    379  
     376
     377  NTimeHits = 0;
     378  ECalEnergyTimePairs.clear();
     379
    380380  IsolationVar = -999;
    381381  IsolationVarRhoCorr = -999;
     
    384384  SumPtChargedPU = -999;
    385385  SumPt = -999;
    386  
     386
    387387  FracPt[0] = 0.0;
    388388  FracPt[1] = 0.0;
     
    395395  Tau[3] = 0.0;
    396396  Tau[4] = 0.0;
    397  
     397
    398398  for(i = 0; i < 5; ++i)
    399399  {
    400400    TrimmedP4[i].SetXYZT(0.0, 0.0, 0.0, 0.0);
    401     PrunedP4[i].SetXYZT(0.0, 0.0, 0.0, 0.0); 
     401    PrunedP4[i].SetXYZT(0.0, 0.0, 0.0, 0.0);
    402402    SoftDroppedP4[i].SetXYZT(0.0, 0.0, 0.0, 0.0);
    403403  }
     
    406406  NSubJetsPruned = 0;
    407407  NSubJetsSoftDropped = 0;
    408  
     408
    409409  fArray = 0;
    410410}
  • classes/DelphesClasses.h

    r5d2481f r839deb7  
    443443
    444444  Float_t T; // ecal deposit time, averaged by sqrt(EM energy) over all particles, not smeared
    445   Int_t   Ntimes; // number of hits contributing to time measurement
     445  Int_t NTimeHits; // number of hits contributing to time measurement
    446446
    447447  Float_t Eem; // calorimeter tower electromagnetic energy
     
    506506
    507507  Int_t IsConstituent;
    508  
     508
    509509  Int_t IsFromConversion;
    510  
     510
    511511  UInt_t Flavor;
    512512  UInt_t FlavorAlgo;
     
    528528  TLorentzVector Momentum, Position, Area;
    529529
    530   Float_t  Dxy;
    531   Float_t  SDxy;
    532   Float_t  Xd;
    533   Float_t  Yd;
    534   Float_t  Zd;
     530  Float_t Dxy;
     531  Float_t SDxy;
     532  Float_t Xd;
     533  Float_t Yd;
     534  Float_t Zd;
    535535
    536536  // PileUpJetID variables
    537537
    538   Int_t    NCharged;
    539   Int_t    NNeutrals;
    540   Float_t  Beta;
    541   Float_t  BetaStar;
    542   Float_t  MeanSqDeltaR;
    543   Float_t  PTD;
    544   Float_t  FracPt[5];
    545 
    546   //Timing information
    547 
    548   Int_t    Ntimes;
    549   std::vector<std::pair<Float_t,Float_t> > Ecal_E_t;
     538  Int_t NCharged;
     539  Int_t NNeutrals;
     540  Float_t Beta;
     541  Float_t BetaStar;
     542  Float_t MeanSqDeltaR;
     543  Float_t PTD;
     544  Float_t FracPt[5];
     545
     546  // Timing information
     547
     548  Int_t NTimeHits;
     549  std::vector< std::pair< Float_t, Float_t > > ECalEnergyTimePairs;
    550550
    551551  // Isolation variables
Note: See TracChangeset for help on using the changeset viewer.