|
ATLAS Offline Software
|
Go to the documentation of this file.
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;
def retrieve(aClass, aKey=None)
#define ATH_MSG_VERBOSE(x)
int GetChamberLayer(const int &hid) const
@ u
Enums for curvilinear frames.
int GetPhiSector(const int &hid) const
static const CscHitIdHelper * GetHelper()
const CscReadoutElement * getCscReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
::StatusCode StatusCode
StatusCode definition for legacy code.
int GetWireLayer(const int &hid) const
#define CHECK(...)
Evaluate an expression and check for errors.
Identifier channelID(int stationName, int stationEta, int stationPhi, int chamberLayer, int wireLayer, int measuresPhi, int strip) const
Amg::Vector3D getGlobalPosition() const
Eigen::Matrix< double, 3, 1 > Vector3D
std::string GetStationName(const int &hid) const
int GetZSector(const int &hid) const
std::string show_to_string(Identifier id, const IdContext *context=0, char sep='.') const
or provide the printout in string form
Amg::Vector3D stripPos(const Identifier &id) const
takes into account internal alignment parameters, hence gives accurate answer
const CscIdHelper * cscIdHelper() const