1 #ifndef DataFormats_CaloRecHit_CaloID_h 2 #define DataFormats_CaloRecHit_CaloID_h
bool isSingleDetector() const
Detectors detector() const
CaloID & operator=(const CaloID &rhs)
CaloID()
default constructor. Sets energy and position to zero
friend std::ostream & operator<<(std::ostream &out, const CaloID &id)
unsigned detectors() const
void setDetector(CaloID::Detectors theDetector, bool value)
tells the CaloID that it describes a given detector
virtual ~CaloID()
abstract class
int leastSignificantBitPosition(unsigned n) const