Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • classes/DelphesClasses.cc

    r7429c6a r1a4956e  
    1616 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
    1717 */
    18 
    1918
    2019/**
     
    122121  Charge(0), Mass(0.0),
    123122  IsPU(0), IsRecoPU(0), IsConstituent(0), IsFromConversion(0),
    124   ClusterIndex(-1), ClusterNDF(0), ClusterSigma(0), SumPT2(0), BTVSumPT2(0), GenDeltaZ(0), GenSumPT2(0),
    125123  Flavor(0), FlavorAlgo(0), FlavorPhys(0),
    126124  BTag(0), BTagAlgo(0), BTagPhys(0),
     
    129127  Momentum(0.0, 0.0, 0.0, 0.0),
    130128  Position(0.0, 0.0, 0.0, 0.0),
     129  InitialPosition(0.0, 0.0, 0.0, 0.0),
    131130  PositionError(0.0, 0.0, 0.0, 0.0),
    132   InitialPosition(0.0, 0.0, 0.0, 0.0),
    133131  Area(0.0, 0.0, 0.0, 0.0),
    134132  L(0),
    135   D0(0), ErrorD0(0), 
    136   DZ(0), ErrorDZ(0), 
    137   P(0),  ErrorP(0),
    138   PT(0), ErrorPT(0), 
    139   CtgTheta(0), ErrorCtgTheta(0), 
    140   Phi(0), ErrorPhi(0), 
    141   Xd(0), Yd(0), Zd(0), 
     133  D0(0), ErrorD0(0),
     134  DZ(0), ErrorDZ(0),
     135  P(0), ErrorP(0),
     136  PT(0), ErrorPT(0),
     137  CtgTheta(0), ErrorCtgTheta(0),
     138  Phi(0), ErrorPhi(0),
     139  Xd(0), Yd(0), Zd(0),
    142140  TrackResolution(0),
    143141  NCharged(0),
     
    154152  SumPtChargedPU(-999),
    155153  SumPt(-999),
     154  ClusterIndex(-1), ClusterNDF(0), ClusterSigma(0), SumPT2(0), BTVSumPT2(0), GenDeltaZ(0), GenSumPT2(0),
    156155  NSubJetsTrimmed(0),
    157156  NSubJetsPruned(0),
    158157  NSubJetsSoftDropped(0),
     158  ExclYmerge23(0),
     159  ExclYmerge34(0),
     160  ExclYmerge45(0),
     161  ExclYmerge56(0),
    159162  fFactory(0),
    160163  fArray(0)
     
    232235  return kFALSE;
    233236}
    234 
    235237
    236238//------------------------------------------------------------------------------
     
    300302  object.PT = PT;
    301303  object.ErrorPT = ErrorPT;
    302   object.CtgTheta = CtgTheta ;
     304  object.CtgTheta = CtgTheta;
    303305  object.ErrorCtgTheta = ErrorCtgTheta;
    304306  object.Phi = Phi;
    305   object.ErrorPhi = ErrorPhi; 
     307  object.ErrorPhi = ErrorPhi;
    306308  object.Xd = Xd;
    307309  object.Yd = Yd;
     
    323325  object.ClusterIndex = ClusterIndex;
    324326  object.ClusterNDF = ClusterNDF;
    325   object.ClusterSigma = ClusterSigma; 
     327  object.ClusterSigma = ClusterSigma;
    326328  object.SumPT2 = SumPT2;
    327  
     329
    328330  object.FracPt[0] = FracPt[0];
    329331  object.FracPt[1] = FracPt[1];
     
    357359  object.NSubJetsSoftDropped = NSubJetsSoftDropped;
    358360
    359   object.SoftDroppedJet =SoftDroppedJet;
     361  object.SoftDroppedJet = SoftDroppedJet;
    360362  object.SoftDroppedSubJet1 = SoftDroppedSubJet1;
    361363  object.SoftDroppedSubJet2 = SoftDroppedSubJet2;
     
    380382//------------------------------------------------------------------------------
    381383
    382 void Candidate::Clear(Option_t* option)
     384void Candidate::Clear(Option_t *option)
    383385{
    384386  int i;
     
    387389  PID = 0;
    388390  Status = 0;
    389   M1 = -1; M2 = -1; D1 = -1; D2 = -1;
     391  M1 = -1;
     392  M2 = -1;
     393  D1 = -1;
     394  D2 = -1;
    390395  Charge = 0;
    391396  Mass = 0.0;
     
    416421  L = 0.0;
    417422  ErrorT = 0.0;
    418   D0 = 0.0; 
     423  D0 = 0.0;
    419424  ErrorD0 = 0.0;
    420425  DZ = 0.0;
    421426  ErrorDZ = 0.0;
    422   P =0.0;
    423   ErrorP =0.0;
     427  P = 0.0;
     428  ErrorP = 0.0;
    424429  PT = 0.0;
    425430  ErrorPT = 0.0;
     
    451456  ClusterIndex = -1;
    452457  ClusterNDF = -99;
    453   ClusterSigma = 0.0; 
     458  ClusterSigma = 0.0;
    454459  SumPT2 = 0.0;
    455460  BTVSumPT2 = 0.0;
    456461  GenDeltaZ = 0.0;
    457   GenSumPT2 = 0.0; 
    458  
     462  GenSumPT2 = 0.0;
     463
    459464  FracPt[0] = 0.0;
    460465  FracPt[1] = 0.0;
     
    472477  SoftDroppedSubJet2.SetXYZT(0.0, 0.0, 0.0, 0.0);
    473478
    474 
    475479  for(i = 0; i < 5; ++i)
    476480  {
Note: See TracChangeset for help on using the changeset viewer.