8#include "CLHEP/Vector/LorentzVector.h"
25 const std::string & csc_stname = cschelper->
GetStationName(cschit);
38 csc_stphi, csc_cl, csc_wl,
39 csc_measphi, csc_strip);
52 return StatusCode::FAILURE;
57 double csc_strip_phi = csc_gPos.phi();
58 if (csc_strip_phi < 0.) csc_strip_phi += 2.*
M_PI;
59 double csc_strip_perp __attribute ((
unused)) = csc_gPos.perp();
60 double csc_strip_z __attribute ((
unused)) = csc_gPos.z();
61 double csc_strip_cot __attribute ((
unused)) = 1./tan(csc_gPos.theta());
63 return StatusCode::SUCCESS;
91 if (evtStore()->retrieve(p_collection,
"CSC_Hits") == StatusCode::SUCCESS) {
92 for (
const CSCSimHit& hit : *p_collection) {
96 HitID cschit= hit.CSCid();
111 return StatusCode::SUCCESS;
120 return StatusCode::SUCCESS;
#define ATH_MSG_VERBOSE(x)
AtlasHitsVector< CSCSimHit > CSCSimHitCollection
#define CHECK(...)
Evaluate an expression and check for errors.
int GetWireLayer(const int &hid) const
int GetZSector(const int &hid) const
int GetPhiSector(const int &hid) const
std::string GetStationName(const int &hid) const
int GetChamberLayer(const int &hid) const
static const CscHitIdHelper * GetHelper()
Amg::Vector3D getGlobalPosition() const
Amg::Vector3D stripPos(const Identifier &id) const
takes into account internal alignment parameters, hence gives accurate answer
Eigen::Matrix< double, 3, 1 > Vector3D