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"
18
19
20#include <string>
21
22class Identifier;
23
24namespace InDetDD{
26 class TRT_BaseElement;
29}
30
31class TRT_ID;
32
38
40public:
42 ReadTRT_DetectorElements (const std::string& name, ISvcLocator* pSvcLocator);
43 //@name Athena Algorithm methods
45 StatusCode initialize();
46 StatusCode execute();
47 StatusCode finalize();
49
50 void printAllElements();
51
52 void printBarrelStraw(const InDetDD::TRT_BarrelElement * element, const unsigned int strawNum);
53 void printEndcapStraw(const InDetDD::TRT_EndcapElement * element, const unsigned int strawNum);
54 void printStraw(const InDetDD::TRT_BaseElement * element, const unsigned int strawNum);
55
56 void compareBarrelStraw(const InDetDD::TRT_BarrelElement * element, const unsigned int strawNum);
57 void compareEndcapStraw(const InDetDD::TRT_EndcapElement * element, const unsigned int strawNum);
58 bool comparePos(const Amg::Vector3D & p1, const Amg::Vector3D & p2, const double err);
59
60private:
61 std::string m_managerName;
64
67
68 double m_maxdiff;
69 bool m_first;
70};
71
72#endif // InDetDetDescrExample_ReadTRT_DetectorElements_h
defines and typedefs for IOVSvc
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.