Fork me on GitHub

Changeset 839deb7 in git for classes/DelphesClasses.cc


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

File:
1 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}
Note: See TracChangeset for help on using the changeset viewer.