7#include "CLHEP/Geometry/Vector3D.h"
8#include "CLHEP/Geometry/Point3D.h"
9#include "CaloDetDescr/CaloDetDescrElement.h"
117 std::cout <<
" FATAL ERROR : CaloCell::set4Mom called. Cannot change 4mom " << std::endl ;
123 std::cout <<
" FATAL ERROR : CaloCell::set4Mom called. Cannot change 4mom " << std::endl ;
129 std::cout <<
" FATAL ERROR : CaloCell::set4Mom called. Cannot change 4mom " << std::endl ;
136 return std::make_unique<CaloCell>(this->
caloDDE(),
Provide an interface for finding inheritance information at run time.
#define SG_ADD_BASE(D, B)
Add a new base class B to class D.
Data object for each calorimeter readout cell.
float time() const
get time (data member)
const CaloDetDescrElement * m_caloDDE
pointer to static CaloDetDescrElement to access information that does not change from event to event
CaloCell()
default constructor (should not be used, only there for persistency reason)
float m_energy
energy (in MeV)
double energy() const
get energy (data member)
const CaloDetDescrElement * caloDDE() const
get pointer to CaloDetDescrElement (data member)
uint16_t provenance() const
get provenance (data member)
virtual void set4Mom(const I4Momentum *const theI4Mom) override final
set 4Momentum (will throw exception since cannot be implemented)
virtual ~CaloCell()
default destructor
uint16_t quality() const
get quality (data member)
void set(const CaloDetDescrElement *caloDDE, const Identifier &ID)
Fast method to change the identity of a cell.
virtual bool badcell() const
check is cell is dead
CaloGain::CaloGain gain() const
get gain (data member )
Identifier m_ID
offline identifier
virtual std::unique_ptr< CaloCell > clone() const
clone a CaloCell
Identifier ID() const
get ID (from cached data member) non-virtual and inline for fast access
CaloGain::CaloGain m_gain
gain
This class groups all DetDescr information related to a CaloCell.
I4Momentum is an abstract base class providing 4-momentum behavior.