1 #ifndef SimG4CMS_Calo_CaloDetInfo_H
2 #define SimG4CMS_Calo_CaloDetInfo_H
6 #include "G4ThreeVector.hh"
22 uint32_t
id()
const {
return id_; }
26 G4ThreeVector
pos()
const {
return pos_; }
45 if (a->
id() == b->
id()) {
47 return (a->
rho() < b->
rho());
52 return (a->
id() < b->
id());
56 if (a.
id() == b.
id()) {
58 return (a.
rho() < b.
rho());
63 return (a.
id() < b.
id());
bool operator<(const CaloDetInfo &info) const
bool operator()(const CaloDetInfo a, const CaloDetInfo b)
std::ostream & operator<<(std::ostream &out, const ALILine &li)
G4ThreeVector pos() const
const G4VSolid * solid() const
bool operator()(const CaloDetInfo *a, const CaloDetInfo *b)