|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGL2MUONSA_CSCREGUTILS_H
6 #define TRIGL2MUONSA_CSCREGUTILS_H
9 #include "GaudiKernel/Service.h"
10 #include "GaudiKernel/ToolHandle.h"
34 double calc_dphi(
double phi1,
double phi2)
const;
71 int get_hash(
int stationname,
int stationeta,
int stationphi)
const;
83 Gaudi::Property< bool >
m_isMC {
this,
"MCFlag",
true,
"" };
106 if(hash<0 || hash>31)
return 999;
107 else return (
hash<16) ? 50 : 51;
112 if(hash<0 || hash>31)
return 999;
115 return (secteta%2) ? 1 : -1;
121 if(hash<0 || hash>31)
return 999;
122 else return hash%8+1;
int m_module_hashes[2][2][8]
double phiCen(int module)
double PhiConv(double phi)
double idealAtanNormal(int module) const
double posCorrectionZ(int module, int charge)
double displacement(int module) const
bool operator==(unsigned int code)
double phiMod(int module) const
ReturnCode(unsigned int retcode)
ReturnCode initializePosCorrectionParameters()
Gaudi::Property< bool > m_isMC
double posCorrectionPlusR
ReturnCode initializeDictionaryForData()
ReturnCode initializeHashDictionary()
void operator=(unsigned int retcode)
int stationName(int hash) const
virtual StatusCode initialize() override
CscRegDict(const std::string &type, const std::string &name, const IInterface *parent)
::StatusCode StatusCode
StatusCode definition for legacy code.
bool operator!=(unsigned int code)
double charge(const T &p)
int get_hash(int stationname, int stationeta, int stationphi) const
Eigen::Matrix< double, 3, 1 > Vector3D
double actualAtanNormal(int module) const
int stationPhi(int hash) const
int stationEta(int hash) const
TrigL2MuonSA::UtilTools m_util
double posCorrectionR(int module, int charge)
Amg::Vector3D nomalVector(int module) const
double posCorrectionMinusR