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

XANACluster Class Reference

#include <XANACluster.h>

Inheritance diagram for XANACluster:

[legend]
List of all members.

Public Member Functions

 XANACluster ()
 XANACluster (Float_t energy, HepPoint3D position)
 constructor with data

 XANACluster (const XANACluster &right)
virtual ~XANACluster ()
Float_t getEnergy () const
HepPoint3D getPosition () const
Short_t getNumberOfRecHits () const
TRefArray * getEmClusterHits () const
void setEnergy (Float_t energy)
void setPosition (HepPoint3D position)
void setNumberOfRecHits (Short_t numberOfRecHits)
void addHit (XANACaloRecHit *rhit)
void clear ()
Bool_t IsUsed () const
 tells if this object is linked as constituent of higher level object

const XANAClusteroperator= (const XANACluster &right)
Bool_t operator== (const XANACluster &) const
Bool_t operator< (const XANACluster &) const

Protected Member Functions

void lock ()
void unlock ()

Protected Attributes

Float_t energy_
 this is simple energy sum of clusterized rec hits

HepPoint3D position_
 the position as computed for EgammaBasicClusters

Short_t numberOfRecHits_
 number of clusterized rec hits (also called multiplicity)

TRefArray * recHits_
 array of constituant rec hits (optionnal)


Private Attributes

Bool_t locked_

Constructor & Destructor Documentation

XANACluster::XANACluster  ) 
 

XANACluster::XANACluster Float_t  energy,
HepPoint3D  position
 

constructor with data

XANACluster::XANACluster const XANACluster right  ) 
 

virtual XANACluster::~XANACluster  )  [virtual]
 


Member Function Documentation

void XANACluster::addHit XANACaloRecHit rhit  ) 
 

Referenced by ClusterObserver::upDate().

void XANACluster::clear  ) 
 

TRefArray* XANACluster::getEmClusterHits  )  const [inline]
 

Reimplemented in XANAEmCluster.

Definition at line 39 of file XANACluster.h.

References recHits_.

Referenced by main().

00039 { return recHits_; }

Float_t XANACluster::getEnergy  )  const [inline]
 

Definition at line 36 of file XANACluster.h.

References energy_.

Referenced by main(), XANAEsdBuilder::setEndcapClusters(), XANAEsdBuilder::setSuperClusters(), and ClusterObserver::upDate().

00036 {return energy_;}

Short_t XANACluster::getNumberOfRecHits  )  const [inline]
 

Definition at line 38 of file XANACluster.h.

References numberOfRecHits_.

Referenced by main().

00038 {return numberOfRecHits_;}

HepPoint3D XANACluster::getPosition  )  const [inline]
 

Definition at line 37 of file XANACluster.h.

References position_.

Referenced by main().

00037 {return position_;}

Bool_t XANACluster::IsUsed  )  const [inline]
 

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

Definition at line 51 of file XANACluster.h.

References locked_.

00051 {return locked_;}

void XANACluster::lock  )  [inline, protected]
 

Definition at line 70 of file XANACluster.h.

References locked_.

00070 {locked_ = true;}

Bool_t XANACluster::operator< const XANACluster  )  const
 

const XANACluster& XANACluster::operator= const XANACluster right  ) 
 

Bool_t XANACluster::operator== const XANACluster  )  const
 

void XANACluster::setEnergy Float_t  energy  )  [inline]
 

Definition at line 42 of file XANACluster.h.

References energy_.

00042 {energy_=energy;}

void XANACluster::setNumberOfRecHits Short_t  numberOfRecHits  )  [inline]
 

Definition at line 44 of file XANACluster.h.

References numberOfRecHits_.

Referenced by ClusterObserver::upDate().

00044 {numberOfRecHits_=numberOfRecHits;}

void XANACluster::setPosition HepPoint3D  position  )  [inline]
 

Definition at line 43 of file XANACluster.h.

References position_.

00043 {position_=position;}

void XANACluster::unlock  )  [inline, protected]
 

Definition at line 71 of file XANACluster.h.

References locked_.

00071 { locked_ = false;}


Member Data Documentation

Float_t XANACluster::energy_ [protected]
 

this is simple energy sum of clusterized rec hits

Definition at line 62 of file XANACluster.h.

Referenced by getEnergy(), and setEnergy().

Bool_t XANACluster::locked_ [private]
 

Definition at line 76 of file XANACluster.h.

Referenced by IsUsed(), lock(), and unlock().

Short_t XANACluster::numberOfRecHits_ [protected]
 

number of clusterized rec hits (also called multiplicity)

Definition at line 66 of file XANACluster.h.

Referenced by getNumberOfRecHits(), and setNumberOfRecHits().

HepPoint3D XANACluster::position_ [protected]
 

the position as computed for EgammaBasicClusters

Definition at line 64 of file XANACluster.h.

Referenced by getPosition(), and setPosition().

TRefArray* XANACluster::recHits_ [protected]
 

array of constituant rec hits (optionnal)

Definition at line 68 of file XANACluster.h.

Referenced by getEmClusterHits().


The documentation for this class was generated from the following file:
Generated on Thu Oct 27 21:59:52 2005 for XANADOO by doxygen 1.3.5