CMS 3D CMS Logo

TkCommonModeTopology.h
Go to the documentation of this file.
1 #ifndef TkCommonModeTopology_h
2 #define TkCommonModeTopology_h
3 
4 #include <vector>
9 public:
10  TkCommonModeTopology(int nstrips, int nstripsperset);
11 
18 
19  int numberOfStrips() const { return numberStrips; }
20  int numberOfStripsPerSet() const { return numberStripsPerSet; }
21 
22  int numberOfSets() const { return numberStrips / numberStripsPerSet; }
23 
24  int setOfStrip(int);
25 
26  std::vector<int>& initialStrips() { return initStrips; }
27  std::vector<int>& finalStrips() { return finStrips; }
28 
29 private:
32  std::vector<int> initStrips;
33  std::vector<int> finStrips;
34 };
35 
36 #endif
TkCommonModeTopology::initialStrips
std::vector< int > & initialStrips()
Definition: TkCommonModeTopology.h:26
TkCommonModeTopology::initStrips
std::vector< int > initStrips
Definition: TkCommonModeTopology.h:32
TkCommonModeTopology::numberStrips
int numberStrips
Definition: TkCommonModeTopology.h:30
TkCommonModeTopology::setOfStrip
int setOfStrip(int)
Definition: TkCommonModeTopology.cc:3
TkCommonModeTopology::TkCommonModeTopology
TkCommonModeTopology(int nstrips, int nstripsperset)
Definition: TkCommonModeTopology.cc:11
TkCommonModeTopology::finalStrips
std::vector< int > & finalStrips()
Definition: TkCommonModeTopology.h:27
TkCommonModeTopology::setNumberOfStrips
void setNumberOfStrips(int in)
Definition: TkCommonModeTopology.h:13
TkCommonModeTopology::numberStripsPerSet
int numberStripsPerSet
Definition: TkCommonModeTopology.h:31
TkCommonModeTopology
Definition: TkCommonModeTopology.h:8
TkCommonModeTopology::numberOfSets
int numberOfSets() const
Definition: TkCommonModeTopology.h:22
TkCommonModeTopology::setNumberOfSets
void setNumberOfSets(int in)
Definition: TkCommonModeTopology.h:17
recoMuon::in
Definition: RecoMuonEnumerators.h:6
TkCommonModeTopology::numberOfStripsPerSet
int numberOfStripsPerSet() const
Definition: TkCommonModeTopology.h:20
TkCommonModeTopology::finStrips
std::vector< int > finStrips
Definition: TkCommonModeTopology.h:33
TkCommonModeTopology::numberOfStrips
int numberOfStrips() const
Definition: TkCommonModeTopology.h:19
TkCommonModeTopology::setNumberOfStripsPerSet
void setNumberOfStripsPerSet(int in)
Definition: TkCommonModeTopology.h:15