CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MuonRecHitCluster.h
Go to the documentation of this file.
1 #ifndef DataFormats_MuonReco_MuonRecHitCluster_h
2 #define DataFormats_MuonReco_MuonRecHitCluster_h
3 
4 #include <vector>
6 
7 namespace reco {
8 
10  public:
11  //default constructor
12  MuonRecHitCluster() = default;
13 
15  const int size,
16  const int nStation,
17  const float avgStation,
18  const float time,
19  const float timeSpread,
20  const int nME11,
21  const int nME12,
22  const int nME41,
23  const int nME42,
24  const int nMB1,
25  const int nMB2);
26 
27  //
28  ~MuonRecHitCluster() = default;
29 
30  float eta() const { return position_.Eta(); }
31  float phi() const { return position_.Phi(); }
32  float x() const { return position_.X(); }
33  float y() const { return position_.Y(); }
34  float z() const { return position_.Z(); }
35  float r() const { return position_.Rho(); }
36  int size() const { return size_; }
37  int nStation() const { return nStation_; }
38  float avgStation() const { return avgStation_; }
39  int nMB1() const { return nMB1_; }
40  int nMB2() const { return nMB2_; }
41  int nME11() const { return nME11_; }
42  int nME12() const { return nME12_; }
43  int nME41() const { return nME41_; }
44  int nME42() const { return nME42_; }
45  float time() const { return time_; }
46  float timeSpread() const { return timeSpread_; }
47 
48  private:
50  int size_;
51  int nStation_;
52  float avgStation_;
53  float time_;
54  float timeSpread_;
55  int nME11_;
56  int nME12_;
57  int nME41_;
58  int nME42_;
59  int nMB1_;
60  int nMB2_;
61  };
62 
63  typedef std::vector<MuonRecHitCluster> MuonRecHitClusterCollection;
64 } // namespace reco
65 #endif
ROOT::Math::DisplacementVector3D< ROOT::Math::CylindricalEta3D< float > > RhoEtaPhiVectorF
spatial vector with cylindrical internal representation using pseudorapidity
Definition: Vector3D.h:18
std::vector< MuonRecHitCluster > MuonRecHitClusterCollection
static int position[264][3]
Definition: ReadPGInfo.cc:289
math::RhoEtaPhiVectorF position_