7#include "Identifier/Identifier.h"
21#include "CLHEP/Vector/LorentzVector.h"
23#include "GaudiKernel/NTuple.h"
24#include "GaudiKernel/SmartDataPtr.h"
25#include "GaudiKernel/IDataProviderSvc.h"
26#include "GaudiKernel/ITHistSvc.h"
27#include "GaudiKernel/INTupleSvc.h"
62 if (descriptor == NULL) {
64 return StatusCode::FAILURE;
70 double mdt_tube_phi = mdt_gPos.phi();
71 if (mdt_tube_phi < 0.) mdt_tube_phi += 2.*
M_PI;
79 return StatusCode::SUCCESS;
104 if (evtStore()->retrieve(p_collection,
"MDT_Hits") == StatusCode::SUCCESS) {
105 for (
const MDTSimHit& hit : *p_collection) {
125 return StatusCode::SUCCESS;
133 return StatusCode::SUCCESS;
#define ATH_MSG_VERBOSE(x)
#define CHECK(...)
Evaluate an expression and check for errors.
AtlasHitsVector< MDTSimHit > MDTSimHitCollection
Amg::Vector3D getGlobalPosition() const
static const MdtHitIdHelper * GetHelper(unsigned int nTubes=78)
int GetPhiSector(const int &hid) const
int GetMultiLayer(const int &hid) const
std::string GetStationName(const int &hid) const
int GetZSector(const int &hid) const
int GetLayer(const int &hid) const
int GetTube(const int &hid) const
Amg::Vector3D tubePos(const Identifier &id) const
Returns the global position of the given tube.
Eigen::Matrix< double, 3, 1 > Vector3D
Ensure that the Athena extensions are properly loaded.