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()) {
46 if (
a->depth() ==
b->depth()) {
47 return (
a->rho() <
b->rho());
49 return (
a->depth() <
b->depth());
52 return (
a->id() <
b->id());
56 if (
a.id() ==
b.id()) {
57 if (
a.depth() ==
b.depth()) {
58 return (
a.rho() <
b.rho());
60 return (
a.depth() <
b.depth());
63 return (
a.id() <
b.id());
bool operator()(const CaloDetInfo a, const CaloDetInfo b)
G4ThreeVector pos() const
std::ostream & operator<<(std::ostream &, const CaloDetInfo &)
const G4VSolid * solid() const
bool operator<(const CaloDetInfo &info) const
bool operator()(const CaloDetInfo *a, const CaloDetInfo *b)