ROOT logo
HYDRA - THE HADES ANALYSIS PACKAGE » UTIL » HVirtualCand

class HVirtualCand: public TLorentzVector

_HADES_CLASS_DESCRIPTION



 HVirtualCand

 Virtual class for Candidates



Function Members (Methods)

public:
HVirtualCand()
HVirtualCand(const HVirtualCand&)
virtual~HVirtualCand()
voidTObject::AbstractMethod(const char* method) const
Double_tTLorentzVector::Angle(const TVector3& v) const
virtual voidTObject::AppendPad(Option_t* option = "")
Double_tTLorentzVector::Beta() const
voidTLorentzVector::Boost(const TVector3& b)
voidTLorentzVector::Boost(Double_t, Double_t, Double_t)
TVector3TLorentzVector::BoostVector() const
virtual voidTObject::Browse(TBrowser* b)
voidcalc4vectorProperties(Double_t mass = 0.51099892)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
Double_tTLorentzVector::CosTheta() const
virtual voidTObject::Delete(Option_t* option = "")MENU
Double_tTLorentzVector::DeltaPhi(const TLorentzVector& v) const
Double_tTLorentzVector::DeltaR(const TLorentzVector& v) const
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
Double_tTLorentzVector::Dot(const TLorentzVector& q) const
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
Double_tTLorentzVector::DrEtaPhi(const TLorentzVector& v) const
virtual voidTObject::Dump() constMENU
Double_tTLorentzVector::E() const
Double_tTLorentzVector::Energy() const
virtual voidTObject::Error(const char* method, const char* msgfmt) const
Double_tTLorentzVector::Et() const
Double_tTLorentzVector::Et(const TVector3& v) const
Double_tTLorentzVector::Et2() const
Double_tTLorentzVector::Et2(const TVector3& v) const
Double_tTLorentzVector::Eta() const
TVector2TLorentzVector::EtaPhiVector()
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Double_tTLorentzVector::Gamma() const
Float_tgetBeta() const
Short_tgetCharge() const
Float_tgetChi2() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
Float_tgetMass() const
Float_tgetMass2() const
Float_tgetMomentum() const
Float_tgetMomentumPID(Int_t pid)
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Float_tgetPhi() const
Float_tgetPhi2() const
Float_tgetR() const
Float_tgetR2() const
Float_tgetTheta() const
Float_tgetTheta2() const
virtual const char*TObject::GetTitle() const
Short_tgetTofRec() const
virtual UInt_tTObject::GetUniqueID() const
voidTLorentzVector::GetXYZT(Double_t* carray) const
voidTLorentzVector::GetXYZT(Float_t* carray) const
Float_tgetZ() const
Float_tgetZ2() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
Double_tTLorentzVector::M() const
Double_tTLorentzVector::M2() const
Double_tTLorentzVector::Mag() const
Double_tTLorentzVector::Mag2() const
voidTObject::MayNotUse(const char* method) const
Double_tTLorentzVector::Minus() const
Double_tTLorentzVector::Mt() const
Double_tTLorentzVector::Mt2() const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
Bool_tTLorentzVector::operator!=(const TLorentzVector& q) const
Double_tTLorentzVector::operator()(int i) const
Double_t&TLorentzVector::operator()(int i)
TLorentzVectorTLorentzVector::operator*(Double_t a) const
Double_tTLorentzVector::operator*(const TLorentzVector& q) const
TLorentzVector&TLorentzVector::operator*=(Double_t a)
TLorentzVector&TLorentzVector::operator*=(const TRotation& m)
TLorentzVector&TLorentzVector::operator*=(const TLorentzRotation&)
TLorentzVectorTLorentzVector::operator+(const TLorentzVector& q) const
TLorentzVector&TLorentzVector::operator+=(const TLorentzVector& q)
TLorentzVectorTLorentzVector::operator-() const
TLorentzVectorTLorentzVector::operator-(const TLorentzVector& q) const
TLorentzVector&TLorentzVector::operator-=(const TLorentzVector& q)
HVirtualCand&operator=(const HVirtualCand&)
Bool_tTLorentzVector::operator==(const TLorentzVector& q) const
Double_tTLorentzVector::operator[](int i) const
Double_t&TLorentzVector::operator[](int i)
Double_tTLorentzVector::P() const
virtual voidTObject::Paint(Option_t* option = "")
Double_tTLorentzVector::Perp() const
Double_tTLorentzVector::Perp(const TVector3& v) const
Double_tTLorentzVector::Perp2() const
Double_tTLorentzVector::Perp2(const TVector3& v) const
Double_tTLorentzVector::Phi() const
Double_tTLorentzVector::Plus() const
virtual voidTObject::Pop()
virtual voidprint(UInt_t selection = 31)
virtual voidTLorentzVector::Print(Option_t* option = "") const
Double_tTLorentzVector::PseudoRapidity() const
Double_tTLorentzVector::Pt() const
Double_tTLorentzVector::Pt(const TVector3& v) const
Double_tTLorentzVector::Px() const
Double_tTLorentzVector::Py() const
Double_tTLorentzVector::Pz() const
Double_tTLorentzVector::Rapidity() const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
Double_tTLorentzVector::Rho() const
voidTLorentzVector::Rotate(Double_t a, const TVector3& v)
voidTLorentzVector::RotateUz(TVector3& newUzVector)
voidTLorentzVector::RotateX(Double_t angle)
voidTLorentzVector::RotateY(Double_t angle)
voidTLorentzVector::RotateZ(Double_t angle)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidsetBeta(Float_t b)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidsetCharge(Short_t c)
voidsetChi2(Float_t c)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidTLorentzVector::SetE(Double_t a)
voidsetMass2(Float_t m)
voidsetMomentum(Float_t m)
static voidTObject::SetObjectStat(Bool_t stat)
voidTLorentzVector::SetPerp(Double_t r)
voidsetPhi(Float_t p)
voidTLorentzVector::SetPhi(Double_t phi)
voidsetPhi2(Float_t p)
voidTLorentzVector::SetPtEtaPhiE(Double_t pt, Double_t eta, Double_t phi, Double_t e)
voidTLorentzVector::SetPtEtaPhiM(Double_t pt, Double_t eta, Double_t phi, Double_t m)
voidTLorentzVector::SetPx(Double_t a)
voidTLorentzVector::SetPxPyPzE(Double_t px, Double_t py, Double_t pz, Double_t e)
voidTLorentzVector::SetPy(Double_t a)
voidTLorentzVector::SetPz(Double_t a)
voidsetR(Float_t r)
voidsetR2(Float_t r)
voidTLorentzVector::SetRho(Double_t rho)
voidTLorentzVector::SetT(Double_t a)
voidsetTheta(Float_t t)
voidTLorentzVector::SetTheta(Double_t th)
voidsetTheta2(Float_t t)
voidsetTofRec(Short_t tr)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidTLorentzVector::SetVect(const TVector3& p)
voidTLorentzVector::SetVectM(const TVector3& spatial, Double_t mass)
voidTLorentzVector::SetVectMag(const TVector3& spatial, Double_t magnitude)
voidTLorentzVector::SetX(Double_t a)
voidTLorentzVector::SetXYZM(Double_t x, Double_t y, Double_t z, Double_t m)
voidTLorentzVector::SetXYZT(Double_t x, Double_t y, Double_t z, Double_t t)
voidTLorentzVector::SetY(Double_t a)
voidsetZ(Float_t z)
voidTLorentzVector::SetZ(Double_t a)
voidsetZ2(Float_t z)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Double_tTLorentzVector::T() const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
Double_tTLorentzVector::Theta() const
TLorentzVector&TLorentzVector::Transform(const TRotation& m)
TLorentzVector&TLorentzVector::Transform(const TLorentzRotation&)
virtual voidTObject::UseCurrentStyle()
TVector3TLorentzVector::Vect() const
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
Double_tTLorentzVector::X() const
Double_tTLorentzVector::Y() const
Double_tTLorentzVector::Z() const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

protected:
floatfBetaparticle's beta
Short_tfChargeparticle's charge (+1,-1) (1bit) 0-1
floatfChi2tracking chi^2 (1e6 == tracking failed)
floatfMass2particle's mass^2 [MeV^2]
floatfMomentumparticle's momentum [MeV]
floatfPhitrack's phi in cave coordinates (0..360 deg)
floatfPhi2out segment : track's phi in cave coordinates (0..360 deg)
floatfRdistance of closest point to beamline [mm]
floatfR2out segment :distance of closest point to beamline [mm]
floatfThetatrack's theta in cave coordinates (0..90 deg)
floatfTheta2out segment :track's theta in cave coordinates (0..90 deg)
Short_tfTofRec0 -> time-of-flight reconstruction was not succesfull, (2bit) 0-3
floatfZz coordinate of closest point to beamline [mm]
floatfZ2out segment :z coordinate of closest point to beamline [mm]

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

~HVirtualCand()
{}
void print(UInt_t selection = 31)
Float_t getMomentumPID(Int_t pid)
 returns the momentum of the candidate taking
 into account the charge of the provided PID  ( mom*charge)
 In the track reconstruction by default all
 momenta are recontructed using charge = 1
void Streamer(TBuffer& )
 Stream an object of class HVirtualCand.
HVirtualCand()
void setBeta(Float_t b)
{ fBeta = b; }
void setMomentum(Float_t m)
{ fMomentum = m; }
void setMass2(Float_t m)
{ fMass2 = m; }
void setCharge(Short_t c)
{ fCharge = c; }
void setTofRec(Short_t tr)
{ fTofRec = tr; }
void setPhi(Float_t p)
{ fPhi = p; }
void setTheta(Float_t t)
{ fTheta = t; }
void setR(Float_t r)
{ fR = r; }
void setZ(Float_t z)
{ fZ = z; }
void setChi2(Float_t c)
{ fChi2 = c; }
void setPhi2(Float_t p)
{ fPhi2 = p; }
void setTheta2(Float_t t)
{ fTheta2 = t; }
void setR2(Float_t r)
{ fR2 = r; }
void setZ2(Float_t z)
{ fZ2 = z; }
Float_t getBeta() const
{ return fBeta; }
Float_t getMomentum() const
{ return fMomentum; }
Float_t getMass2() const
{ return fMass2; }
Float_t getMass() const
{ return fMass2 == -1 ? -1 : ( fMass2 < 0 ? TMath::Sqrt(-fMass2) : TMath::Sqrt(fMass2) ) ; }
Short_t getCharge() const
{ return fCharge; }
Short_t getTofRec() const
{ return fTofRec; }
Float_t getPhi() const
{ return fPhi; }
Float_t getTheta() const
{ return fTheta; }
Float_t getR() const
{ return fR; }
Float_t getZ() const
{ return fZ; }
Float_t getChi2() const
{ return fChi2; }
Float_t getPhi2() const
{ return fPhi2; }
Float_t getTheta2() const
{ return fTheta2; }
Float_t getR2() const
{ return fR2; }
Float_t getZ2() const
{ return fZ2; }
void calc4vectorProperties(Double_t mass = 0.51099892)
 first, transform from spherical to cartesian coordinates