17 Cluster(
double x_,
double y_,
double z_,
bool isPhi_,
int tIndex_,
int pIndex_,
bool isMatch_ ,
int barcode_);
19 double x()
const {
return m_x;}
20 double y()
const {
return m_y;}
21 double z()
const {
return m_z;}
26 double eta()
const {
return -log(tan(this->
theta()/2.));}
34 bool isSideA()
const {
if (
m_z > 0.)
return true;
else return false;}
52 double x()
const {
return this->
rSph()*sin(this->
theta())*cos(this->
phi());}
53 double y()
const {
return this->
rSph()*sin(this->
theta())*sin(this->
phi());}
54 double z()
const {
return m_z;}
56 double rCyl()
const {
return sqrt(
pow(this->
x(),2)+
pow(this->
y(),2));}
58 double theta()
const {
return 2*atan(exp(-1*this->
eta()));}
constexpr int pow(int base, int exp) noexcept
TechnologyIndex
enum to classify the different layers in the muon spectrometer
PhiIndex
enum to classify the different phi layers in the muon spectrometer
Muon::MuonStationIndex::PhiIndex phiIndex() const
Muon::MuonStationIndex::TechnologyIndex m_tIndex
Muon::MuonStationIndex::TechnologyIndex techIndex() const
Cluster(double x_, double y_, double z_, bool isPhi_, Muon::MuonStationIndex::TechnologyIndex tIndex_, Muon::MuonStationIndex::PhiIndex pIndex_, bool isMatch_, int barcode_)
Muon::MuonStationIndex::PhiIndex m_pIndex
Muon::MuonStationIndex::PhiIndex phiIndex() const
SpacePoint(double eta_, double phi_, double z_, Muon::MuonStationIndex::TechnologyIndex tIndex_, Muon::MuonStationIndex::PhiIndex pIndex_, bool isMatch_, int barcode_, int eit_, int pit_)
Muon::MuonStationIndex::TechnologyIndex techIndex() const
bool isRPC(int num) const
bool isTGC(int num) const
Muon::MuonStationIndex::PhiIndex m_pIndex
Muon::MuonStationIndex::TechnologyIndex m_tIndex