Class Cell


class Cell
derived from AssociationManager, ContainedObject, IKinematic

Cell objects represent 2D surface elements in eta-phi space of the Calorimeter. Cells honour the IKinematic interface and thus contain the documented kinematic methods.


Field Summary
 private HepMC::Particle *lnkParticle
           
 private CellDescriptorm_id
          Cell identifier.
 private intm_numberOfHits
          Number of particles which have deposited energy in the cell.
 private std::vectorm_particles
          Vector of HepMC::Particles which have deposited energy.
 private doublem_ptSum
          Pt sum in cell

Fields inherited from class AssociationManager
m_associations

Constructor Summary
Cell()
          Default Constructor
Cell(const CellDescriptor & cellID)
          Copy Constructor from CellDescriptor
Cell(const Cell & )
          Copy Constructor from Cell

Destructor Summary
 virtual ~Cell()
          Default Destructor

Method Summary
 static const CLID &classID()
          Athena contained object method
 virtual const const CLID &clID()
          Athena contained object method
 virtual const doubleeT()
          IKinematic interface method.
 virtual const doubleeta()
          IKinematic interface method.
 virtual const HepLorentzVectormomentum()
          IKinematic interface method.
 virtual const doublemT()
          IKinematic interface method.
 voidnewHit(const HepMC::Particle * part)
          Deposits HepMC::Particle within itself.
 const intnumberOfHits()
          Returns number of hits
 Cell &operator=(const Cell & )
          Assignment Operator
 const std::vectorparticles()
          Returns a vector of HepMC::Particles which have been deposited in the cell.
 virtual const doublephi()
          IKinematic interface method.
 virtual const doublepT()
          IKinematic interface method.
 voidreset()
          Resets itself to an 'empty' state.
 virtual StreamBuffer &serialize(StreamBuffer & s)
          Input streamer
 virtual const StreamBuffer &serialize(StreamBuffer & s)
          Output streamer

Methods inherited from class AssociationManager
associate, associations, associations, unAssociated

Field Detail

lnkParticle

private HepMC::Particle * lnkParticle
supplierCardinality 0..*

m_id

private CellDescriptor m_id
Cell identifier.

m_numberOfHits

private int m_numberOfHits
Number of particles which have deposited energy in the cell.

m_particles

private std::vector m_particles
Vector of HepMC::Particles which have deposited energy.

m_ptSum

private double m_ptSum
Pt sum in cell
Constructor Detail

Cell

public Cell()
Default Constructor

Cell

public Cell(const CellDescriptor & cellID)
Copy Constructor from CellDescriptor

Cell

public Cell(const Cell & )
Copy Constructor from Cell
Method Detail

~Cell

public virtual ~Cell()
Default Destructor
Method Detail

classID

public static const CLID & classID()
Athena contained object method

clID

public virtual const const CLID & clID()
Athena contained object method

eT

public virtual const double eT()
IKinematic interface method.

eta

public virtual const double eta()
IKinematic interface method.

momentum

public virtual const HepLorentzVector momentum()
IKinematic interface method.

mT

public virtual const double mT()
IKinematic interface method.

newHit

public void newHit(const HepMC::Particle * part)
Deposits HepMC::Particle within itself.

numberOfHits

public const int numberOfHits()
Returns number of hits

operator=

public Cell & operator=(const Cell & )
Assignment Operator

particles

public const std::vector particles()
Returns a vector of HepMC::Particles which have been deposited in the cell.

phi

public virtual const double phi()
IKinematic interface method.

pT

public virtual const double pT()
IKinematic interface method.

reset

public void reset()
Resets itself to an 'empty' state.

serialize

public virtual StreamBuffer & serialize(StreamBuffer & s)
Input streamer

serialize

public virtual const StreamBuffer & serialize(StreamBuffer & s)
Output streamer

Association Links

to Class Atlfast::CellDescriptor

Cell identifier.

to Class HepMC::Particle

Supplier Cardinality 0..*