CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
reco::MuonRecHitCluster Class Reference

#include <MuonRecHitCluster.h>

Public Member Functions

float avgStation () const
 
float eta () const
 
 MuonRecHitCluster ()=default
 
 MuonRecHitCluster (const math::RhoEtaPhiVectorF position, const int size, const int nStation, const float avgStation, const float time, const float timeSpread, const int nME11, const int nME12, const int nME41, const int nME42, const int nMB1, const int nMB2)
 
int nMB1 () const
 
int nMB2 () const
 
int nME11 () const
 
int nME12 () const
 
int nME41 () const
 
int nME42 () const
 
int nStation () const
 
float phi () const
 
float r () const
 
int size () const
 
float time () const
 
float timeSpread () const
 
float x () const
 
float y () const
 
float z () const
 
 ~MuonRecHitCluster ()=default
 

Private Attributes

float avgStation_
 
int nMB1_
 
int nMB2_
 
int nME11_
 
int nME12_
 
int nME41_
 
int nME42_
 
int nStation_
 
math::RhoEtaPhiVectorF position_
 
int size_
 
float time_
 
float timeSpread_
 

Detailed Description

Definition at line 9 of file MuonRecHitCluster.h.

Constructor & Destructor Documentation

◆ MuonRecHitCluster() [1/2]

reco::MuonRecHitCluster::MuonRecHitCluster ( )
default

◆ MuonRecHitCluster() [2/2]

reco::MuonRecHitCluster::MuonRecHitCluster ( const math::RhoEtaPhiVectorF  position,
const int  size,
const int  nStation,
const float  avgStation,
const float  time,
const float  timeSpread,
const int  nME11,
const int  nME12,
const int  nME41,
const int  nME42,
const int  nMB1,
const int  nMB2 
)

Definition at line 3 of file MuonRecHitCluster.cc.

16  size_(size),
19  time_(time),
21  nME11_(nME11),
22  nME12_(nME12),
23  nME41_(nME41),
24  nME42_(nME42),
25  nMB1_(nMB1),
26  nMB2_(nMB2) {}
static int position[264][3]
Definition: ReadPGInfo.cc:289
math::RhoEtaPhiVectorF position_

◆ ~MuonRecHitCluster()

reco::MuonRecHitCluster::~MuonRecHitCluster ( )
default

Member Function Documentation

◆ avgStation()

float reco::MuonRecHitCluster::avgStation ( ) const
inline

Definition at line 38 of file MuonRecHitCluster.h.

References avgStation_.

38 { return avgStation_; }

◆ eta()

float reco::MuonRecHitCluster::eta ( ) const
inline

Definition at line 30 of file MuonRecHitCluster.h.

References position_.

Referenced by Particle.Particle::__str__(), datamodel.Object::DeltaR(), Jet.Jet::jetID(), datamodel.Object::p4(), and Jet.Jet::puJetId().

30 { return position_.Eta(); }
math::RhoEtaPhiVectorF position_

◆ nMB1()

int reco::MuonRecHitCluster::nMB1 ( ) const
inline

Definition at line 39 of file MuonRecHitCluster.h.

References nMB1_.

39 { return nMB1_; }

◆ nMB2()

int reco::MuonRecHitCluster::nMB2 ( ) const
inline

Definition at line 40 of file MuonRecHitCluster.h.

References nMB2_.

40 { return nMB2_; }

◆ nME11()

int reco::MuonRecHitCluster::nME11 ( ) const
inline

Definition at line 41 of file MuonRecHitCluster.h.

References nME11_.

41 { return nME11_; }

◆ nME12()

int reco::MuonRecHitCluster::nME12 ( ) const
inline

Definition at line 42 of file MuonRecHitCluster.h.

References nME12_.

42 { return nME12_; }

◆ nME41()

int reco::MuonRecHitCluster::nME41 ( ) const
inline

Definition at line 43 of file MuonRecHitCluster.h.

References nME41_.

43 { return nME41_; }

◆ nME42()

int reco::MuonRecHitCluster::nME42 ( ) const
inline

Definition at line 44 of file MuonRecHitCluster.h.

References nME42_.

44 { return nME42_; }

◆ nStation()

int reco::MuonRecHitCluster::nStation ( ) const
inline

Definition at line 37 of file MuonRecHitCluster.h.

References nStation_.

◆ phi()

float reco::MuonRecHitCluster::phi ( ) const
inline

Definition at line 31 of file MuonRecHitCluster.h.

References position_.

Referenced by Particle.Particle::__str__(), datamodel.Object::DeltaR(), datamodel.Object::p4(), and ntupleDataFormat.Track::phiPull().

31 { return position_.Phi(); }
math::RhoEtaPhiVectorF position_

◆ r()

float reco::MuonRecHitCluster::r ( ) const
inline

Definition at line 35 of file MuonRecHitCluster.h.

References position_.

35 { return position_.Rho(); }
math::RhoEtaPhiVectorF position_

◆ size()

int reco::MuonRecHitCluster::size ( void  ) const
inline

◆ time()

float reco::MuonRecHitCluster::time ( ) const
inline

Definition at line 45 of file MuonRecHitCluster.h.

References time_.

45 { return time_; }

◆ timeSpread()

float reco::MuonRecHitCluster::timeSpread ( ) const
inline

Definition at line 46 of file MuonRecHitCluster.h.

References timeSpread_.

46 { return timeSpread_; }

◆ x()

float reco::MuonRecHitCluster::x ( ) const
inline

◆ y()

float reco::MuonRecHitCluster::y ( ) const
inline

◆ z()

float reco::MuonRecHitCluster::z ( ) const
inline

Definition at line 34 of file MuonRecHitCluster.h.

References position_.

Referenced by geometryXMLparser.Alignable::pos(), and ntupleDataFormat._HitObject::r3D().

34 { return position_.Z(); }
math::RhoEtaPhiVectorF position_

Member Data Documentation

◆ avgStation_

float reco::MuonRecHitCluster::avgStation_
private

Definition at line 52 of file MuonRecHitCluster.h.

Referenced by avgStation().

◆ nMB1_

int reco::MuonRecHitCluster::nMB1_
private

Definition at line 59 of file MuonRecHitCluster.h.

Referenced by nMB1().

◆ nMB2_

int reco::MuonRecHitCluster::nMB2_
private

Definition at line 60 of file MuonRecHitCluster.h.

Referenced by nMB2().

◆ nME11_

int reco::MuonRecHitCluster::nME11_
private

Definition at line 55 of file MuonRecHitCluster.h.

Referenced by nME11().

◆ nME12_

int reco::MuonRecHitCluster::nME12_
private

Definition at line 56 of file MuonRecHitCluster.h.

Referenced by nME12().

◆ nME41_

int reco::MuonRecHitCluster::nME41_
private

Definition at line 57 of file MuonRecHitCluster.h.

Referenced by nME41().

◆ nME42_

int reco::MuonRecHitCluster::nME42_
private

Definition at line 58 of file MuonRecHitCluster.h.

Referenced by nME42().

◆ nStation_

int reco::MuonRecHitCluster::nStation_
private

Definition at line 51 of file MuonRecHitCluster.h.

Referenced by nStation().

◆ position_

math::RhoEtaPhiVectorF reco::MuonRecHitCluster::position_
private

Definition at line 49 of file MuonRecHitCluster.h.

Referenced by eta(), phi(), r(), x(), y(), and z().

◆ size_

int reco::MuonRecHitCluster::size_
private

Definition at line 50 of file MuonRecHitCluster.h.

Referenced by size().

◆ time_

float reco::MuonRecHitCluster::time_
private

Definition at line 53 of file MuonRecHitCluster.h.

Referenced by time().

◆ timeSpread_

float reco::MuonRecHitCluster::timeSpread_
private

Definition at line 54 of file MuonRecHitCluster.h.

Referenced by timeSpread().