ATLAS Offline Software
Loading...
Searching...
No Matches
ReadTRT_DetectorElements.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
11#ifndef InDetDetDescrExample_ReadTRT_DetectorElements_h
12#define InDetDetDescrExample_ReadTRT_DetectorElements_h
13
15#include "GaudiKernel/ServiceHandle.h"
17
18
19#include <string>
20
21class Identifier;
22
23namespace InDetDD{
25 class TRT_BaseElement;
28}
29
30class TRT_ID;
31
37
39public:
41 ReadTRT_DetectorElements (const std::string& name, ISvcLocator* pSvcLocator);
42 //@name Athena Algorithm methods
44 StatusCode initialize();
45 StatusCode execute();
46 StatusCode finalize();
48
49 void printAllElements();
50
51 void printBarrelStraw(const InDetDD::TRT_BarrelElement * element, const unsigned int strawNum);
52 void printEndcapStraw(const InDetDD::TRT_EndcapElement * element, const unsigned int strawNum);
53 void printStraw(const InDetDD::TRT_BaseElement * element, const unsigned int strawNum);
54
55 void compareBarrelStraw(const InDetDD::TRT_BarrelElement * element, const unsigned int strawNum);
56 void compareEndcapStraw(const InDetDD::TRT_EndcapElement * element, const unsigned int strawNum);
57 bool comparePos(const Amg::Vector3D & p1, const Amg::Vector3D & p2, const double err);
58
59private:
60 std::string m_managerName;
63
66
67 double m_maxdiff;
68 bool m_first;
69};
70
71#endif // InDetDetDescrExample_ReadTRT_DetectorElements_h
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Extended TRT_BaseElement to describe a TRT readout element, this is a planar layer with n ( order of ...
Virtual base class of TRT readout elements.
The Detector Manager for all TRT Detector elements, it acts as the interface to the detector elements...
Extended class of a TRT_BaseElement to describe a readout elment in the endcap.
void printStraw(const InDetDD::TRT_BaseElement *element, const unsigned int strawNum)
void printBarrelStraw(const InDetDD::TRT_BarrelElement *element, const unsigned int strawNum)
ReadTRT_DetectorElements(const std::string &name, ISvcLocator *pSvcLocator)
Default Algorithm constructor with parameters.
void compareEndcapStraw(const InDetDD::TRT_EndcapElement *element, const unsigned int strawNum)
const InDetDD::TRT_DetectorManager * m_manager
bool comparePos(const Amg::Vector3D &p1, const Amg::Vector3D &p2, const double err)
void compareBarrelStraw(const InDetDD::TRT_BarrelElement *element, const unsigned int strawNum)
void printEndcapStraw(const InDetDD::TRT_EndcapElement *element, const unsigned int strawNum)
This is an Identifier helper class for the TRT subdetector.
Definition TRT_ID.h:82
Eigen::Matrix< double, 3, 1 > Vector3D
Message Stream Member.