Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

XANAMuonCandidate Class Reference

#include <XANAMuonCandidate.h>

List of all members.

Public Methods

 XANAMuonCandidate ()
 XANAMuonCandidate (Short_t charge, HepLorentzVector momentum, Float_t pt, std::string algoName)
 construct from data. More...

virtual ~XANAMuonCandidate ()
HepLorentzVector getMomentumAtVertex () const
Float_t getPt () const
Float_t getEta () const
Float_t getPhi () const
Short_t getCharge () const
std::string getAlgoName () const
char * getCharAlgoName () const
void setMomentumAtVertex (HepLorentzVector momentum)
void setCharge (Short_t q)
void setAlgoName (std::string algoName)
 XANAMuonCandidate (const XANAMuonCandidate &right)
const XANAMuonCandidate & operator= (const XANAMuonCandidate &right)
bool operator== (const XANAMuonCandidate &) const
bool operator< (const XANAMuonCandidate &) const
void setMuonTrack (XANAMuonTrack *track)
XANAMuonTrackgetMuonTrack () const
Bool_t IsUsed () const
 tells if this object is linked as constituent of higher level object. More...


Protected Attributes

Short_t charge_
 muon charge. More...

HepLorentzVector momentum_
 muon 4-momentum at vertex. More...

TRef track_
 muon track. More...

Int_t algoLen_
 identifies which algo was used. More...

char * algoName_

Private Methods

void lock ()
void unlock ()

Private Attributes

Bool_t locked_

Static Private Attributes

const Int_t strLen_


Constructor & Destructor Documentation

XANAMuonCandidate::XANAMuonCandidate  
 

XANAMuonCandidate::XANAMuonCandidate Short_t    charge,
HepLorentzVector    momentum,
Float_t    pt,
std::string    algoName
 

construct from data.

virtual XANAMuonCandidate::~XANAMuonCandidate   [virtual]
 

XANAMuonCandidate::XANAMuonCandidate const XANAMuonCandidate &    right
 


Member Function Documentation

std::string XANAMuonCandidate::getAlgoName   const [inline]
 

Definition at line 43 of file XANAMuonCandidate.h.

References algoName_.

00043 {return algoName_;}

char* XANAMuonCandidate::getCharAlgoName   const [inline]
 

Definition at line 44 of file XANAMuonCandidate.h.

References algoName_.

00044 {return algoName_;}

Short_t XANAMuonCandidate::getCharge   const [inline]
 

Definition at line 40 of file XANAMuonCandidate.h.

References charge_.

00040 {return charge_;}

Float_t XANAMuonCandidate::getEta   const [inline]
 

Definition at line 38 of file XANAMuonCandidate.h.

References momentum_.

00038 {return momentum_.rapidity();}

HepLorentzVector XANAMuonCandidate::getMomentumAtVertex   const [inline]
 

Definition at line 36 of file XANAMuonCandidate.h.

References momentum_.

00036 {return momentum_;}

XANAMuonTrack* XANAMuonCandidate::getMuonTrack   const [inline]
 

Definition at line 63 of file XANAMuonCandidate.h.

References track_.

00063 {return (XANAMuonTrack *)(track_.GetObject());}

Float_t XANAMuonCandidate::getPhi   const [inline]
 

Definition at line 39 of file XANAMuonCandidate.h.

References momentum_.

00039 {return momentum_.phi();}

Float_t XANAMuonCandidate::getPt   const [inline]
 

Definition at line 37 of file XANAMuonCandidate.h.

References momentum_.

00037 {return momentum_.perp();}

Bool_t XANAMuonCandidate::IsUsed   const [inline]
 

tells if this object is linked as constituent of higher level object.

Definition at line 66 of file XANAMuonCandidate.h.

References locked_.

00066 {return locked_;}

void XANAMuonCandidate::lock   [inline, private]
 

Definition at line 85 of file XANAMuonCandidate.h.

References locked_.

00085 {locked_ = true;}

bool XANAMuonCandidate::operator< const XANAMuonCandidate &    const
 

const XANAMuonCandidate& XANAMuonCandidate::operator= const XANAMuonCandidate &    right
 

bool XANAMuonCandidate::operator== const XANAMuonCandidate &    const
 

void XANAMuonCandidate::setAlgoName std::string    algoName [inline]
 

Definition at line 49 of file XANAMuonCandidate.h.

References algoName_.

00049 {sprintf(algoName_,algoName.c_str());}

void XANAMuonCandidate::setCharge Short_t    q [inline]
 

Definition at line 48 of file XANAMuonCandidate.h.

References charge_.

Referenced by MuonObserver::upDate.

00048 {charge_=q;}

void XANAMuonCandidate::setMomentumAtVertex HepLorentzVector    momentum [inline]
 

Definition at line 47 of file XANAMuonCandidate.h.

References momentum_.

00047 {momentum_=momentum;}

void XANAMuonCandidate::setMuonTrack XANAMuonTrack   track
 

Referenced by MuonObserver::upDate.

void XANAMuonCandidate::unlock   [inline, private]
 

Definition at line 86 of file XANAMuonCandidate.h.

References locked_.

00086 { locked_ = false;}


Member Data Documentation

Int_t XANAMuonCandidate::algoLen_ [protected]
 

identifies which algo was used.

Definition at line 77 of file XANAMuonCandidate.h.

char* XANAMuonCandidate::algoName_ [protected]
 

Definition at line 78 of file XANAMuonCandidate.h.

Referenced by getAlgoName, getCharAlgoName, and setAlgoName.

Short_t XANAMuonCandidate::charge_ [protected]
 

muon charge.

Definition at line 71 of file XANAMuonCandidate.h.

Referenced by getCharge, and setCharge.

Bool_t XANAMuonCandidate::locked_ [private]
 

Definition at line 84 of file XANAMuonCandidate.h.

Referenced by IsUsed, lock, and unlock.

HepLorentzVector XANAMuonCandidate::momentum_ [protected]
 

muon 4-momentum at vertex.

Definition at line 73 of file XANAMuonCandidate.h.

Referenced by getEta, getMomentumAtVertex, getPhi, getPt, and setMomentumAtVertex.

const Int_t XANAMuonCandidate::strLen_ [static, private]
 

Definition at line 83 of file XANAMuonCandidate.h.

TRef XANAMuonCandidate::track_ [protected]
 

muon track.

Definition at line 75 of file XANAMuonCandidate.h.

Referenced by getMuonTrack.


The documentation for this class was generated from the following file:
Generated on Tue May 10 10:01:38 2005 for XANADOO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002