|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRT_CALIBTOOLS__TRTCALIBRATOR_H
6 #define TRT_CALIBTOOLS__TRTCALIBRATOR_H
26 #include "GaudiKernel/ToolHandle.h"
27 #include "GaudiKernel/ServiceHandle.h"
38 class TRT_DetectorManager;
85 std::string
SubLev(std::string,
int);
90 bool IsSubLev(
const std::string&,
int,
const std::string&);
100 int GetSubLevels(
const std::string&,
int, std::set<int>*);
105 void MakeBDKeys(
int,
int,
int,
int,
int,
int);
157 class BDzero{
public:
int z;};
class BDstraw{
public: std::map<std::string,BDzero>
s;};
class BDchip{
public: std::map<std::string,BDstraw>
c;};
class BDboard{
public: std::map<std::string,BDchip>
b;};
class BDmodule{
public: std::map<std::string,BDboard>
m;};
class BDlayer{
public: std::map<std::string,BDmodule>
l;};
class BDdetector{
public: std::map<std::string,BDlayer>
d;};
class BDTRT{
public: std::map<std::string,BDdetector>
t;}; BDTRT
m_trt;
188 #endif // TRT_CALIBTOOLS__TRTCALIBRATOR_H
std::map< std::string, BDboard > m
std::vector< std::string > m_beQuiet
virtual StatusCode finalize() override
std::map< std::string, std::set< int > > selections
std::map< std::string, BDdetector > t
std::map< std::string, BDzero > s
std::map< std::string, BDlayer > d
int m_minTimebinsOverThreshold
float m_t0offset
The t0 offset.
float m_maxTrackChisquarePerDof
std::vector< std::string > m_doOutPrint
BDTRT m_trt_acc
instance if the dictionary class for the full TRT
const AtlasDetectorID * m_DetID
virtual bool calibrate ATLAS_NOT_THREAD_SAFE() override
Method for doing the actual calibration.
std::map< std::string, conf > m_config
std::map< std::string, BDstraw > c
std::string m_rtrel
the rt relation to use
int m_nevents
The number of hits or histograms read from the input file.
std::string m_comTimeName
int m_minrt
minimum number of hits required to do R-t calibration
int m_mint0
minimum number of hits required to do T0 calibration
std::map< std::string, BDmodule > l
void MakeBDKeys(int, int, int, int, int, int)
makes the key strings for a sub-module
::StatusCode StatusCode
StatusCode definition for legacy code.
ToolHandle< ITRT_StrawStatusSummaryTool > m_TRTStrawSummaryTool
The ConditionsSummaryTool.
std::vector< std::string > m_doT0
std::vector< std::string > m_doRtPrint
std::vector< std::string > PrintLog
std::vector< std::string > m_doLogPrint
std::string SubLev(std::string, int)
return sub-level i from a selection string with the form _X_X_X_X_X_X_X
bool IncludedLevels(std::string, int *)
unsigned int m_numOfProcessedTracks
std::vector< std::string > FitResidual
std::vector< std::string > m_doRes
std::vector< std::string > CalibrateRt
std::vector< std::string > PrintRtOut
const InDetDD::TRT_DetectorManager * m_trtmanager
std::string m_ntrtmanager
Abstract interface to information on straws electronic grouping.
ServiceHandle< ITRT_StrawNeighbourSvc > m_neighbourSvc
unsigned int m_numOfHitsAccepted
The Detector Manager for all TRT Detector elements, it acts as the interface to the detector elements...
std::vector< std::string > m_doRt
BDTRT m_trt
instance if the dictionary class for the full TRT
bool m_DoShortStrawCorrection
virtual ~TRTCalibrator()
Destructor.
unsigned int m_numOfHitsTotal
std::vector< std::string > CalibrateT0
std::vector< std::string > PrintT0Out
std::map< std::string, BDchip > b
virtual StatusCode initialize() override
Pre-define standard calibration configuration.
std::vector< std::string > m_useBoardRef
void DumpStrawData(int)
returns true if the ...
TRTCalibrator(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
virtual bool fill(const Trk::Track *aTrack, TRT::TrackInfo *output) override
int GetSubLevels(const std::string &, int, std::set< int > *)
fills a set of integers with the indexes af the sub-modules that are conatined in a selection
ToolHandle< ITRT_CalDbTool > m_trtcaldbTool
std::vector< std::string > NoHistograms
bool IsSubLev(const std::string &, int, const std::string &)
returns true if the ...
The TRTCalibrator is called from TRTCalibrationMgr.
This class provides an interface to generate or decode an identifier for the upper levels of the dete...