Fork me on GitHub

Changeset 3c59f98 in git for classes


Ignore:
Timestamp:
Jan 11, 2022, 9:17:09 PM (3 years ago)
Author:
christinaw97 <christina.wang@…>
Children:
c6bce62
Parents:
c61b5ce
Message:

add example/ExampleCscCluster.py and remove decayPosition from GenParticle class

Location:
classes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • classes/DelphesClasses.h

    rc61b5ce r3c59f98  
    670670  const CompBase *GetCompare() const { return fgCompare; }
    671671
    672   ClassDef(CscCluster, 4)
     672  ClassDef(CscCluster, 5)
    673673};
    674674
     
    716716  Float_t DeltaPhi;
    717717
    718   TLorentzVector Momentum, Position, InitialPosition, DecayPosition, PositionError, Area;
     718  TLorentzVector Momentum, Position, InitialPosition, PositionError, DecayPosition, Area;
    719719
    720720  Float_t L; // path length
  • classes/DelphesHepMC2Reader.cc

    rc61b5ce r3c59f98  
    481481        const TLorentzVector &decayPosition = candidate->Position;
    482482        candidate->DecayPosition.SetXYZT(decayPosition.X(), decayPosition.Y(), decayPosition.Z(), decayPosition.T());// decay position
    483       }
     483     }
    484484      else
    485485      {
     
    489489        const TLorentzVector &decayPosition = candidateDaughter->Position;
    490490        candidate->DecayPosition.SetXYZT(decayPosition.X(), decayPosition.Y(), decayPosition.Z(), decayPosition.T());// decay position
    491 
    492       }
    493     }
    494   }
    495 }
    496 
    497 //---------------------------------------------------------------------------
     491       
     492
     493      }
     494    }
     495  }
     496}
     497
     498//---------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.