Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • classes/DelphesClasses.cc

    r1a4956e r7429c6a  
    1616 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
    1717 */
     18
    1819
    1920/**
     
    121122  Charge(0), Mass(0.0),
    122123  IsPU(0), IsRecoPU(0), IsConstituent(0), IsFromConversion(0),
     124  ClusterIndex(-1), ClusterNDF(0), ClusterSigma(0), SumPT2(0), BTVSumPT2(0), GenDeltaZ(0), GenSumPT2(0),
    123125  Flavor(0), FlavorAlgo(0), FlavorPhys(0),
    124126  BTag(0), BTagAlgo(0), BTagPhys(0),
     
    127129  Momentum(0.0, 0.0, 0.0, 0.0),
    128130  Position(0.0, 0.0, 0.0, 0.0),
     131  PositionError(0.0, 0.0, 0.0, 0.0),
    129132  InitialPosition(0.0, 0.0, 0.0, 0.0),
    130   PositionError(0.0, 0.0, 0.0, 0.0),
    131133  Area(0.0, 0.0, 0.0, 0.0),
    132134  L(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),
     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), 
    140142  TrackResolution(0),
    141143  NCharged(0),
     
    152154  SumPtChargedPU(-999),
    153155  SumPt(-999),
    154   ClusterIndex(-1), ClusterNDF(0), ClusterSigma(0), SumPT2(0), BTVSumPT2(0), GenDeltaZ(0), GenSumPT2(0),
    155156  NSubJetsTrimmed(0),
    156157  NSubJetsPruned(0),
    157158  NSubJetsSoftDropped(0),
    158   ExclYmerge23(0),
    159   ExclYmerge34(0),
    160   ExclYmerge45(0),
    161   ExclYmerge56(0),
    162159  fFactory(0),
    163160  fArray(0)
     
    235232  return kFALSE;
    236233}
     234
    237235
    238236//------------------------------------------------------------------------------
     
    302300  object.PT = PT;
    303301  object.ErrorPT = ErrorPT;
    304   object.CtgTheta = CtgTheta;
     302  object.CtgTheta = CtgTheta ;
    305303  object.ErrorCtgTheta = ErrorCtgTheta;
    306304  object.Phi = Phi;
    307   object.ErrorPhi = ErrorPhi;
     305  object.ErrorPhi = ErrorPhi; 
    308306  object.Xd = Xd;
    309307  object.Yd = Yd;
     
    325323  object.ClusterIndex = ClusterIndex;
    326324  object.ClusterNDF = ClusterNDF;
    327   object.ClusterSigma = ClusterSigma;
     325  object.ClusterSigma = ClusterSigma; 
    328326  object.SumPT2 = SumPT2;
    329 
     327 
    330328  object.FracPt[0] = FracPt[0];
    331329  object.FracPt[1] = FracPt[1];
     
    359357  object.NSubJetsSoftDropped = NSubJetsSoftDropped;
    360358
    361   object.SoftDroppedJet = SoftDroppedJet;
     359  object.SoftDroppedJet =SoftDroppedJet;
    362360  object.SoftDroppedSubJet1 = SoftDroppedSubJet1;
    363361  object.SoftDroppedSubJet2 = SoftDroppedSubJet2;
     
    382380//------------------------------------------------------------------------------
    383381
    384 void Candidate::Clear(Option_t *option)
     382void Candidate::Clear(Option_t* option)
    385383{
    386384  int i;
     
    389387  PID = 0;
    390388  Status = 0;
    391   M1 = -1;
    392   M2 = -1;
    393   D1 = -1;
    394   D2 = -1;
     389  M1 = -1; M2 = -1; D1 = -1; D2 = -1;
    395390  Charge = 0;
    396391  Mass = 0.0;
     
    421416  L = 0.0;
    422417  ErrorT = 0.0;
    423   D0 = 0.0;
     418  D0 = 0.0; 
    424419  ErrorD0 = 0.0;
    425420  DZ = 0.0;
    426421  ErrorDZ = 0.0;
    427   P = 0.0;
    428   ErrorP = 0.0;
     422  P =0.0;
     423  ErrorP =0.0;
    429424  PT = 0.0;
    430425  ErrorPT = 0.0;
     
    456451  ClusterIndex = -1;
    457452  ClusterNDF = -99;
    458   ClusterSigma = 0.0;
     453  ClusterSigma = 0.0; 
    459454  SumPT2 = 0.0;
    460455  BTVSumPT2 = 0.0;
    461456  GenDeltaZ = 0.0;
    462   GenSumPT2 = 0.0;
    463 
     457  GenSumPT2 = 0.0; 
     458 
    464459  FracPt[0] = 0.0;
    465460  FracPt[1] = 0.0;
     
    477472  SoftDroppedSubJet2.SetXYZT(0.0, 0.0, 0.0, 0.0);
    478473
     474
    479475  for(i = 0; i < 5; ++i)
    480476  {
Note: See TracChangeset for help on using the changeset viewer.