|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef LARRECEVENT_LARCELL_H
6 #define LARRECEVENT_LARCELL_H
110 void print (
void)
const;
113 virtual std::unique_ptr<CaloCell>
clone()
const override final;
137 virtual bool badcell()
const override final;
void setQualityFast(float q)
set Quality to this cell with inline method.
void assign(const CaloDetDescrElement *caloDDE, const Identifier &ID, float energy, float time, uint16_t quality, uint16_t provenance, CaloGain::CaloGain gain)
For initializing a cell we get from a DataPool.
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
void add_energy(double energy)
Add energy to this cell.
virtual double e() const override final
get energy (data member) (synonym to method energy()
uint16_t provenance() const
get provenance (data member)
float time() const
get time (data member)
void print(void) const
print all relevant info about this cell
double energy() const
get energy (data member)
virtual std::unique_ptr< CaloCell > clone() const override final
clone this cell into another one
virtual ~LArCell()
default destructor
const CaloDetDescrElement * caloDDE() const
get pointer to CaloDetDescrElement (data member)
float m_energy
energy (in MeV)
double deltaR(const LArCell *other) const
get deltaR (using 4mom helper) with respect to another cell
void setEnergyFast(float e)
set Energy to this cell with inline method.
void assign(const CaloDetDescrElement *caloDDE, const Identifier &id, double energy, double time, uint16_t quality, uint16_t provenance, CaloGain::CaloGain gain)
For initializing a cell we get from a DataPool.
uint16_t quality() const
get quality (data member)
LArCell()
default constructor (should not be used, only there for persistency reason)
CaloGain::CaloGain gain() const
get gain (data member )
Data object for LAr calorimeter readout cell.
virtual bool badcell() const override final
Check from provenance bit is cell is dead.
Data object for each calorimeter readout cell.
def time(flags, cells_name, *args, **kw)
void setTimeFast(float t)
set Time to this cell with inline method.