|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #include "CLHEP/Geometry/Vector3D.h"
8 #include "CLHEP/Geometry/Point3D.h"
9 #include "CaloDetDescr/CaloDetDescrElement.h"
27 m_quality((
int)(quality)),
62 m_quality((
int)(quality)),
181 std::cout <<
" FATAL ERROR : CaloCell::set4Mom called. Cannot change 4mom " << std::endl ;
189 std::cout <<
" FATAL ERROR : CaloCell::set4Mom called. Cannot change 4mom " << std::endl ;
195 std::cout <<
" FATAL ERROR : CaloCell::set4Mom called. Cannot change 4mom " << std::endl ;
202 return std::make_unique<CaloCell>(this->
caloDDE(),
const Identifier & identify(const UncalibratedMeasurement *meas)
Returns the associated identifier from the muon measurement.
virtual void setCaloDDE(const CaloDetDescrElement *caloDDE)
set pointer to CaloDetDescrElement
void set(const CaloDetDescrElement *caloDDE, const Identifier &ID)
Fast method to change the identity of a cell.
std::vector< Identifier > ID
SG_ADD_BASE(CaloCell, INavigable4Momentum)
virtual void set4Mom(const I4Momentum *const theI4Mom) override final
set 4Momentum (will throw exception since cannot be implemented)
virtual void setTime(float time)
set time
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
uint16_t provenance() const
get provenance (data member)
virtual void setEnergy(float energy)
set energy
float time() const
get time (data member)
virtual std::unique_ptr< CaloCell > clone() const
clone a CaloCell
double energy() const
get energy (data member)
Identifier identify() const override final
cell identifier
CaloCell()
default constructor (should not be used, only there for persistency reason)
virtual void setQuality(uint16_t quality)
set quality
Provide an interface for finding inheritance information at run time.
const CaloDetDescrElement * caloDDE() const
get pointer to CaloDetDescrElement (data member)
CaloGain::CaloGain m_gain
gain
float m_energy
energy (in MeV)
virtual bool badcell() const
check is cell is dead
void setGain(CaloGain::CaloGain gain=CaloGain::INVALIDGAIN)
set gain
void setProvenance(uint16_t prov)
set Provenance
uint16_t quality() const
get quality (data member)
virtual ~CaloCell()
default destructor
virtual void scaleEnergy(float scale)
scale energy
CaloGain::CaloGain gain() const
get gain (data member )
Identifier ID() const
get ID (from cached data member) non-virtual and inline for fast access
Data object for each calorimeter readout cell.
def time(flags, cells_name, *args, **kw)
const CaloDetDescrElement * m_caloDDE
pointer to static CaloDetDescrElement to access information that does not change from event to event
virtual void addEnergy(float energy)
add energy
Identifier m_ID
offline identifier