#ifndef HDILEPTON_H
#define HDILEPTON_H
class HParticle;
#include "TLorentzVector.h"
class HDilepton: public TLorentzVector {
public:
HDilepton(Double_t px = 0., Double_t py = 0., Double_t pz = 0., Double_t m=0.);
HDilepton(HParticle *p1, HParticle *p2);
HDilepton(const HDilepton &);
HDilepton(const HDilepton *);
virtual ~HDilepton() {}
void setInvMass(Float_t sInvMass=0) {invMass = sInvMass;}
Int_t getCharge() const {return charge;}
void setCharge(Int_t sCharge=0) {charge = sCharge;}
Int_t getPart1Id() const {return part1Id;}
void setPart1Id(Int_t sPart1Id=0) {part1Id = sPart1Id;}
Int_t getPart2Id() const {return part2Id;}
void setPart2Id(Int_t sPart2Id=0) {part2Id = sPart2Id;}
Float_t getOpeningAngle() const {return openingAngle;}
void setPart1(HParticle *p);
HParticle* getPart1() const {return part1;}
void setPart2(HParticle *p);
HParticle* getPart2() const {return part2;}
TLorentzVector Vect4() const { return TLorentzVector(Vect(),E()); }
void setVect4(const TLorentzVector &v) {SetPxPyPzE(v[0],v[1],v[2],v[3]);}
HDilepton & operator = ( const HDilepton &);
protected:
HParticle *part1;
HParticle *part2;
Int_t part1Id;
Int_t part2Id;
Float_t invMass;
Float_t openingAngle;
Int_t charge;
ClassDef(HDilepton,1)
};
#endif /* !HDILEPTON_H */
Last change: Sat May 22 12:54:46 2010
Last generated: 2010-05-22 12:54
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.