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