ATLAS Offline Software
SiReadoutCellId.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // SiReadoutCellId.h
8 // (c) ATLAS Detector software
10 
11 #ifndef INDETREADOUTGEOMETRY_SIREADOUTCELLID_H
12 #define INDETREADOUTGEOMETRY_SIREADOUTCELLID_H
13 
14 // Base class
16 
17 namespace InDetDD {
18 
42  class SiReadoutCellId : public SiCellId {
43 
45  // Public methods:
47  public:
48 
49  // Allow construction from base class
50  // explicit SiReadoutCellId(const SiCellIdentifier &);
51 
52  SiReadoutCellId(); // Set in invalid state.
55 
56 };
57 
59 // Inline methods:
61 
63  : SiCellId()
64 {}
65 
66 inline SiReadoutCellId::SiReadoutCellId(int phiIndex, int etaIndex)
67  : SiCellId(phiIndex, etaIndex)
68 {}
69 
71  : SiCellId(strip)
72 {}
73 
74 
75 } // namespace InDetDD
76 
77 #endif // INDETREADOUTGEOMETRY_SIREADOUTCELLID_H
InDetDD::SiCellId::phiIndex
int phiIndex() const
Get phi index. Equivalent to strip().
Definition: SiCellId.h:122
InDetDD::SiCellId::strip
int strip() const
Get strip number. Equivalent to phiIndex().
Definition: SiCellId.h:131
InDetDD::SiCellId::etaIndex
int etaIndex() const
Get eta index.
Definition: SiCellId.h:114
InDetDD::SiCellId
Definition: SiCellId.h:29
eflowRec::phiIndex
unsigned int phiIndex(float phi, float binsize)
calculate phi index for a given phi
Definition: EtaPhiLUT.cxx:23
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
InDetDD::SiReadoutCellId
Definition: SiReadoutCellId.h:42
InDetDD::SiReadoutCellId::SiReadoutCellId
SiReadoutCellId()
Definition: SiReadoutCellId.h:62
SiCellId.h