![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
#include <TRT_Monitoring_Tool.h>
|
enum | Interval_t {
file = 0,
eventsBlock,
lumiBlock,
lowStat,
medStat,
higStat,
run,
fill,
all
} |
| An enumeration describing how detailed a particular monitoring object is. More...
|
|
enum | MgmtAttr_t { ATTRIB_MANAGED = 0,
ATTRIB_UNMANAGED = 1,
ATTRIB_X_VS_LB = 2
} |
| An enumeration describing how the class handles the histogram. More...
|
|
|
| TRT_Monitoring_Tool (const std::string &type, const std::string &name, const IInterface *parent) |
|
virtual | ~TRT_Monitoring_Tool () |
|
virtual StatusCode | initialize () |
|
virtual StatusCode | bookHistogramsRecurrent () |
| An inheriting class should either override this function, bookHists() or bookHistograms(). More...
|
|
virtual StatusCode | fillHistograms () |
| An inheriting class should either override this function or fillHists(). More...
|
|
virtual StatusCode | procHistograms () |
| An inheriting class should either override this function or finalHists(). More...
|
|
virtual StreamNameFcn * | streamNameFunction () |
| Returns the function object that converts logical paramters into a physical stream name. More...
|
|
virtual StatusCode | bookHists () |
| Calls bookHists( true, true, true ) and initializes lumiBlock and run numbers. More...
|
|
virtual StatusCode | fillHists () |
| Calls fillHists( bool, bool, bool ); if an eventBlock,lumiBlock, or run has turned over, calls procHists( bool, bool, bool ) and bookHists( bool, bool, bool ). More...
|
|
virtual StatusCode | finalHists () |
| Calls procHists( true, true, true ). More...
|
|
virtual StatusCode | convertLWHists () |
| Deal with the LW histograms. More...
|
|
virtual StatusCode | bookHistograms () |
| An inheriting class should either override this function or bookHists(). More...
|
|
virtual void | setMonManager (AthenaMonManager *manager) |
| Takes a pointer to a managing object to get information from it when needed. More...
|
|
virtual StatusCode | regHist (TH1 *h, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="") |
| Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram. More...
|
|
virtual StatusCode | regHist (TH1 *h, const MonGroup &group) |
| Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram. More...
|
|
virtual StatusCode | regHist (LWHist *h, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="") |
| Support for lightweight histograms: More...
|
|
virtual StatusCode | regHist (LWHist *h, const MonGroup &group) |
|
virtual StatusCode | getHist (TH1 *&h, const std::string &hName, const std::string &system, Interval_t interval) |
| Returns a TH1 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | getHist (TH1 *&h, const std::string &hName, const MonGroup &group) |
| Returns a TH1 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | getHist (TH2 *&h, const std::string &hName, const std::string &system, Interval_t interval) |
| Returns a TH2 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | getHist (TH2 *&h, const std::string &hName, const MonGroup &group) |
| Returns a TH2 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | getHist (LWHist *&h, const std::string &hName, const std::string &system, Interval_t interval) |
|
virtual StatusCode | getHist (LWHist *&h, const std::string &hName, const MonGroup &group) |
|
virtual StatusCode | regEfficiency (TEfficiency *e, const MonGroup &group) |
| Registers a TEfficiency to be included in the output stream using logical parameters that describe the plot. More...
|
|
virtual StatusCode | regGraph (TGraph *g, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="") |
| Registers a TGraph to be included in the output stream using logical parameters that describe the graph. More...
|
|
virtual StatusCode | regGraph (TGraph *g, const MonGroup &group) |
| Registers a TGraph to be included in the output stream using logical parameters that describe the graph. More...
|
|
virtual StatusCode | regTree (TTree *t, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="") |
| Registers a TTree to be included in the output stream using logical parameters that describe it. More...
|
|
virtual StatusCode | regTree (TTree *t, const MonGroup &group) |
| Registers a TTree to be included in the output stream using logical parameters that describe it. More...
|
|
virtual StatusCode | deregHist (LWHist *h) |
|
virtual StatusCode | deregHist (TH1 *h) |
| De-registers a TH1 from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | writeAndDelete (TH1 *h, const MonGroup &group) |
| Write out histogram and delete it. More...
|
|
virtual StatusCode | deregGraph (TGraph *g) |
| De-registers a TGraph from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | deregObject (const std::string &objName, const std::string &system, Interval_t interval) |
| De-registers a TObject from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | deregObject (const std::string &objName, const MonGroup &group) |
| De-registers a TObject from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | setupOutputStreams (std::vector< std::string > Mapping=std::vector< std::string >()) |
| This implementation does nothing—streams in this class should be managed by the AthenaMonManager. More...
|
|
virtual StatusCode | runStat () |
| This implementation does nothing; equivalent functionality may be provided by procHists( true, true, true ). More...
|
|
virtual StatusCode | checkHists (bool calledFromFinalize) |
| This implementation does nothing; equivalent functionality may be provided by procHists(...) with appropriate arguments. More...
|
|
virtual bool | preSelector () |
|
virtual float | lbAverageInteractionsPerCrossing (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Average mu, i.e. More...
|
|
virtual float | lbInteractionsPerCrossing (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Instantaneous number of interactions, i.e. More...
|
|
virtual float | lbAverageLuminosity (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Average luminosity (in ub-1 s-1 => 10^30 cm-2 s-1) More...
|
|
virtual float | lbLuminosityPerBCID (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Instantaneous luminosity. More...
|
|
virtual double | lbDuration (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Luminosity block time (in seconds) More...
|
|
virtual float | lbAverageLivefraction (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Average luminosity livefraction. More...
|
|
virtual float | livefractionPerBCID (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Livefraction per bunch crossing ID. More...
|
|
virtual double | lbLumiWeight (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Average Integrated Luminosity Live Fraction. More...
|
|
| MMTB_DEPRECATED (newLowStatInterval) |
|
| MMTB_DEPRECATED (newMedStatInterval) |
|
| MMTB_DEPRECATED (newHigStatInterval) |
|
| MMTB_DEPRECATED (newLowStat) |
|
| MMTB_DEPRECATED (newLumiBlock) |
|
| MMTB_DEPRECATED (newRun) |
|
| MMTB_DEPRECATED (newEventsBlock) |
|
| MMTB_DEPRECATED (endOfEventsBlock) |
|
| MMTB_DEPRECATED (endOfLowStat) |
|
| MMTB_DEPRECATED (endOfLumiBlock) |
|
| MMTB_DEPRECATED (endOfRun) |
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
|
StatusCode | regManagedHistograms (std::vector< MgmtParams< TH1 > > &templateHistograms) |
|
StatusCode | regManagedGraphs (std::vector< MgmtParams< TGraph > > &templateGraphs) |
|
StatusCode | regManagedTrees (std::vector< MgmtParams< TTree > > &templateTrees) |
|
StatusCode | regManagedLWHistograms (std::vector< MgmtParams< LWHist > > &templateLWHistograms) |
|
StatusCode | regManagedEfficiencies (std::vector< MgmtParams< TEfficiency > > &templateEfficiencies) |
|
StatusCode | parseList (const std::string &, std::vector< std::string > &) |
|
void | updateTriggersForGroups (std::vector< std::string > &) |
|
StatusCode | registerMetadata (const std::string &streamName, const std::string &hName, const MonGroup &group) |
|
StatusCode | THistSvc_deReg_fixTGraph (TFile *file, TGraph *theGraph, std::string &directoryName) |
| Fixes THistSvc->deReg(obj) when obj is TGraph instance. More...
|
|
unsigned int | get_nEvents () const |
|
long | get_procNEventsProp () const |
|
virtual bool | trigChainsArePassed (std::vector< std::string > &) |
|
virtual StreamNameFcn * | getNewStreamNameFcn () const |
|
bool | newLowStatIntervalFlag () const |
| Flag functions allowing clients to determine when to book new and process old histograms; values are updated by fillHists() based on counting lumiBlocks, and are correctly set when fillHistograms(), bookHistograms() and procHistograms() are called. More...
|
|
bool | newMedStatIntervalFlag () const |
|
bool | newHigStatIntervalFlag () const |
|
bool | newLowStatFlag () const |
|
bool | newLumiBlockFlag () const |
|
bool | newRunFlag () const |
|
bool | newEventsBlockFlag () const |
|
bool | endOfEventsBlockFlag () const |
|
bool | endOfLowStatFlag () const |
|
bool | endOfLumiBlockFlag () const |
|
bool | endOfRunFlag () const |
|
void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution More...
|
|
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
|
void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. More...
|
|
|
std::map< Interval_t, std::vector< MgmtParams< TH1 > > > | m_templateHistograms |
|
std::map< Interval_t, std::vector< MgmtParams< TGraph > > > | m_templateGraphs |
|
std::map< Interval_t, std::vector< MgmtParams< TTree > > > | m_templateTrees |
|
std::map< Interval_t, std::vector< MgmtParams< LWHist > > > | m_templateLWHistograms |
|
std::map< Interval_t, std::vector< MgmtParams< TEfficiency > > > | m_templateEfficiencies |
|
std::vector< std::string > | m_vTrigChainNames |
|
std::vector< std::string > | m_vTrigGroupNames |
|
MDMap_t | m_metadataMap |
|
std::set< LWHist * > | m_lwhists |
|
AthenaMonManager * | m_manager |
|
std::string | m_managerNameProp |
|
std::string | m_fileKey |
|
std::string | m_dataTypeStr |
|
std::string | m_environmentStr |
|
unsigned int | m_detailLevel |
|
AthenaMonManager::DataType_t | m_dataType |
|
AthenaMonManager::Environment_t | m_environment |
|
StreamNameFcn * | m_streamNameFcn |
|
ServiceHandle< ITHistSvc > | m_THistSvc |
|
PublicToolHandle< Trig::ITrigDecisionTool > | m_trigDecTool {this, "TrigDecisionTool",""} |
|
PublicToolHandle< ITriggerTranslatorTool > | m_trigTranslator {this,"TriggerTranslatorTool",""} |
|
ToolHandleArray< IDQFilterTool > | m_DQFilterTools {this,"FilterTools",{}} |
|
long | m_procNEventsProp |
|
std::string | m_path |
|
long | m_preScaleProp |
|
std::string | m_triggerChainProp |
|
std::string | m_triggerGroupProp |
|
bool | m_useTrigger |
|
unsigned int | m_lastLumiBlock |
|
unsigned int | m_lastRun |
|
int | m_lastLowStatInterval |
|
int | m_lastMedStatInterval |
|
int | m_lastHigStatInterval |
|
unsigned int | m_nEvents |
|
unsigned int | m_nEventsIgnoreTrigger |
|
unsigned int | m_nLumiBlocks |
|
bool | m_haveClearedLastEventBlock |
|
|
StatusCode | bookTRTRDOs (bool isNewLumiBlock, bool isNewRun) |
|
StatusCode | bookTRTTracks (bool isNewLumiBlock, bool isNewRun) |
|
StatusCode | bookTRTShiftTracks (bool isNewLumiBlock, bool isNewRun) |
|
StatusCode | bookTRTEfficiency (bool isNewLumiBlock, bool isNewRun) |
|
StatusCode | checkEventBurst (const TRT_RDO_Container &rdoContainer) |
|
StatusCode | fillTRTRDOs (const TRT_RDO_Container &rdoContainer, const xAOD::EventInfo &eventInfo, const InDetTimeCollection *trtBCIDCollection) |
|
StatusCode | fillTRTTracks (const TrackCollection &trackCollection, const xAOD::TrigDecision *trigDecision, const ComTime *comTimeObject) |
|
StatusCode | fillTRTEfficiency (const TrackCollection &combTrackCollection) |
|
StatusCode | fillTRTHighThreshold (const TrackCollection &trackCollection, const xAOD::EventInfo &eventInfo) |
|
StatusCode | checkTRTReadoutIntegrity (const xAOD::EventInfo &eventInfo) |
|
int | strawNumber (int strawNumber, int strawlayerNumber, int LayerNumber) |
|
TH1F_LW * | bookTH1F_LW (MonGroup &mongroup, const std::string &hName, const std::string &hTitle, int bins, double lowbin, double highbin, const std::string &xTitle, const std::string &yTitle, StatusCode &scode) |
|
TH2F_LW * | bookTH2F_LW (MonGroup &mongroup, const std::string &hName, const std::string &hTitle, int xbins, double lowxbins, double highxbins, int ybins, double lowybins, double highybins, const std::string &xTitle, const std::string &yTitle, StatusCode &scode) |
|
TProfile_LW * | bookTProfile_LW (MonGroup &mongroup, const std::string &hName, const std::string &hTitle, int bins, double lowbin, double highbin, double ymin, double ymax, const std::string &xTitle, const std::string &yTitle, StatusCode &scode) |
|
TProfile * | bookTProfile (MonGroup &mongroup, const std::string &hName, const std::string &hTitle, int bins, double lowbin, double highbin, double ymin, double ymax, const std::string &xTitle, const std::string &yTitle, StatusCode &scode) |
|
TH1D_LW * | bookTH1D_LW (MonGroup &mongroup, const std::string &hName, const std::string &hTitle, int bins, double lowbin, double highbin, const std::string &xTitle, const std::string &yTitle, StatusCode &scode) |
|
template<typename T > |
StatusCode | trtRegHist (T *hist, MonGroup &mongrp, const char *hName) |
|
void | scale_LWHistWithScaleVector (LWHist1D *hist, const std::vector< float > &scale) |
|
int | initScaleVectors () |
|
int | strawNumberEndCap (int strawNumber, int strawLayerNumber, int LayerNumber, int phi_stack, int side) |
|
GasType | Straw_Gastype (int stat) |
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &) |
| specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &) |
| specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
|
|
int | m_lastTRTLumiBlock |
|
int | m_evtLumiBlock |
|
int | m_good_bcid |
|
int | m_nTotalTracks |
|
int | m_nTracksB [2] {} |
|
int | m_nTracksEC [2] {} |
|
int | m_nTracksEC_B [2] {} |
|
std::vector< unsigned int > | m_rodMap |
|
bool | m_passEventBurst |
|
bool | m_ArgonXenonSplitter |
|
const AtlasDetectorID * | m_idHelper |
|
ServiceHandle< IToolSvc > | p_toolSvc |
|
ToolHandle< ITRT_StrawStatusSummaryTool > | m_sumTool |
|
ServiceHandle< ITRT_DAQ_ConditionsSvc > | m_DAQSvc |
|
ServiceHandle< ITRT_ConditionsSvc > | m_condSvc_BS |
|
ServiceHandle< ITRT_StrawNeighbourSvc > | m_TRTStrawNeighbourSvc |
|
ToolHandle< ITRT_CalDbTool > | m_TRTCalDbTool |
|
SG::ReadHandleKey< TRT_RDO_Container > | m_rdoContainerKey {this, "TRTRawDataObjectName", "TRT_RDOs", "Name of TRT RDOs container"} |
|
SG::ReadHandleKey< TrackCollection > | m_trackCollectionKey {this, "TRTTracksObjectName", "Tracks", "Name of tracks container"} |
|
SG::ReadHandleKey< TrackCollection > | m_combTrackCollectionKey {this, "track_collection_hole_finder", "CombinedInDetTracks", "Name of tracks container used for hole finder"} |
|
SG::ReadHandleKey< xAOD::EventInfo > | m_xAODEventInfoKey {this, "xAODEventInfo", "EventInfo", "Name of EventInfo object"} |
|
SG::ReadHandleKey< InDetTimeCollection > | m_TRT_BCIDCollectionKey {this, "TRTBCIDCollectionName", "TRT_BCID", "Name of TRT BCID collection"} |
|
SG::ReadHandleKey< ComTime > | m_comTimeObjectKey {this, "ComTimeObjectName", "TRT_Phase", "Name of ComTime object"} |
|
SG::ReadHandleKey< xAOD::TrigDecision > | m_trigDecisionKey {this, "TrigDecisionObjectName", "xTrigDecision", "Name of trigger decision object"} |
|
SG::ReadHandleKey< TRT_BSErrContainer > | m_bsErrContKey {this,"ByteStreamErrors","TRT_ByteStreamErrs","SG key of TRT ByteStream Error container"} |
|
ToolHandle< Trk::ITrackSummaryTool > | m_TrackSummaryTool {this, "TrkSummaryTool", "Trk::TrackSummaryTool/InDetTrackSummaryTool", "Track summary tool name"} |
|
ToolHandle< Trk::ITrackHoleSearchTool > | m_trt_hole_finder {this, "trt_hole_search", "TRTTrackHoleSearchTool", "Track hole search tool name"} |
|
ToolHandle< ITRT_DriftFunctionTool > | m_drifttool |
|
const TRT_ID * | m_pTRTHelper |
|
const InDetDD::TRT_DetectorManager * | m_mgr |
|
std::string | m_geo_summary_provider |
|
std::string | m_mapPath |
|
TH1F_LW * | m_hSummary |
|
TProfile * | m_hChipBSErrorsVsLB [2][2] {} |
|
TProfile * | m_hRobBSErrorsVsLB [2][2] {} |
|
TProfile_LW * | m_hAvgHLOcc_side [2][2] {} |
|
TProfile_LW * | m_hAvgLLOcc_side [2][2] {} |
|
TH1F_LW * | m_hNumTrksDetPhi_B |
|
TProfile_LW * | m_hNumHoTDetPhi_B |
|
TProfile_LW * | m_hAvgTroTDetPhi_B |
|
TProfile_LW * | m_hAvgTroTDetPhi_B_Ar |
|
TH1F_LW * | m_hNumSwLLWoT_B |
|
TProfile_LW * | m_hStrawEffDetPhi_B |
|
TH1F_LW * | m_hHitWMap_B |
|
TH1F_LW * | m_hHitWonTMap_B |
|
TH1F_LW * | m_Pull_Biased_Barrel |
|
TH1F_LW * | m_hResidual_B |
|
TH1F_LW * | m_hResidual_B_20GeV |
|
TH1F_LW * | m_hTimeResidual_B |
|
TH1F_LW * | m_hDriftTimeonTrkDist_B |
|
TH1F_LW * | m_hTronTDist_B |
|
TH2F_LW * | m_hrtRelation_B |
|
TH1F_LW * | m_hHLhitOnTrack_B |
|
TH1F_LW * | m_hHtoLRatioOnTrack_B |
|
TH1F_LW * | m_hHtoLRatioOnTrack_B_Ar |
|
TH1F_LW * | m_hHtoLRatioOnTrack_B_Xe |
|
TH1F_LW * | m_hWireToTrkPosition_B |
|
TH1F_LW * | m_hWireToTrkPosition_B_Ar |
|
TH1F_LW * | m_hResVsDetPhi_B |
|
TProfile * | m_hNHitsperLB_B |
|
TProfile * | m_hNTrksperLB_B |
|
TProfile * | m_hNHLHitsperLB_B |
|
TH1F_LW * | m_hDriftTimeonTrkDist_B_Ar |
|
TH1F_LW * | m_hTronTDist_B_Ar |
|
TH1F_LW * | m_hHitWMap_B_Ar |
|
TH1F_LW * | m_hResidual_B_Ar |
|
TH1F_LW * | m_hResidual_B_Ar_20GeV |
|
TH1F_LW * | m_hTimeResidual_B_Ar |
|
TH2F_LW * | m_hrtRelation_B_Ar |
|
TH1F_LW * | m_hNumTrksDetPhi_E [2] {} |
|
TProfile_LW * | m_hNumHoTDetPhi_E [2] {} |
|
TProfile_LW * | m_hAvgTroTDetPhi_E [2] {} |
|
TProfile_LW * | m_hAvgTroTDetPhi_E_Ar [2] {} |
|
TH1F_LW * | m_hNumSwLLWoT_E [2] {} |
|
TProfile_LW * | m_hStrawEffDetPhi_E [2] {} |
|
TH1F_LW * | m_hHitWMap_E [2] {} |
|
TH1F_LW * | m_hHitWonTMap_E [2] {} |
|
TH1F_LW * | m_Pull_Biased_EndCap |
|
TH1F_LW * | m_hResidual_E [2] {} |
|
TH1F_LW * | m_hResidual_E_20GeV [2] {} |
|
TH1F_LW * | m_hTimeResidual_E [2] {} |
|
TH1F_LW * | m_hDriftTimeonTrkDist_E [2] {} |
|
TH1F_LW * | m_hTronTDist_E [2] {} |
|
TH2F_LW * | m_hrtRelation_E [2] {} |
|
TH1F_LW * | m_hHLhitOnTrack_E [2] {} |
|
TH1F_LW * | m_hHtoLRatioOnTrack_E [2] {} |
|
TH1F_LW * | m_hHtoLRatioOnTrack_E_Ar [2] {} |
|
TH1F_LW * | m_hHtoLRatioOnTrack_E_Xe [2] {} |
|
TH1F_LW * | m_hWireToTrkPosition_E [2] {} |
|
TH1F_LW * | m_hWireToTrkPosition_E_Ar [2] {} |
|
TH1F_LW * | m_hResVsDetPhi_E [2] {} |
|
TProfile * | m_hNHitsperLB_E [2] {} |
|
TProfile * | m_hNTrksperLB_E [2] {} |
|
TProfile * | m_hNHLHitsperLB_E [2] {} |
|
TH1F_LW * | m_hTronTDist_E_Ar [2] {} |
|
TH1F_LW * | m_hDriftTimeonTrkDist_E_Ar [2] {} |
|
TH1F_LW * | m_hHitWMap_E_Ar [2] {} |
|
TH1F_LW * | m_hResidual_E_Ar [2] {} |
|
TH1F_LW * | m_hResidual_E_Ar_20GeV [2] {} |
|
TH1F_LW * | m_hTimeResidual_E_Ar [2] {} |
|
TH2F_LW * | m_hrtRelation_E_Ar [2] {} |
|
TProfile_LW * | m_hStrawsEff [2][64] {} |
|
TProfile_LW * | m_hEvtPhaseDetPhi_B |
|
TProfile_LW * | m_hEvtPhaseDetPhi_E [2] {} |
|
TH1F_LW * | m_hEvtPhase |
|
TH2F_LW * | m_hEvtPhaseVsTrig |
|
TProfile_LW * | m_hChipsEff [2][64] {} |
|
TH1F_LW * | m_hHitOnTrackVsAllS [2][64] {} |
|
TH1F_LW * | m_hHitOnTrackVsAllC [2][64] {} |
|
TH1F_LW * | m_hHitWMapS [2][64] {} |
| Leading Edge in time Window: Straws. More...
|
|
TProfile_LW * | m_hHitTrWMapS [2][64] {} |
| TE in Time Window: Straws. More...
|
|
TProfile_LW * | m_hHitTrMapS [2][64] {} |
| Mean TE: Straws. More...
|
|
TH1F_LW * | m_hHitAMapS [2][64] {} |
| Any LL bit on: Straws if any low threshold bit was set. More...
|
|
TH1F_LW * | m_hHitAWMapS [2][64] {} |
| LL in time window: Straws Any low level hit in time window by straw. More...
|
|
TH1F_LW * | m_hHtoLMapS [2][64] {} |
| HL/LL: Straws The ratio of High Level hits to Low Level hits per straw. More...
|
|
TProfile_LW * | m_hHitToTMapS [2][64] {} |
| Mean ToT (ns): Straws. More...
|
|
TProfile_LW * | m_hHitToTLongMapS [2][64] {} |
| Mean ToT (ns) for straws with ToT > LongToTCut: Straws. More...
|
|
TProfile_LW * | m_hHitToTLongTrMapS [2][64] {} |
| Mean Trailing Edge (ns) for straws with ToT > LongToTCut: Straws. More...
|
|
TH1F_LW * | m_hHitHMapS [2][64] {} |
| High Level: Straws If a hit has any of the high threshold time bins up. More...
|
|
TH1F_LW * | m_hHitHWMapS [2][64] {} |
| HL in time window: Straws If a hit has any of the high threshold time bins up, and is in the time window. More...
|
|
TH1F_LW * | m_hHitWonTMapS [2][64] {} |
| LE in time window on track: Straws. More...
|
|
TProfile_LW * | m_hHitTronTMapS [2][64] {} |
| Mean TE on track: Straws Average Trailing Edge(TE) from a hit associated with a track. More...
|
|
TH1F_LW * | m_hHitAonTMapS [2][64] {} |
| Any LL bit on track: Straws Any low level bit is set from hit associated with a track. More...
|
|
TH1F_LW * | m_hHitAWonTMapS [2][64] {} |
| Any LL bit in time window on track: Straws Any low level (LL) bit set and is in time window from hits associated with tracks This is a track level histogram. More...
|
|
TH1F_LW * | m_hHitHWonTMapS [2][64] {} |
| Any HL hit on track: Straws Any straw with a High Threshold (HL) hit associated with a track. More...
|
|
TH1F_LW * | m_hHitHonTMapS [2][64] {} |
|
TH1F_LW * | m_hHtoLonTMapS [2][64] {} |
| HL in time window on track: Straws Straws with a High Threshold hit associated with a track and the hit is in the time window. More...
|
|
TH1F_LW * | m_hHtoLWonTMapS [2][64] {} |
|
TProfile_LW * | m_hHitToTonTMapS [2][64] {} |
| Mean ToT (ns) on Track: Straws Average Time over Threshold (ToT) from a straw hit associated with a track. More...
|
|
TProfile_LW * | m_hHitTronTwEPCMapS [2][64] {} |
| Mean TE on track (with Event Phase correction): Straws. More...
|
|
TProfile_LW * | m_hValidRawDriftTimeonTrk [2][64] {} |
| Valid Raw Drift Time on Track. More...
|
|
TProfile_LW * | m_hValidRawDriftTimeonTrkC [2][64] {} |
|
TH1F_LW * | m_hHitWMapC [2][64] {} |
|
TProfile_LW * | m_hHitTrMapC [2][64] {} |
|
TProfile_LW * | m_hHitTrWMapC [2][64] {} |
|
TH1F_LW * | m_hHitAMapC [2][64] {} |
|
TH1F_LW * | m_hHitAWMapC [2][64] {} |
|
TH1F_LW * | m_hHtoLMapC [2][64] {} |
|
TH2F_LW * | m_hHtoBCMapC [2][64] {} |
|
TH2F_LW * | m_hHtoBCMapB [2][64] {} |
|
TProfile_LW * | m_hHitToTMapC [2][64] {} |
|
TH1F_LW * | m_hHitHMapC [2][64] {} |
|
TH1F_LW * | m_hHitHWMapC [2][64] {} |
|
TH1F_LW * | m_hHitWonTMapC [2][64] {} |
| LE in time window on track: Chips. More...
|
|
TProfile_LW * | m_hHitTronTMapC [2][64] {} |
|
TH1F_LW * | m_hHitAonTMapC [2][64] {} |
|
TH1F_LW * | m_hHitAWonTMapC [2][64] {} |
|
TH1F_LW * | m_hHitHonTMapC [2][64] {} |
|
TH1F_LW * | m_hHitHWonTMapC [2][64] {} |
|
TH1F_LW * | m_hHtoLonTMapC [2][64] {} |
|
TH1F_LW * | m_hHtoLWonTMapC [2][64] {} |
|
TProfile_LW * | m_hHitToTonTMapC [2][64] {} |
|
TProfile_LW * | m_hHitTronTwEPCMapC [2][64] {} |
|
TProfile_LW * | m_hHitToTrkDistanceMapS_E [64] {} |
|
TProfile_LW * | m_hAvgLLOccMod_side [2][2] {} |
| Avg. More...
|
|
TProfile_LW * | m_hAvgHLOccMod_side [2][2] {} |
|
TProfile_LW * | m_hBCIDvsOcc [2] {} |
|
TH1F_LW * | m_hChipOcc [2][64] {} |
| Avg. More...
|
|
TH1F_LW * | m_hStrawOcc [2][64] {} |
|
TH2F_LW * | m_hHitsOnTrack_Scatter [2] {} |
| Anatoli's "Scatter histograms" ** Monitor quantities as a function of lumi block. More...
|
|
TH2F_LW * | m_hLLOcc_Scatter [2] {} |
|
TH2F_LW * | m_hHightoLowRatioOnTrack_Scatter [2] {} |
|
TH1F_LW * | m_hOccAll |
|
std::vector< float > | m_scale_hHitWMap_B |
|
std::vector< float > | m_scale_hHitWMap_B_Ar |
|
float | m_LLOcc [2][64] {} |
|
TH1F_LW * | m_trackz_All [5][2] {} |
| Initialize Aging plots** HT, All, Barrel, EC, In/A, Out/C, etc... More...
|
|
TH1F_LW * | m_trackz_HT [5][2] {} |
|
TH1F_LW * | m_trackr_All [4][2] {} |
|
TH1F_LW * | m_trackr_HT [4][2] {} |
|
TH1F_LW * | m_IntLum |
|
TH1F_LW * | m_LBvsLum |
|
TH1F_LW * | m_LBvsTime |
|
float | m_HTfraconTrack_B [32] |
|
float | m_LonTrack_B [32] |
|
int | m_nTrack_B [32] |
|
float | m_HTfraconTrack_E [64] |
|
float | m_LonTrack_E [64] |
|
int | m_nTrack_E [64] |
|
bool | m_doRDOsMon |
|
bool | m_doGeoMon |
|
bool | m_doTracksMon |
|
int | m_usedEvents |
|
int | m_nTRTHits [2] |
|
int | m_totalEvents |
|
bool | m_doDCS |
|
bool | m_doASide |
|
bool | m_doCSide |
|
bool | m_doStraws |
|
bool | m_doChips |
|
bool | m_doShift |
|
bool | m_doExpert |
|
bool | m_doMaskStraws |
|
bool | m_doEfficiency |
|
bool | m_doDiagnostic |
|
bool | m_useHoleFinder |
|
int | m_LE_timeWindow_MIN |
|
int | m_LE_timeWindow_MAX |
|
int | m_LL_timeWindow_MIN |
|
int | m_LL_timeWindow_MAX |
|
int | m_HL_timeWindow_MIN |
|
int | m_HL_timeWindow_MAX |
|
bool | m_NoiseSuppressionLevel_30pc |
|
int | m_MIN_N_LL_Hits |
|
int | m_MIN_TOT_Hits |
|
bool | m_NoiseSuppressionMap |
|
float | m_EventPhaseScale |
|
unsigned char | m_mat_chip_B [64][1642] {} |
|
int | m_nStrawHits_B [1642] |
|
unsigned char | m_mat_chip_E [64][3840] {} |
|
int | m_nStrawHits_E [2][3840] |
|
float | m_DriftTimeonTrkDistScale_B |
|
float | m_HLhitOnTrackScale_B |
|
float | m_HtoLRatioOnTrackScale_B |
|
float | m_HtoLRatioOnTrackScale_B_Ar |
|
float | m_HtoLRatioOnTrackScale_B_Xe |
|
float | m_NumSwLLWoTScale_B |
|
float | m_WireToTrkPositionScale_B |
|
float | m_WireToTrkPositionScale_B_Ar |
|
float | m_TronTDistScale_B |
|
float | m_ResidualScale_B |
|
float | m_ResidualScale_B_20GeV |
|
float | m_TimeResidualScale_B |
|
float | m_DriftTimeonTrkDistScale_B_Ar |
|
float | m_TronTDistScale_B_Ar |
|
float | m_ResidualScale_B_Ar |
|
float | m_ResidualScale_B_Ar_20GeV |
|
float | m_TimeResidualScale_B_Ar |
|
int | m_nTrksperLB_B |
|
int | m_nHitsperLB_B |
|
int | m_nHLHitsperLB_B |
|
float | m_DriftTimeonTrkDistScale_E [2] |
|
float | m_HLhitOnTrackScale_E [2] |
|
float | m_HtoLRatioOnTrackScale_E [2] |
|
float | m_HtoLRatioOnTrackScale_E_Ar [2] |
|
float | m_HtoLRatioOnTrackScale_E_Xe [2] |
|
float | m_NumSwLLWoTScale_E [2] |
|
float | m_WireToTrkPositionScale_E [2] |
|
float | m_WireToTrkPositionScale_E_Ar [2] |
|
float | m_TronTDistScale_E [2] |
|
float | m_ResidualScale_E [2] |
|
float | m_ResidualScale_E_20GeV [2] |
|
float | m_TimeResidualScale_E [2] |
|
float | m_DriftTimeonTrkDistScale_E_Ar [2] |
|
float | m_TronTDistScale_E_Ar [2] {} |
|
float | m_ResidualScale_E_Ar [2] |
|
float | m_ResidualScale_E_Ar_20GeV [2] |
|
float | m_TimeResidualScale_E_Ar [2] |
|
int | m_nTrksperLB_E [2] {} |
|
int | m_nHitsperLB_E [2] {} |
|
int | m_nHLHitsperLB_E [2] {} |
|
float | m_maxDistToStraw |
|
float | m_DistToStraw |
|
bool | m_trt_only_trks |
|
bool | m_zero_field |
|
bool | m_DEBUG |
|
bool | m_printEventInfo = false |
|
float | m_longToTCut |
|
int | m_nphi_bins |
|
int | m_EventBurstCut |
|
int | m_lumiBlocksToResetOcc |
|
bool | m_isCosmics |
|
int | m_minTRThits |
|
float | m_minP |
|
int | m_flagforscale |
|
std::string | m_track_collection_hole_finder |
|
float | m_max_abs_d0 |
|
float | m_max_abs_z0 |
|
float | m_min_pT |
|
float | m_max_abs_eta |
|
int | m_min_si_hits |
|
int | m_min_pixel_hits |
|
int | m_min_sct_hits |
|
int | m_min_trt_hits |
|
float | m_track_pt |
|
float | m_track_eta |
|
float | m_track_phi |
|
float | m_track_d0 |
|
float | m_track_z0 |
|
int | m_min_tracks_straw |
|
int | m_every_xth_track |
|
std::string | m_datatype |
|
std::atomic< int > | m_maxtimestamp {0} |
|
TProfile_LW * | m_hefficiency_eta |
|
TProfile_LW * | m_hefficiency_phi |
|
TProfile_LW * | m_hefficiency_pt |
|
TProfile_LW * | m_hefficiency_z0 |
|
TProfile_LW * | m_hefficiencyBarrel_locR |
|
TProfile_LW * | m_hefficiencyBarrel_locR_Ar |
|
TProfile_LW * | m_hefficiencyEndCap_locR [2] {} |
|
TProfile_LW * | m_hefficiencyEndCap_locR_Ar [2] {} |
|
TProfile_LW * | m_hefficiencyMap [2] {} |
|
TProfile_LW * | m_hefficiencyS [2][64] {} |
|
TProfile_LW * | m_hefficiencyC [2][64] {} |
|
TH1F_LW * | m_hefficiency [2][2] {} |
|
TH1F_LW * | m_hefficiencyIntegral [2][2] {} |
|
bool | m_newLowStatInterval |
|
bool | m_newMedStatInterval |
|
bool | m_newHigStatInterval |
|
bool | m_newLowStat |
|
bool | m_newLumiBlock |
|
bool | m_newRun |
|
bool | m_newEventsBlock |
|
bool | m_endOfEventsBlock |
|
bool | m_endOfLowStat |
|
bool | m_endOfLumiBlock |
|
bool | m_endOfRun |
|
SG::ReadCondHandleKey< LuminosityCondData > | m_lumiDataKey {this,"LuminosityCondDataKey","LuminosityCondData","SG Key of LuminosityCondData object"} |
|
SG::ReadCondHandleKey< LBDurationCondData > | m_lbDurationDataKey {this,"LBDurationCondDataKey","LBDurationCondData","SG Key of LBDurationCondData object"} |
|
SG::ReadCondHandleKey< TrigLiveFractionCondData > | m_trigLiveFractionDataKey {this,"TrigLiveFractionCondDataKey","TrigLiveFractionCondData","SG Key of TrigLiveFractionCondData object"} |
|
bool | m_bookHistogramsInitial |
|
bool | m_useLumi |
|
float | m_defaultLBDuration |
|
std::set< Interval_t > | m_supportedIntervalsForRebooking |
|
Imp * | m_d |
|
StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) More...
|
|
StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) More...
|
|
std::vector< SG::VarHandleKeyArray * > | m_vhka |
|
bool | m_varHandleArraysDeclared |
|
Definition at line 65 of file TRT_Monitoring_Tool.h.
◆ MDMap_t
◆ StoreGateSvc_t
◆ GasType
◆ Interval_t
An enumeration describing how detailed a particular monitoring object is.
summary: used to summarize the state of the system
runstat: same as summary
shift: used to flag potential problems
expert: essential for diagnosing problems identified by shift-level objects
debug: useful for standalone debugging, but not for routine monitoring; not essential for diagnosing problems during normal running
transient: too detailed to ever be written; always summarized by the user by means of another object An enumeration describing the interval over which a particular monitoring object is filled (i.e., interval over which the method Fill(...) is called). This information may be stored with the monitoring object if an application is only able to partially fill the object (i.e., a job sees only part of a run or fill). This information may be ignored in some running Environments. The 'fill' interval corresponds to a fill of the LHC. The 'all' interval corresponds to all available data. The 'lumiBlock' and 'fill' intervals are only valid for the 'collisions' DataType_t.
Enumerator |
---|
file | |
eventsBlock | |
lumiBlock | |
lowStat | |
medStat | |
higStat | |
run | |
fill | |
all | |
Definition at line 114 of file ManagedMonitorToolBase.h.
◆ MgmtAttr_t
An enumeration describing how the class handles the histogram.
attrib_unmanaged: histograms with this attribute will not be rebooked automatically and must be managed by the user code.
attrib_x_is_lb: indicates that the x-axis of the histogram is the luminosity block number and that the histogram should be rebooked as necessary if the current LB exceeds the range.
Enumerator |
---|
ATTRIB_MANAGED | |
ATTRIB_UNMANAGED | |
ATTRIB_X_VS_LB | |
Definition at line 131 of file ManagedMonitorToolBase.h.
◆ TRT_Monitoring_Tool()
TRT_Monitoring_Tool::TRT_Monitoring_Tool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
Definition at line 55 of file TRT_Monitoring_Tool.cxx.
64 m_sumTool(
"TRT_StrawStatusSummaryTool",
this),
208 for (
int iside = 0; iside < 2; iside++) {
214 for (
int ibe = 0; ibe < 2; ibe++) {
221 for (
int iside = 0; iside < 2; iside++) {
232 for (
int i = 0;
i < 64;
i++) {
329 for (
int iside = 0; iside < 2; iside++) {
◆ ~TRT_Monitoring_Tool()
TRT_Monitoring_Tool::~TRT_Monitoring_Tool |
( |
| ) |
|
|
virtual |
◆ bookHistograms()
StatusCode ManagedMonitorToolBase::bookHistograms |
( |
| ) |
|
|
virtualinherited |
An inheriting class should either override this function or bookHists().
Reimplemented in SCTHitEffMonTool, SCTHitsNoiseMonTool, SCTErrMonTool, SCTTracksMonTool, SCTLorentzMonTool, photonMonTool, egammaMonToolBase, electronMonTool, MuonPhysValMonitoring::MuonPhysValMonitoringTool, LArCellMonTool, AFPHitsMonitorTool, MuonDQA::MuonEventInfoMonTool, DQTDataFlowMonTool, TileCalCellMonTool, ActsTrk::PhysValTool, PhysValSecVtx, LUCID_HitsMoniTool, ZeeTaPMonTool, forwardElectronMonTool, DQTNonCollBkg_ZDC, TRT_Electron_Monitoring_Tool, InDetGlobalTrackMonTool, CscCalibMonToolBase, JetTagMonitoring, InDetPhysValMonitoringTool, EgammaPhysValMonitoring::EgammaPhysValMonitoringTool, InDetGlobalSynchMonTool, MissingEtDQA::PhysValMET, CaloTowerVecMon, JetTagDQA::PhysValBTag, CscCalibMonToolSlope, METMonTool, DQTGlobalWZFinderTool, CSCSegmValAlg, PhysVal::PhysValExample, TopPhysVal::TopPhysValMonitoring, DataQualityFatherMonTool, CscCalibMonToolPed, ZeeValidation::ZeeValidationMonitoringTool, CaloClusterVecMon, CaloTransverseBalanceVecMon, DQTDetSynchMonTool, InDetTrackPerfMonTool, IDPerfMonWenu, IDPerfMonZee, TrackCaloClusterRecValidationTool, DQTMuonIDTrackTool, InDetGlobalPixelTool, JetMonitoringTool, TileCellNoiseMonTool, CscClusterValAlg, PhysValTau, PhysValFE, AFPTechnicalMonitorTool, ManagedMonitorToolTest, DiMuMon, InDetVertexMonitoring, CscPrdValAlg, CscRdoValAlg, HIMonitoringEventShapeTool, IDPerfMonKshort, HIMonitoringZdcTool, HIMonitoringElectronsTool, HIMonitoringPhotonsTool, PhysValCluster, and HIMonitoringMuonsTool.
Definition at line 1406 of file ManagedMonitorToolBase.cxx.
1410 return StatusCode::SUCCESS;
◆ bookHistogramsRecurrent()
StatusCode TRT_Monitoring_Tool::bookHistogramsRecurrent |
( |
| ) |
|
|
virtual |
An inheriting class should either override this function, bookHists() or bookHistograms().
Reimplemented from ManagedMonitorToolBase.
Definition at line 590 of file TRT_Monitoring_Tool.cxx.
605 if (!rdoContainer.isValid()) {
611 if (!trackCollection.isValid()) {
630 if (
sc == StatusCode::FAILURE) {
639 if (
sc == StatusCode::FAILURE) {
648 if (
sc == StatusCode::FAILURE) {
652 return StatusCode::SUCCESS;
◆ bookHists()
StatusCode ManagedMonitorToolBase::bookHists |
( |
| ) |
|
|
virtualinherited |
◆ bookTH1D_LW()
TH1D_LW * TRT_Monitoring_Tool::bookTH1D_LW |
( |
MonGroup & |
mongroup, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
hTitle, |
|
|
int |
bins, |
|
|
double |
lowbin, |
|
|
double |
highbin, |
|
|
const std::string & |
xTitle, |
|
|
const std::string & |
yTitle, |
|
|
StatusCode & |
scode |
|
) |
| |
|
private |
Definition at line 4430 of file TRT_Monitoring_Tool.cxx.
4433 scode = trtRegHist<TH1D_LW>(
hist, mongroup, hName.c_str());
4434 hist->GetXaxis()->SetLabelSize(0.03);
4435 hist->GetYaxis()->SetLabelSize(0.03);
4436 hist->SetXTitle(xTitle.c_str());
4437 hist->SetYTitle(yTitle.c_str());
◆ bookTH1F_LW()
TH1F_LW * TRT_Monitoring_Tool::bookTH1F_LW |
( |
MonGroup & |
mongroup, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
hTitle, |
|
|
int |
bins, |
|
|
double |
lowbin, |
|
|
double |
highbin, |
|
|
const std::string & |
xTitle, |
|
|
const std::string & |
yTitle, |
|
|
StatusCode & |
scode |
|
) |
| |
|
private |
Definition at line 4417 of file TRT_Monitoring_Tool.cxx.
4420 scode = trtRegHist<TH1F_LW>(
hist, mongroup, hName.c_str());
4421 hist->GetXaxis()->SetLabelSize(0.03);
4422 hist->GetYaxis()->SetLabelSize(0.03);
4423 hist->SetXTitle(xTitle.c_str());
4424 hist->SetYTitle(yTitle.c_str());
◆ bookTH2F_LW()
TH2F_LW * TRT_Monitoring_Tool::bookTH2F_LW |
( |
MonGroup & |
mongroup, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
hTitle, |
|
|
int |
xbins, |
|
|
double |
lowxbins, |
|
|
double |
highxbins, |
|
|
int |
ybins, |
|
|
double |
lowybins, |
|
|
double |
highybins, |
|
|
const std::string & |
xTitle, |
|
|
const std::string & |
yTitle, |
|
|
StatusCode & |
scode |
|
) |
| |
|
private |
Definition at line 4473 of file TRT_Monitoring_Tool.cxx.
4476 scode = trtRegHist<TH2F_LW>(
hist, mongroup, hName.c_str());
4477 hist->GetXaxis()->SetLabelSize(0.03);
4478 hist->GetYaxis()->SetLabelSize(0.03);
4479 hist->SetXTitle(xTitle.c_str());
4480 hist->SetYTitle(yTitle.c_str());
◆ bookTProfile()
TProfile * TRT_Monitoring_Tool::bookTProfile |
( |
MonGroup & |
mongroup, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
hTitle, |
|
|
int |
bins, |
|
|
double |
lowbin, |
|
|
double |
highbin, |
|
|
double |
ymin, |
|
|
double |
ymax, |
|
|
const std::string & |
xTitle, |
|
|
const std::string & |
yTitle, |
|
|
StatusCode & |
scode |
|
) |
| |
|
private |
Definition at line 4443 of file TRT_Monitoring_Tool.cxx.
4446 scode = trtRegHist<TProfile>(
hist, mongroup, hName.c_str());
4447 hist->SetMarkerSize(0.5);
4448 hist->SetMarkerStyle(2);
4449 hist->SetMarkerColor(2);
4450 hist->GetXaxis()->SetLabelSize(0.03);
4451 hist->GetYaxis()->SetLabelSize(0.03);
4452 hist->GetXaxis()->SetTitle(xTitle.c_str());
4453 hist->GetYaxis()->SetTitle(yTitle.c_str());
◆ bookTProfile_LW()
TProfile_LW * TRT_Monitoring_Tool::bookTProfile_LW |
( |
MonGroup & |
mongroup, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
hTitle, |
|
|
int |
bins, |
|
|
double |
lowbin, |
|
|
double |
highbin, |
|
|
double |
ymin, |
|
|
double |
ymax, |
|
|
const std::string & |
xTitle, |
|
|
const std::string & |
yTitle, |
|
|
StatusCode & |
scode |
|
) |
| |
|
private |
Definition at line 4458 of file TRT_Monitoring_Tool.cxx.
4461 scode = trtRegHist<TProfile_LW>(
hist, mongroup, hName.c_str());
4462 hist->SetMarkerSize(0.5);
4463 hist->SetMarkerStyle(2);
4464 hist->SetMarkerColor(2);
4465 hist->GetXaxis()->SetLabelSize(0.03);
4466 hist->GetYaxis()->SetLabelSize(0.03);
4467 hist->GetXaxis()->SetTitle(xTitle.c_str());
4468 hist->GetYaxis()->SetTitle(yTitle.c_str());
◆ bookTRTEfficiency()
StatusCode TRT_Monitoring_Tool::bookTRTEfficiency |
( |
bool |
isNewLumiBlock, |
|
|
bool |
isNewRun |
|
) |
| |
|
private |
Definition at line 893 of file TRT_Monitoring_Tool.cxx.
900 std::string hName, hTitle;
901 const std::string barrel_or_endcap[2] = {
"Barrel",
"EndCap" };
902 const std::string be_id[2] = {
"B",
"E" };
903 const std::string side_id[2] = {
"A",
"C" };
904 MonGroup trackShiftEff(
this,
"TRT/Efficiency",
run, ManagedMonitorToolBase::MgmtAttr_t::ATTRIB_UNMANAGED);
905 m_hefficiency_eta =
bookTProfile_LW(trackShiftEff,
"hEfficiency_eta",
"Efficiency vs #eta", 50, -2.8, 2.8, 0, 1,
"#eta",
"Efficiency", scode);
906 m_hefficiency_phi =
bookTProfile_LW(trackShiftEff,
"hEfficiency_phi",
"Efficiency vs #phi", 50, -3.2, 3.2, 0, 1,
"#phi (deg)",
"Efficiency", scode);
907 m_hefficiency_pt =
bookTProfile_LW(trackShiftEff,
"hEfficiency_pt",
"Efficiency vs pT", 50, 0, 10, 0, 1,
"pT (GeV)",
"Efficiency", scode);
908 m_hefficiency_z0 =
bookTProfile_LW(trackShiftEff,
"hEfficiency_z0",
"Efficiency vs z0", 50, -200, 200, 0, 1,
"z0",
"Efficiency", scode);
909 m_hefficiencyBarrel_locR =
bookTProfile_LW(trackShiftEff,
"hEfficiencyBarrel_locR",
"Efficiency vs Track-to-Wire Distance for Xenon Straws" " (Barrel)", 50, -2.5, 2.5, 0, 1,
"Track-to-Wire Distance (mm)",
"Efficiency", scode);
910 m_hefficiencyBarrel_locR_Ar =
bookTProfile_LW(trackShiftEff,
"hEfficiencyBarrel_locR_Ar",
"Efficiency vs Track-to-Wire Distance for Argon Straws" " (Barrel)", 50, -2.5, 2.5, 0, 1,
"Track-to-Wire Distance (mm)",
"Efficiency", scode);
911 m_hefficiencyMap[0] =
bookTProfile_LW(trackShiftEff,
"hEfficiencyBarrelMap",
"Straw Efficiency Map" " (Barrel)",
s_Straw_max[0], 0,
s_Straw_max[0], 0, 1,
"Straw Number",
"Efficiency", scode);
912 m_hefficiencyMap[1] =
bookTProfile_LW(trackShiftEff,
"hEfficiencyEndCapMap",
"Straw Efficiency Map" " (Endcap)",
s_Straw_max[1], 0,
s_Straw_max[1], 0, 1,
"Straw Number",
"Efficiency", scode);
914 for (
int iside = 0; iside < 2; iside++) {
915 const std::string regionTag =
" (" + be_id[1] + side_id[iside] +
")";
916 m_hefficiencyEndCap_locR[iside] =
bookTProfile_LW(trackShiftEff,
"hEfficiencyEndCap" + side_id[iside] +
"_locR",
"Efficiency vs Track-to-Wire Distance for Xenon Straws" + regionTag, 50, -2.5, 2.5, 0, 1,
"Track-to-Wire Distance (mm)",
"Efficiency", scode);
917 m_hefficiencyEndCap_locR_Ar[iside] =
bookTProfile_LW(trackShiftEff,
"hEfficiencyEndCap" + side_id[iside] +
"_locR_Ar",
"Efficiency vs Track-to-Wire Distance for Argon Straws" + regionTag, 50, -2.5, 2.5, 0, 1,
"Track-to-Wire Distance (mm)",
"Efficiency", scode);
920 for (
int ibe = 0; ibe < 2; ibe++) {
921 for (
int iside = 0; iside < 2; iside++) {
922 const std::string regionTag =
" (" + be_id[ibe] + side_id[iside] +
")";
923 MonGroup trackShiftEffWeighted(
this,
"TRT/Efficiency",
run, ManagedMonitorToolBase::MgmtAttr_t::ATTRIB_UNMANAGED,
"",
"weightedEff");
924 m_hefficiency[ibe][iside] =
bookTH1F_LW(trackShiftEffWeighted,
"hEfficiency" + barrel_or_endcap[ibe] + side_id[iside],
"Straw Efficiency" + regionTag, 500, -0.01, 1.01,
"Efficiency",
"Number of Straws", scode);
925 m_hefficiencyIntegral[ibe][iside] =
bookTH1F_LW(trackShiftEffWeighted,
"hEfficiencyIntegral" + barrel_or_endcap[ibe] + side_id[iside],
"Straw Efficiency Integral" + regionTag, 500, -0.01, 1.01,
"Efficiency",
"Fraction of Straws", scode);
931 for (
int i = imintmp;
i < imaxtmp;
i++) {
932 std::ostringstream oss;
935 oss <<
"TRT/Barrel/Stack" << (
i + 1 - 32 * iside) << side_id[iside];
936 }
else if (ibe == 1) {
937 oss <<
"TRT/Endcap" << side_id[iside] <<
"/Sector" << (
i + 1 - 32 * iside);
940 const std::string hPath = oss.str();
941 MonGroup trackStack(
this, hPath,
run, ManagedMonitorToolBase::MgmtAttr_t::ATTRIB_UNMANAGED);
942 m_hefficiencyS[ibe][
i] =
bookTProfile_LW(trackStack,
"hHitEfficiencyS",
"Straw Efficiency Map",
s_Straw_max[ibe], 0.5,
s_Straw_max[ibe] + 0.5, 0, 1,
"Straw Number",
"Efficiency", scode);
943 m_hefficiencyC[ibe][
i] =
bookTProfile_LW(trackStack,
"hHitEfficiencyC",
"Chip Efficiency Map",
s_iChip_max[ibe], 0.5,
s_iChip_max[ibe] + 0.5, 0, 1,
"Chip Number",
"Efficiency", scode);
◆ bookTRTRDOs()
StatusCode TRT_Monitoring_Tool::bookTRTRDOs |
( |
bool |
isNewLumiBlock, |
|
|
bool |
isNewRun |
|
) |
| |
|
private |
Definition at line 657 of file TRT_Monitoring_Tool.cxx.
666 std::string hName, hTitle;
667 const std::string barrel_or_endcap[2] = {
"Barrel",
"EndCap" };
668 const std::string be_id[2] = {
"B",
"E" };
669 const std::string side_id[2] = {
"A",
"C" };
673 for (
int ibe = 0; ibe < 2; ibe++) {
675 std::ostringstream oss;
679 oss <<
"TRT/Barrel/Stack" <<
i + 1 <<
"A";
681 oss <<
"TRT/Barrel/Stack" <<
i + 1 - 32 <<
"C";
683 }
else if (ibe == 1) {
685 oss <<
"TRT/EndcapA/Sector" <<
i + 1;
687 oss <<
"TRT/EndcapC/Sector" <<
i + 1 - 32;
691 const std::string hPath = oss.str();
692 MonGroup rdoStackWeighted(
this, hPath,
run, ManagedMonitorToolBase::MgmtAttr_t::ATTRIB_UNMANAGED,
"",
"weightedEff");
696 m_hHitTrWMapS[ibe][
i] =
bookTProfile_LW(rdoStackWeighted,
"hHitTrWMapS",
"Mean Trailing Edge in Time Window: Straws",
s_Straw_max[ibe], 0,
s_Straw_max[ibe], 0, 75,
"Straw Number in Stack",
"Time (ns)", scode);
697 m_hHitTrMapS[ibe][
i] =
bookTProfile_LW(rdoStackWeighted,
"hHitTrMapS",
"Mean Trailing Edge: Straws",
s_Straw_max[ibe], 0,
s_Straw_max[ibe], 0, 75,
"Straw Number in Stack",
"Time (ns)", scode);
700 m_hStrawOcc[ibe][
i] =
bookTH1F_LW(rdoStackWeighted,
"hOccupancyS",
"Straw Occupancy Distribution: Straws", 201, 0, 1.005,
"Occupancy",
"Number of Straws", scode);
701 m_hHitToTMapS[ibe][
i] =
bookTProfile_LW(rdoStackWeighted,
"hHitToTMapS",
"Mean ToT: Straws",
s_Straw_max[ibe], 0,
s_Straw_max[ibe], 0, 75,
"Straw Number in Stack",
"Time (ns)", scode);
702 m_hHitToTLongMapS[ibe][
i] =
bookTProfile_LW(rdoStackWeighted,
"hHitToTLongMapS",
"Mean ToT for Straws with ToT > LongToTCut: Straws",
s_Straw_max[ibe], 0,
s_Straw_max[ibe], 0, 75,
"Straw Number in Stack",
"Time (ns)", scode);
703 m_hHitToTLongTrMapS[ibe][
i] =
bookTProfile_LW(rdoStackWeighted,
"hHitToTLongTrMapS",
"Mean Trailing Edge for Straws with ToT > LongToTCut: Straws",
s_Straw_max[ibe], 0,
s_Straw_max[ibe], 0, 75,
"Straw Number in Stack",
"Time (ns)", scode);
711 m_hHitTrMapC[ibe][
i] =
bookTProfile_LW(rdoStackWeighted,
"hHitTrMapC",
"Mean Trailing Edge: Chips",
s_iChip_max[ibe], 0,
s_iChip_max[ibe], 0, 75,
"Chip Number in Stack",
"Time (ns)", scode);
712 m_hHitTrWMapC[ibe][
i] =
bookTProfile_LW(rdoStackWeighted,
"hHitTrWMapC",
"Mean Trailing Edge in Time Window: Chips",
s_iChip_max[ibe], 0,
s_iChip_max[ibe], 0, 75,
"Chip Number in Stack",
"Time (ns)", scode);
715 m_hChipOcc[ibe][
i] =
bookTH1F_LW(rdoStackWeighted,
"hOccupancyC",
"Chip Occupancy Distribution", 201, 0, 1.005,
"Occupancy",
"Number of Chips", scode);
716 m_hHitToTMapC[ibe][
i] =
bookTProfile_LW(rdoStackWeighted,
"hHitToTMapC",
"Mean ToT: Chips",
s_iChip_max[ibe], 0,
s_iChip_max[ibe], 0, 75,
"Chip Number in Stack",
"Time (ns)", scode);
720 m_hHtoBCMapC[ibe][
i] =
bookTH2F_LW(rdoStackWeighted,
"hHtoBCMapC",
"HL in BC: Chips", 3, 0, 3,
s_iChip_max[ibe], 0,
s_iChip_max[ibe],
"Bunch Crossing ID",
"Chip Number in Stack", scode);
723 m_hHtoBCMapB[ibe][
i] =
bookTH2F_LW(rdoStackWeighted,
"hHtoBCMapB",
"HL in BC: Boards", 3, 0, 3, 9, 0, 9,
"Bunch Crossing ID",
"Board Number in Stack", scode);
724 }
else if (ibe == 1) {
725 m_hHtoBCMapB[ibe][
i] =
bookTH2F_LW(rdoStackWeighted,
"hHtoBCMapB",
"HL in BC: Boards", 3, 0, 3, 20, -0.5, 19.5,
"Bunch Crossing ID",
"Board Number in Stack", scode);
733 MonGroup rdoShiftSmry (
this,
"TRT/Shift/Summary",
run, ManagedMonitorToolBase::MgmtAttr_t::ATTRIB_UNMANAGED);
734 MonGroup rdoShiftSmryRebinned (
this,
"TRT/Shift/Summary",
run, ManagedMonitorToolBase::MgmtAttr_t::ATTRIB_UNMANAGED,
"",
"mergeRebinned");
747 m_IntLum =
bookTH1F_LW(rdoShiftSmry,
"hIntLum",
"Luminosity", 1, 0., 1.,
" ",
"Luminosity [#mub^{1}]", scode);
748 m_LBvsLum =
bookTH1F_LW(rdoShiftSmry,
"hLBvsLum",
"Luminosity", 2000, 0., 2000.,
"Luminosity Bin",
"Luminosity [#mub^{1}]", scode);
749 m_LBvsTime =
bookTH1F_LW(rdoShiftSmry,
"hLBvsTime",
"Time", 2000, 0., 2000.,
" Luminosity Bin",
"Time [s]", scode);
750 const unsigned int maxLumiBlock = 200;
754 for (
int ibe = 0; ibe < 2; ibe++) {
755 for (
int iside = 0; iside < 2; iside++) {
756 const std::string regionTag =
" (" + be_id[ibe] + side_id[iside] +
")";
757 m_hChipBSErrorsVsLB[ibe][iside] =
bookTProfile(rdoShiftSmryRebinned,
"hChipBSErrorsVsLB_" + be_id[ibe] + side_id[iside],
"Chip Bytestream Errors vs LB" + regionTag, maxLumiBlock + 1, -0.5, maxLumiBlock + 0.5, 0, 150.0,
"Luminosity Block",
"Fraction of Chips with Errors", scode);
759 m_hRobBSErrorsVsLB[ibe][iside] =
bookTProfile(rdoShiftSmryRebinned,
"hRobBSErrorsVsLB_" + be_id[ibe] + side_id[iside],
"Rob Bytestream Errors vs LB" + regionTag, maxLumiBlock + 1, -0.5, maxLumiBlock + 0.5, 0, 150.0,
"Luminosity Block",
"Fraction of RODs with Errors", scode);
765 const std::string module_or_wheel[2] = {
"Module",
"Wheel" };
766 const std::string stack_or_sector[2] = {
"Barrel Stack",
"Endcap Sector" };
767 const std::string modulenum_assign2[2] = {
"Modules Type 1 (1-32), Type 2 (33-64), Type 3 (65-96)",
"Wheels A (1-32), B (33-64)" };
769 for (
int ibe = 0; ibe < 2; ibe++) {
770 const std::string regionTag =
" (" + barrel_or_endcap[ibe] +
")";
771 MonGroup rdo(
this,
"TRT/" + barrel_or_endcap[ibe] +
"/Expert",
run, ManagedMonitorToolBase::MgmtAttr_t::ATTRIB_UNMANAGED);
772 MonGroup rdoShift (
this,
"TRT/Shift/" + barrel_or_endcap[ibe],
run, ManagedMonitorToolBase::MgmtAttr_t::ATTRIB_UNMANAGED);
773 MonGroup rdoShiftTH1(
this,
"TRT/Shift/" + barrel_or_endcap[ibe],
run, ManagedMonitorToolBase::MgmtAttr_t::ATTRIB_UNMANAGED,
"",
"weightedEff");
782 m_hOccAll =
bookTH1F_LW(rdoShift,
"hOccAll",
"Occupancy per Event", 400, 0.0, 1.0,
"Occupancy",
"Events", scode);
783 }
else if (ibe == 1) {
793 m_hBCIDvsOcc[ibe] =
bookTProfile_LW(rdo,
"hBCIDvsOcc",
"Avg. Occupancy vs BCID" + regionTag, 3565, 0, 3564, 0, 1,
"Bunch Crossing ID",
"Occupancy", scode);
795 for (
int iside = 0; iside < 2; iside++) {
796 const std::string regionTag =
" (" + be_id[ibe] + side_id[iside] +
")";
798 m_hAvgHLOcc_side[ibe][iside] =
bookTProfile_LW(rdoShift,
"hAvgHLOcc_" + regionMarker,
"Avg. HL Occupancy" + regionTag, 32, 1, 33, 0, 1, stack_or_sector[ibe],
"Occupancy", scode);
799 m_hAvgLLOcc_side[ibe][iside] =
bookTProfile_LW(rdoShift,
"hAvgLLOcc_" + regionMarker,
"Avg. LL Occupancy" + regionTag, 32, 1, 33, 0, 1, stack_or_sector[ibe],
"Occupancy", scode);
800 m_hAvgLLOccMod_side[ibe][iside] =
bookTProfile_LW(rdo,
"hAvgLLOccMod_" + regionMarker,
"Avg. LL Occupancy: " + module_or_wheel[ibe] +
"s" + regionTag,
s_moduleNum[ibe], 0,
s_moduleNum[ibe], 0, 1, modulenum_assign2[ibe],
"Occupancy", scode);
801 m_hAvgHLOccMod_side[ibe][iside] =
bookTProfile_LW(rdo,
"hAvgHLOccMod_" + regionMarker,
"Avg. HL Occupancy: " + module_or_wheel[ibe] +
"s" + regionTag,
s_moduleNum[ibe], 0,
s_moduleNum[ibe], 0, 1, modulenum_assign2[ibe],
"Occupancy", scode);
◆ bookTRTShiftTracks()
StatusCode TRT_Monitoring_Tool::bookTRTShiftTracks |
( |
bool |
isNewLumiBlock, |
|
|
bool |
isNewRun |
|
) |
| |
|
private |
Definition at line 954 of file TRT_Monitoring_Tool.cxx.
962 std::string hName, hTitle;
963 std::ostringstream oss_distance;
964 oss_distance << std::setprecision(3) << std::fixed <<
m_DistToStraw;
965 const std::string
distance = oss_distance.str();
968 MonGroup trackBarrelShiftTProf(
this,
"TRT/Shift/Barrel",
run, ManagedMonitorToolBase::MgmtAttr_t::ATTRIB_UNMANAGED);
969 MonGroup trackBarrelDiag(
this,
"TRT/Barrel/Diagnostics",
run, ManagedMonitorToolBase::MgmtAttr_t::ATTRIB_UNMANAGED);
970 const std::string barrel_or_endcap[2] = {
"Barrel",
"EndCap" };
971 const std::string be_id[2] = {
"B",
"E" };
972 const std::string side_id[2] = {
"A",
"C" };
973 const int maxLumiblock = 720;
975 const std::string gas[4] = {
"in_A",
"in_B",
"out_A",
"out_B"};
976 const std::string Mod[5] = {
"1",
"2",
"3",
"shortP",
"shortN"};
978 for (
int ibe = 0; ibe < 2; ibe++) {
979 const std::string regionTag =
" (" + barrel_or_endcap[ibe] +
")";
980 MonGroup trackShift(
this,
"TRT/Shift/" + barrel_or_endcap[ibe],
run, ManagedMonitorToolBase::MgmtAttr_t::ATTRIB_UNMANAGED);
981 MonGroup trackShiftRebinned(
this,
"TRT/Shift/" + barrel_or_endcap[ibe],
run, ManagedMonitorToolBase::MgmtAttr_t::ATTRIB_UNMANAGED,
"",
"mergeRebinned");
982 MonGroup trackShiftTH1(
this,
"TRT/Shift/" + barrel_or_endcap[ibe],
run, ManagedMonitorToolBase::MgmtAttr_t::ATTRIB_UNMANAGED,
"",
"weightedEff");
983 MonGroup trackShiftTH1_lowStat(
this,
"TRT/Shift/" + barrel_or_endcap[ibe],
lowStat, ManagedMonitorToolBase::MgmtAttr_t::ATTRIB_UNMANAGED,
"",
"weightedEff");
984 MonGroup trackAging(
this,
"TRT/Aging/" + barrel_or_endcap[ibe],
lowStat, ManagedMonitorToolBase::MgmtAttr_t::ATTRIB_UNMANAGED);
988 m_hEvtPhase =
bookTH1F_LW(trackShift,
"hEvtPhase",
"Event Phase Correction Factor", 200, -50, 50,
"Event Phase (ns)",
"Entries", scode);
989 m_hEvtPhaseVsTrig =
bookTH2F_LW(trackShift,
"hEvtPhaseVsTrig",
"Event Phase vs L1 Trigger Item", 300, -200, 100, 256, -0.5, 255.5,
"Event Phase (ns)",
"L1 Trigger Item", scode);
990 m_hEvtPhaseDetPhi_B =
bookTProfile_LW(trackShift,
"hEvtPhaseDetPhi",
"Event Phase vs #phi (2D)" + regionTag,
m_nphi_bins, 0, 360, -50, 100.,
"#phi (deg)",
"Event Phase from Tracks per Event", scode);
991 m_hrtRelation_B =
bookTH2F_LW(trackShift,
"hrtRelation",
"R(t) Relation for Xenon Straws" + regionTag, 30, -12.5, 81.25, 50, 0, 2.5,
"Measured Leading Edge (ns)",
"Track-to-Wire Distance (mm)", scode);
992 m_hNumHoTDetPhi_B =
bookTProfile_LW(trackShift,
"hNumHoTDetPhi",
"Number of Hits per Track with " +
distance +
" mm Cut vs #phi" + regionTag,
m_nphi_bins, 0., 360, 0, 150,
"#phi (deg)", Form(
"Hits per Track, TRT Hits >= %d",
m_minTRThits), scode);
993 m_hTronTDist_B =
bookTH1F_LW(trackShiftTH1,
"hTronTDist",
"Trailing Edge Distribution on Track for Xenon Straws" + regionTag, 26, -0.5, 80.75,
"Trailing Edge (ns)",
"Norm. Entries", scode);
994 m_hDriftTimeonTrkDist_B =
bookTH1F_LW(trackShiftTH1,
"hDriftTimeonTrkDist",
"Drift Time Distribution on Track for Xenon Straws" + regionTag, 32, 0, 100.,
"Drift Time (ns)",
"Norm. Entries", scode);
995 m_hNumTrksDetPhi_B =
bookTH1F_LW(trackShift,
"hNumTrksDetPhi",
"Number of Reconstructed Tracks vs #phi (2D)" + regionTag, 60, 0, 360,
"#phi (deg)",
"Number of Tracks", scode);
998 m_hDriftTimeonTrkDist_B_Ar =
bookTH1F_LW(trackShiftTH1,
"hDriftTimeonTrkDist_Ar",
"Drift Time Distribution on Track for Argon Straws" + regionTag, 32, 0, 100.,
"Drift Time (ns)",
"Norm. Entries", scode);
999 m_hTronTDist_B_Ar =
bookTH1F_LW(trackShiftTH1,
"hTronTDist_Ar",
"Trailing Edge Distribution on Track for Argon Straws" + regionTag, 26, -0.5, 80.75,
"Trailing Edge (ns)",
"Norm. Entries", scode);
1000 m_hrtRelation_B_Ar =
bookTH2F_LW(trackShift,
"hrtRelation_Ar",
"R(t) Relation for Argon Straws" + regionTag, 30, -12.5, 81.25, 50, 0, 2.5,
"Measured Leading Edge (ns)",
"Track-to-Wire Distance (mm)", scode);
1001 m_Pull_Biased_Barrel =
bookTH1F_LW(trackShift,
"hPull_Biased_Barrel",
"Biased Track Pulls for Barrel Hits", 200, -2.5, 2.5,
"Pulls",
"Entries", scode);
1002 m_hResidual_B_Ar =
bookTH1F_LW(trackShiftTH1_lowStat,
"hResidual_Ar",
"Residuals for Argon Straws" + regionTag, 200, -2.5, 2.5,
"Hit-to-Track Distance (mm)",
"Norm. Entries", scode);
1003 m_hResidual_B_Ar_20GeV =
bookTH1F_LW(trackShiftTH1,
"hResidual_Ar_20GeV",
"Residuals for Argon Straws" + regionTag +
"(After 20GeV pT cut)", 200, -2.5, 2.5,
"Hit-to-Track Distance (mm)",
"Norm. Entries", scode);
1004 m_hAvgTroTDetPhi_B_Ar =
bookTProfile_LW(trackShift,
"hAvgTroTDetPhi_Ar",
"Avg. Trailing Edge on Track vs #phi (2D) for Argon" + regionTag,
m_nphi_bins, 0, 360, 0, 75.,
"#phi (deg)",
"Trailing Edge (ns)", scode);
1005 m_hTimeResidual_B_Ar =
bookTH1F_LW(trackShiftTH1,
"hTimeResidual_Ar",
"Time Residuals for Argon Straws" + regionTag, 200, -20, 20,
"Time Residual (ns)",
"Norm. Entries", scode);
1006 m_hWireToTrkPosition_B_Ar =
bookTH1F_LW(trackShiftTH1,
"hWireToTrkPosition_Ar",
"Track-to-Wire Distance for Argon" + regionTag, 100, -5., 5,
"Track-to-Wire Distance (mm)",
"Norm. Entries", scode);
1007 m_hHtoLRatioOnTrack_B_Ar =
bookTH1F_LW(trackShiftTH1,
"hHtoLRatioOnTrack_Ar",
"HL/LL Ratio per Reconstructed Track for Argon" + regionTag, 50, 0, 1,
"HL/LL Ratio",
"Norm. Entries", scode);
1010 m_hHtoLRatioOnTrack_B_Xe =
bookTH1F_LW(trackShiftTH1,
"hHtoLRatioOnTrack_Xe",
"HL/LL Ratio per Reconstructed Track for Xenon" + regionTag, 50, 0, 1,
"HL/LL Ratio",
"Norm. Entries", scode);
1011 m_hResidual_B =
bookTH1F_LW(trackShiftTH1_lowStat,
"hResidual",
"Residuals for Xenon Straws" + regionTag, 200, -2.5, 2.5,
"Hit-to-Track Distance (mm)",
"Norm. Entries", scode);
1012 m_hResidual_B_20GeV =
bookTH1F_LW(trackShiftTH1,
"hResidual_20GeV",
"Residuals for Xenon Straws" + regionTag +
"(After 20GeV pT cut)", 200, -2.5, 2.5,
"Hit-to-Track Distance (mm)",
"Norm. Entries", scode);
1013 m_hTimeResidual_B =
bookTH1F_LW(trackShiftTH1,
"hTimeResidual",
"Time Residuals for Xenon Straws" + regionTag, 200, -20, 20,
"Time Residual (ns)",
"Norm. Entries", scode);
1014 m_hWireToTrkPosition_B =
bookTH1F_LW(trackShiftTH1,
"hWireToTrkPosition",
"Track-to-Wire Distance for Xenon" + regionTag, 100, -5., 5,
"Track-to-Wire Distance (mm)",
"Norm. Entries", scode);
1015 m_hNumSwLLWoT_B =
bookTH1F_LW(trackShiftTH1,
"hNumSwLLWoT",
"Number of Straws with Hits on Track in Time Window" + regionTag, 150, 0, 150,
"Number of LL Hits per Track",
"Norm. Entries", scode);
1016 m_hAvgTroTDetPhi_B =
bookTProfile_LW(trackShift,
"hAvgTroTDetPhi",
"Avg. Trailing Edge on Track vs #phi (2D) for Xenon" + regionTag,
m_nphi_bins, 0, 360, 0, 75.,
"#phi (deg)",
"Trailing Edge (ns)", scode);
1017 m_hNTrksperLB_B =
bookTProfile(trackShiftRebinned,
"hNTrksperLB",
"Avg. Number of Reconstructed Tracks per Event" + regionTag, maxLumiblock, -0.5, maxLumiblock - 0.5, 0, 150.0,
"Luminosity Block",
"Number of Tracks", scode);
1019 m_hNHitsperLB_B =
bookTProfile(trackShiftRebinned,
"hNHitsperLB",
"Avg. Occupancy" + regionTag, maxLumiblock, -0.5, maxLumiblock - 0.5, 0, 150.0,
"Luminosity Block",
"Occupancy", scode);
1021 m_hNHLHitsperLB_B =
bookTProfile(trackShiftRebinned,
"hNHLHitsperLB",
"Avg. HL Occupancy" + regionTag, maxLumiblock, -0.5, maxLumiblock - 0.5, 0, 150.0,
"Luminosity Block",
"Occupancy", scode);
1023 m_hHLhitOnTrack_B =
bookTH1F_LW(trackShiftTH1,
"hHLhitOnTrack",
"Number of HL Hits per Reconstructed Track" + regionTag, 50, 0, 50,
"Number of HL Hits per Track",
"Norm. Entries", scode);
1024 m_hHtoLRatioOnTrack_B =
bookTH1F_LW(trackShiftTH1,
"hHtoLRatioOnTrack",
"HL/LL Ratio per Reconstructed Track for All" + regionTag, 50, 0, 1,
"HL/LL Ratio",
"Norm. Entries", scode);
1026 m_hStrawEffDetPhi_B =
bookTProfile_LW(trackShift,
"hStrawEffDetPhi",
"Straw Efficiency on Track with " +
distance +
" mm Cut vs #phi(2D)" + regionTag, 32, 0, 32, 0, 1.2,
"Stack",
"Avg. Straw Efficiency", scode);
1027 }
else if (ibe == 1) {
1028 m_Pull_Biased_EndCap =
bookTH1F_LW(trackShift,
"hPull_Biased_EndCap",
"Biased Track Pulls for EndCap Hits", 200, -2.5, 2.5,
"Pulls",
"Entries", scode);
1030 for (
int iside = 0; iside < 2; iside++) {
1031 const std::string regionTag =
" (" + be_id[ibe] + side_id[iside] +
")";
1032 m_hEvtPhaseDetPhi_E[iside] =
bookTProfile_LW(trackShift,
"hEvtPhaseDetPhi_" + side_id[iside],
"Event Phase vs #phi (2D)" + regionTag,
m_nphi_bins, 0, 360, -50, 100,
"#phi (deg)",
"Event Phase from Tracks per Event", scode);
1033 m_hrtRelation_E[iside] =
bookTH2F_LW(trackShift,
"hrtRelation_" + side_id[iside],
"R(t) Relation for Xenon Straws" + regionTag, 30, -12.5, 81.25, 50, 0, 2.5,
"Measured Leading Edge (ns)",
"Track-to-Wire Distance (mm)", scode);
1034 m_hNumHoTDetPhi_E[iside] =
bookTProfile_LW(trackShift,
"hNumHoTDetPhi_" + side_id[iside],
"Number of Hits per Track with " +
distance +
" mm Cut vs #phi" + regionTag,
m_nphi_bins, 0., 360, 0, 150,
"#phi (deg)", Form(
"Hits per Track, TRT Hits> = %d",
m_minTRThits), scode);
1035 m_hTronTDist_E[iside] =
bookTH1F_LW(trackShiftTH1,
"hTronTDist_" + side_id[iside],
"Trailing Edge Distribution on Track for Xenon Straws" + regionTag, 26, -0.5, 80.75,
"Trailing Edge (ns)",
"Norm. Entries", scode);
1036 m_hDriftTimeonTrkDist_E[iside] =
bookTH1F_LW(trackShiftTH1,
"hDriftTimeonTrkDist_" + side_id[iside],
"Drift Time Distribution on Track for Xenon Straws" + regionTag, 32, 0, 100,
"Drift Time (ns)",
"Norm. Entries", scode);
1037 m_hNumTrksDetPhi_E[iside] =
bookTH1F_LW(trackShift,
"hNumTrksDetPhi_" + side_id[iside],
"Number of Reconstructed Tracks vs #phi (2D)" + regionTag, 60, 0, 360,
"#phi (deg)",
"Number of Tracks", scode);
1038 m_hResidual_E[iside] =
bookTH1F_LW(trackShiftTH1_lowStat,
"hResidual_" + side_id[iside],
"Residuals for Xenon Straws" + regionTag, 200, -2.5, 2.5,
"Hit-to-Track Distance (mm)",
"Norm. Entries", scode);
1039 m_hResidual_E_20GeV[iside] =
bookTH1F_LW(trackShiftTH1,
"hResidual_" + side_id[iside] +
"_20GeV",
"Residuals for Xenon Straws" + regionTag +
"(After 20GeV pT cut)", 200, -2.5, 2.5,
"Hit-to-Track Distance (mm)",
"Norm. Entries", scode);
1040 m_hTimeResidual_E[iside] =
bookTH1F_LW(trackShiftTH1,
"hTimeResidual_" + side_id[iside],
"Time Residuals for Xenon Straws" + regionTag, 200, -20, 20,
"Time Residual (ns)",
"Norm. Entries", scode);
1043 m_hTronTDist_E_Ar[iside] =
bookTH1F_LW(trackShiftTH1,
"hTronTDist_Ar_" + side_id[iside],
"Trailing Edge Distribution on Track for Argon Straws" + regionTag, 26, -0.5, 80.75,
"Trailing Edge (ns)",
"Norm. Entries", scode);
1044 m_hAvgTroTDetPhi_E_Ar[iside] =
bookTProfile_LW(trackShift,
"hAvgTroTDetPhi_Ar_" + side_id[iside],
"Avg. Trailing Edge on Track vs #phi (2D) for Argon" + regionTag,
m_nphi_bins, 0, 360, 0, 75.,
"#phi (deg)",
"Trailing Edge (ns)", scode);
1045 m_hrtRelation_E_Ar[iside] =
bookTH2F_LW(trackShift,
"hrtRelation_Ar_" + side_id[iside],
"R(t) Relation for Argon Straws" + regionTag, 30, -12.5, 81.25, 50, 0, 2.5,
"Measured Leading Edge (ns)",
"Track-to-Wire Distance (mm)", scode);
1046 m_hDriftTimeonTrkDist_E_Ar[iside] =
bookTH1F_LW(trackShiftTH1,
"hDriftTimeonTrkDist_Ar_" + side_id[iside],
"Drift Time Distribution on Track for Argon Straws" + regionTag, 32, 0, 100,
"Drift Time (ns)",
"Norm. Entries", scode);
1047 m_hResidual_E_Ar[iside] =
bookTH1F_LW(trackShiftTH1_lowStat,
"hResidual_Ar_" + side_id[iside],
"Residuals for Argon Straws" + regionTag, 200, -2.5, 2.5,
"Hit-to-Track Distance (mm)",
"Norm. Entries", scode);
1048 m_hResidual_E_Ar_20GeV[iside] =
bookTH1F_LW(trackShiftTH1,
"hResidual_Ar_" + side_id[iside] +
"_20GeV",
"Residuals for Argon Straws" + regionTag +
"(After 20GeV pT cut)", 200, -2.5, 2.5,
"Hit-to-Track Distance (mm)",
"Norm. Entries", scode);
1049 m_hTimeResidual_E_Ar[iside] =
bookTH1F_LW(trackShiftTH1,
"hTimeResidual_Ar_" + side_id[iside],
"Time Residuals for Argon Straws" + regionTag, 200, -20, 20,
"Time Residual (ns)",
"Norm. Entries", scode);
1050 m_hWireToTrkPosition_E_Ar[iside] =
bookTH1F_LW(trackShiftTH1,
"hWireToTrkPosition_Ar_" + side_id[iside],
"Track-to-Wire Distance for Argon" + regionTag, 100, -5., 5,
"Track-to-Wire Distance (mm)",
"Norm. Entries", scode);
1051 m_hHtoLRatioOnTrack_E_Ar[iside] =
bookTH1F_LW(trackShiftTH1,
"hHtoLRatioOnTrack_Ar_" + side_id[iside],
"HL/LL Ratio per Reconstructed Track for Argon" + regionTag, 50, 0, 1.0,
"HL/LL Ratio",
"Norm. Entries", scode);
1054 m_hHtoLRatioOnTrack_E_Xe[iside] =
bookTH1F_LW(trackShiftTH1,
"hHtoLRatioOnTrack_Xe_" + side_id[iside],
"HL/LL Ratio per Reconstructed Track for Xenon" + regionTag, 50, 0, 1.0,
"HL/LL Ratio",
"Norm. Entries", scode);
1055 m_hWireToTrkPosition_E[iside] =
bookTH1F_LW(trackShiftTH1,
"hWireToTrkPosition_" + side_id[iside],
"Track-to-Wire Distance for Xenon" + regionTag, 100, -5., 5,
"Track-to-Wire Distance (mm)",
"Norm. Entries", scode);
1056 m_hNumSwLLWoT_E[iside] =
bookTH1F_LW(trackShiftTH1,
"hNumSwLLWoT_" + side_id[iside],
"Number of Straws with Hits on Track in Time Window" + regionTag, 150, 0, 150,
"Number of LL Hits per Track",
"Norm. Entries", scode);
1057 m_hAvgTroTDetPhi_E[iside] =
bookTProfile_LW(trackShift,
"hAvgTroTDetPhi_" + side_id[iside],
"Avg. Trailing Edge on Track vs #phi (2D) for Xenon" + regionTag,
m_nphi_bins, 0, 360, 0, 75.,
"#phi (deg)",
"Trailing Edge (ns)", scode);
1058 m_hNTrksperLB_E[iside] =
bookTProfile(trackShiftRebinned,
"hNTrksperLB_" + side_id[iside],
"Avg. Number of Reconstructed Tracks per Event" + regionTag, maxLumiblock, -0.5, maxLumiblock - 0.5, 0, 150.0,
"Luminosity Block",
"Number of Tracks", scode);
1060 m_hNHitsperLB_E[iside] =
bookTProfile(trackShiftRebinned,
"hNHitsperLB_" + side_id[iside],
"Avg. Occupancy" + regionTag, maxLumiblock, -0.5, maxLumiblock - 0.5, 0, 150.0,
"Luminosity Block",
"Occupancy", scode);
1062 m_hNHLHitsperLB_E[iside] =
bookTProfile(trackShiftRebinned,
"hNHLHitsperLB_" + side_id[iside],
"Avg. HL Occupancy" + regionTag, maxLumiblock, -0.5, maxLumiblock - 0.5, 0, 150.0,
"Luminosity Block",
"Occupancy", scode);
1064 m_hHLhitOnTrack_E[iside] =
bookTH1F_LW(trackShiftTH1,
"hHLhitOnTrack_" + side_id[iside],
"Number of HL Hits per Reconstructed Track" + regionTag, 50, 0, 50,
"Number of HL Hits per Track",
"Norm. Entries", scode);
1065 m_hHtoLRatioOnTrack_E[iside] =
bookTH1F_LW(trackShiftTH1,
"hHtoLRatioOnTrack_" + side_id[iside],
"HL/LL Ratio per Reconstructed Track for All" + regionTag, 50, 0, 1.0,
"HL/LL Ratio",
"Norm. Entries", scode);
1067 m_hStrawEffDetPhi_E[iside] =
bookTProfile_LW(trackShift,
"hStrawEffDetPhi_" + side_id[iside],
"Straw Efficiency on Track with " +
distance +
" mm Cut vs #phi(2D)" + regionTag, 32, 0, 32, 0, 1.2,
"Stack",
"Avg. Straw Efficiency", scode);
1071 m_hHitsOnTrack_Scatter[ibe] =
bookTH2F_LW(trackShift,
"m_hHitsOnTrack_Scatter",
"Hits per Track in Time Window in Stacks" + regionTag, 1440, -0.5, 1440 - 0.5, 80, 0, 80,
"Luminosity Block (mod 1440)",
"Number of Hits per Track in Stacks", scode);
1072 m_hLLOcc_Scatter[ibe] =
bookTH2F_LW(trackShift,
"m_hLLOcc_Scatter",
"LL Occupancy in Stacks" + regionTag, 1440, -0.5, 1440 - 0.5, 400, 0.0, 1.0,
"Luminosity Block (mod 1440)",
"LL Occupancy in Stacks", scode);
1073 m_hHightoLowRatioOnTrack_Scatter[ibe] =
bookTH2F_LW(trackShift,
"m_hHightoLowRatioOnTrack_Scatter",
"HL/LL Ratio on Track in Stacks" + regionTag, 1440, -0.5, 1440 - 0.5, 40, 0.0, 0.5,
"Luminosity Block (mod 1440)",
"HL/LL Ratio in Stacks", scode);
1078 for (
int iL = 0; iL < 5; iL++) {
1079 for (
int iSide = 0; iSide < 2; iSide++) {
1082 m_trackz_All[iL][iSide] =
bookTH1F_LW(trackAging,
"trackz_m" + Mod[iL] +
"_" + side_id[iSide] +
"_All",
"Number All Hits side " + side_id[iSide] +
" Layer " + Mod[iL], 30, -750., 750.,
"z [mm]",
"Number of Hits", scode);
1083 m_trackz_HT[iL][iSide] =
bookTH1F_LW(trackAging,
"trackz_m" + Mod[iL] +
"_" + side_id[iSide] +
"_HT",
"Number HT Hits side " + side_id[iSide] +
" Layer " + Mod[iL], 30, -750., 750.,
"z [mm]",
"Number of HT Hits", scode);
1087 m_trackz_All[iL][iSide] =
bookTH1F_LW(trackAging,
"trackz_m1_" + side_id[iSide] +
"_All_" + Mod[iL],
"Number All Hits side " + side_id[iSide] +
" Layer 1 " + Mod[iL], 30, 0., 725.,
"z [mm]",
"Number of Hits", scode);
1088 m_trackz_HT[iL][iSide] =
bookTH1F_LW(trackAging,
"trackz_m1_" + side_id[iSide] +
"_HT_" + Mod[iL],
"Number HT Hits side " + side_id[iSide] +
" Layer 1 " + Mod[iL], 30, 0., 725.,
"z [mm]",
"Number of HT Hits", scode);
1092 m_trackz_All[iL][iSide] =
bookTH1F_LW(trackAging,
"trackz_m1_" + side_id[iSide] +
"_All_" + Mod[iL],
"Number All Hits side " + side_id[iSide] +
" Layer 1 " + Mod[iL], 30, -725., 0.,
"z [mm]",
"Number of Hits", scode);
1093 m_trackz_HT[iL][iSide] =
bookTH1F_LW(trackAging,
"trackz_m1_" + side_id[iSide] +
"_HT_" + Mod[iL],
"Number HT Hits side " + side_id[iSide] +
" Layer 1 " + Mod[iL], 30, -725., 0.,
"z [mm]",
"Number of HT Hits", scode);
1095 }
else if (ibe == 1) {
1098 m_trackr_All[iL][iSide] =
bookTH1F_LW(trackAging,
"trackr_E" + side_id[iSide] +
"_" + gas[iL] +
"_All",
"Number All Hits E" + side_id[iSide] +
" " + gas[iL], 30, 644., 1004.,
"r [mm]",
"Number of Hits", scode);
1099 m_trackr_HT[iL][iSide] =
bookTH1F_LW(trackAging,
"trackr_E" + side_id[iSide] +
"_" + gas[iL] +
"_HT",
"Number HT Hits E" + side_id[iSide] +
" " + gas[iL], 30, 644., 1004.,
"r [mm]",
"Number of HT Hits", scode);
◆ bookTRTTracks()
StatusCode TRT_Monitoring_Tool::bookTRTTracks |
( |
bool |
isNewLumiBlock, |
|
|
bool |
isNewRun |
|
) |
| |
|
private |
Definition at line 813 of file TRT_Monitoring_Tool.cxx.
822 std::string hName, hTitle;
823 const std::string barrel_or_endcap[2] = {
"Barrel",
"EndCap" };
825 for (
int ibe = 0; ibe < 2; ibe++) {
826 std::ostringstream oss_distance;
827 oss_distance << std::setprecision(3) << std::fixed <<
m_DistToStraw;
828 const std::string
distance = oss_distance.str();
829 const std::string hPathGen =
"TRT/" + barrel_or_endcap[ibe] +
"/Expert";
830 const std::string regionTag =
" (" + barrel_or_endcap[ibe] +
")";
833 std::ostringstream oss;
837 oss <<
"TRT/Barrel/Stack" <<
i + 1 <<
"A";
839 oss <<
"TRT/Barrel/Stack" <<
i + 1 - 32 <<
"C";
841 }
else if (ibe == 1) {
843 oss <<
"TRT/EndcapA/Sector" <<
i + 1;
845 oss <<
"TRT/EndcapC/Sector" <<
i + 1 - 32;
849 const std::string hPath = oss.str();
850 MonGroup trackStackWeighted(
this, hPath,
run, ManagedMonitorToolBase::MgmtAttr_t::ATTRIB_UNMANAGED,
"",
"weightedEff");
854 m_hHitTronTMapS[ibe][
i] =
bookTProfile_LW(trackStackWeighted,
"hHitTronTMapS",
"Mean Trailing Edge on Track: Straws",
s_Straw_max[ibe], 0,
s_Straw_max[ibe], 0, 75.0,
"Straw Number in Stack",
"Time (ns)", scode);
856 m_hStrawsEff[ibe][
i] =
bookTProfile_LW(trackStackWeighted,
"hEfficiencyS",
"Straw Efficiency with " +
distance +
" mm Cut",
s_Straw_max[ibe], 0,
s_Straw_max[ibe], 0.0, 1.0,
"Straw Number in Stack",
"Efficiency", scode);
861 m_hHitToTonTMapS[ibe][
i] =
bookTProfile_LW(trackStackWeighted,
"hHitToTonTMapS",
"Mean ToT on Track: Straws",
s_Straw_max[ibe], 0,
s_Straw_max[ibe], 0, 75,
"Straw Number in Stack",
"Time (ns)", scode);
862 m_hValidRawDriftTimeonTrk[ibe][
i] =
bookTProfile_LW(trackStackWeighted,
"hValidRawDriftTimeonTrkS",
"Valid Raw Drift Time on Track: Straws",
s_Straw_max[ibe], 0,
s_Straw_max[ibe], 0, 75,
"Straw Number in Stack",
"Time (ns)", scode);
865 m_hHitTronTwEPCMapS[ibe][
i] =
bookTProfile_LW(trackStackWeighted,
"hHitTronTwEPCMapS",
"Mean Trailing Edge on Track (with Event Phase Correction): Straws",
s_Straw_max[ibe], 0,
s_Straw_max[ibe], -50, 75,
"Straw Number in Stack",
"Time (ns)", scode);
871 m_hHitTronTMapC[ibe][
i] =
bookTProfile_LW(trackStackWeighted,
"hHitTronTMapC",
"Mean Trailing Edge on Track: Chips",
s_iChip_max[ibe], 0,
s_iChip_max[ibe], 0, 75,
"Chip Number in Stack",
"Time (ns)", scode);
873 m_hChipsEff[ibe][
i] =
bookTProfile_LW(trackStackWeighted,
"hEfficiencyC",
"Chip Efficiency with " +
distance +
" mm Cut",
s_iChip_max[ibe], 0,
s_iChip_max[ibe], 0.0, 1.0,
"Chip Number in Stack",
"Efficiency", scode);
877 m_hHitToTonTMapC[ibe][
i] =
bookTProfile_LW(trackStackWeighted,
"hHitToTonTMapC",
"Mean ToT on Track: Chips",
s_iChip_max[ibe], 0,
s_iChip_max[ibe], 0, 75,
"Chip Number in Stack",
"Time (ns)", scode);
878 m_hValidRawDriftTimeonTrkC[ibe][
i] =
bookTProfile_LW(trackStackWeighted,
"hValidRawDriftTimeonTrkC",
"Valid Raw Drift Time on Track: Chips",
s_iChip_max[ibe], 0,
s_iChip_max[ibe], 0, 75,
"Chip Number in Stack",
"Time (ns)", scode);
881 m_hHitTronTwEPCMapC[ibe][
i] =
bookTProfile_LW(trackStackWeighted,
"hHitTronTwEPCMapC",
"Mean Trailing Edge on Track (with Event Phase Correction): Chips",
s_iChip_max[ibe], 0,
s_iChip_max[ibe], -50, 75,
"Chip Number in Stack",
"Time (ns)", scode);
◆ checkEventBurst()
Definition at line 1746 of file TRT_Monitoring_Tool.cxx.
1756 for (; RDO_CollectionBegin != RDO_CollectionEnd; ++RDO_CollectionBegin) {
1759 if (!TRT_Collection)
continue;
1763 for (; p_rdo != TRT_Collection->end(); ++p_rdo) {
1766 if (!p_lolum)
continue;
1775 return StatusCode::SUCCESS;
◆ checkHists()
StatusCode ManagedMonitorToolBase::checkHists |
( |
bool |
calledFromFinalize | ) |
|
|
virtualinherited |
This implementation does nothing; equivalent functionality may be provided by procHists(...) with appropriate arguments.
Implements IMonitorToolBase.
Reimplemented in SCTHitsNoiseMonTool, SCTTracksMonTool, SCTLorentzMonTool, TileRawChannelMonTool, TileDigitsMonTool, DQTDataFlowMonTool, DQTNonCollBkg_ZDC, DQTGlobalWZFinderTool, DataQualityFatherMonTool, DQTDetSynchMonTool, DQTMuonIDTrackTool, TileCellNoiseMonTool, CscCalibMonToolBase, CscPrdValAlg, and CscRdoValAlg.
Definition at line 1901 of file ManagedMonitorToolBase.cxx.
1906 return StatusCode::SUCCESS;
◆ checkTRTReadoutIntegrity()
Definition at line 4001 of file TRT_Monitoring_Tool.cxx.
4011 bsErrCont=bsErrContHdl.cptr();
4026 const std::set<std::pair<uint32_t, uint32_t> > &L1IDErrorSet = bsErrCont->
getL1ErrorSet();
4027 const std::set<std::pair<uint32_t, uint32_t> > &BCIDErrorSet = bsErrCont->
getBCIDErrorSet();
4029 const std::set<uint32_t> &SidErrorSet = bsErrCont->
getSidErrorSet();
4030 const std::set<std::pair<uint32_t, uint32_t> > &RobStatusErrorSet = bsErrCont->
getRobErrorSet();
4032 const unsigned int rod_id_base[2][2] = { { 0x310000, 0x320000 }, { 0x330000, 0x340000 } };
4033 const unsigned int nChipsTotal[2][2] = { { 3328, 3328 }, { 7680, 7680 } };
4034 const unsigned int nRobsTotal[2][2] = { { 32, 32 }, { 64, 64 } };
4035 float nBSErrors[2][2] = { { 0, 0 }, { 0, 0 } };
4036 float nRobErrors[2][2] = { { 0, 0 }, { 0, 0 } };
4037 const std::set<std::pair<uint32_t, uint32_t> > *errorset1[2] = { &BCIDErrorSet, &L1IDErrorSet };
4039 for (
int iset = 0; iset < 2; ++iset) {
4040 for (
auto setIt = errorset1[iset]->
begin(); setIt != errorset1[iset]->end(); ++setIt) {
4041 for (
int ibe = 0; ibe < 2; ++ibe) {
4042 for (
int iside = 0; iside < 2; ++iside) {
4043 if (((setIt->first >> 8) & 0xFF0000) == rod_id_base[ibe][iside]) {
4044 nBSErrors[ibe][iside] += 1. / nChipsTotal[ibe][iside];
4051 const std::set<uint32_t> *errorset2[2] = { &MissingErrorSet, &SidErrorSet };
4053 for (
int iset = 0; iset < 2; ++iset) {
4054 for (
auto setIt = errorset2[iset]->
begin(); setIt != errorset2[iset]->end(); ++setIt) {
4055 for (
int ibe = 0; ibe < 2; ++ibe) {
4056 for (
int iside = 0; iside < 2; ++iside) {
4057 if (((*setIt >> 8) & 0xFF0000) == rod_id_base[ibe][iside]) {
4058 nBSErrors[ibe][iside] += 1. / nChipsTotal[ibe][iside];
4065 for (
int ibe = 0; ibe < 2; ++ibe) {
4066 for (
int iside = 0; iside < 2; ++iside) {
4072 for (
auto setIt = RobStatusErrorSet.begin(); setIt != RobStatusErrorSet.end(); ++setIt) {
4073 for (
int ibe = 0; ibe < 2; ++ibe) {
4074 for (
int iside = 0; iside < 2; ++iside) {
4075 if (setIt->first % rod_id_base[ibe][iside] < 0xffff) {
4076 nRobErrors[ibe][iside] += 1. / nRobsTotal[ibe][iside];
4082 for (
int ibe = 0; ibe < 2; ++ibe) {
4083 for (
int iside = 0; iside < 2; ++iside) {
◆ chipToBoard()
int TRT_Monitoring_Tool::chipToBoard |
( |
int |
chip | ) |
|
|
staticprivate |
Definition at line 4305 of file TRT_Monitoring_Tool.cxx.
4317 const int list[] = {10, 11, 15, 9, 9, 11, 12, 13, 14};
4321 for (
int i = 0;
i < 9;
i++) {
4324 if (chip <
count)
return i + 1;
4325 else if (chip == 104)
return 9;
4328 assert(
count == 104);
◆ chipToBoard_EndCap()
int TRT_Monitoring_Tool::chipToBoard_EndCap |
( |
int |
chip | ) |
|
|
staticprivate |
◆ convertLWHists()
StatusCode ManagedMonitorToolBase::convertLWHists |
( |
| ) |
|
|
virtualinherited |
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ deregGraph()
StatusCode ManagedMonitorToolBase::deregGraph |
( |
TGraph * |
g | ) |
|
|
virtualinherited |
◆ deregHist() [1/2]
StatusCode ManagedMonitorToolBase::deregHist |
( |
LWHist * |
h | ) |
|
|
virtualinherited |
Definition at line 1826 of file ManagedMonitorToolBase.cxx.
1830 return StatusCode::FAILURE;
1833 if (
h->usingROOTBackend()) {
1834 h->setOwnsROOTHisto(
true);
1838 return StatusCode::SUCCESS;
◆ deregHist() [2/2]
StatusCode ManagedMonitorToolBase::deregHist |
( |
TH1 * |
h | ) |
|
|
virtualinherited |
◆ deregObject() [1/2]
StatusCode ManagedMonitorToolBase::deregObject |
( |
const std::string & |
objName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
De-registers a TObject from the THistSvc, but does NOT delete the object.
(NB: LightWeight histograms are not even registered until readout).
Definition at line 1861 of file ManagedMonitorToolBase.cxx.
1874 return StatusCode::SUCCESS;
◆ deregObject() [2/2]
StatusCode ManagedMonitorToolBase::deregObject |
( |
const std::string & |
objName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
De-registers a TObject from the THistSvc, but does NOT delete the object.
(NB: LightWeight histograms are not even registered until readout).
Definition at line 1851 of file ManagedMonitorToolBase.cxx.
◆ detStore()
◆ divide_LWHist()
Definition at line 4392 of file TRT_Monitoring_Tool.cxx.
4396 if (
result->GetXaxis()->GetNbins() !=
a->GetXaxis()->GetNbins() ||
b->GetXaxis()->GetNbins() !=
a->GetXaxis()->GetNbins())
return;
4400 double contentA, errorA;
4401 double contentB, errorB;
4402 a->resetActiveBinLoop();
4404 while (
a->getNextActiveBin(
index, contentA, errorA)) {
4405 b->GetBinContentAndError(
index, contentB, errorB);
4410 result->SetBinContentAndError(
index, contentA / contentB, 0);
4413 result->SetEntries(
a->GetEntries());
◆ endOfEventsBlockFlag()
bool ManagedMonitorToolBase::endOfEventsBlockFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ endOfLowStatFlag()
bool ManagedMonitorToolBase::endOfLowStatFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ endOfLumiBlockFlag()
bool ManagedMonitorToolBase::endOfLumiBlockFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ endOfRunFlag()
bool ManagedMonitorToolBase::endOfRunFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ fillHistograms()
StatusCode TRT_Monitoring_Tool::fillHistograms |
( |
| ) |
|
|
virtual |
An inheriting class should either override this function or fillHists().
Reimplemented from ManagedMonitorToolBase.
Definition at line 1111 of file TRT_Monitoring_Tool.cxx.
1126 if (htrigDecision.isValid()) {
1127 trigDecision = htrigDecision.get();
1131 if (!xAODEventInfo.isValid()) {
1134 return StatusCode::FAILURE;
1138 if (!rdoContainer.isValid()) {
1141 return StatusCode::FAILURE;
1149 if (!trtBCIDCollection.isValid()) {
1163 if (!trackCollection.isValid()) {
1166 return StatusCode::FAILURE;
1173 if (!comTimeObject.isValid()) {
1178 ATH_CHECK(
fillTRTTracks(*trackCollection, trigDecision, comTimeObject.isValid() ? comTimeObject.cptr() :
nullptr) );
1183 if (!combTrackCollection.isValid()) {
1186 return StatusCode::FAILURE;
1193 if (!trackCollection.isValid()) {
1196 return StatusCode::FAILURE;
1204 return StatusCode::SUCCESS;
◆ fillHists()
StatusCode ManagedMonitorToolBase::fillHists |
( |
| ) |
|
|
virtualinherited |
Calls fillHists( bool, bool, bool ); if an eventBlock,lumiBlock, or run has turned over, calls procHists( bool, bool, bool ) and bookHists( bool, bool, bool ).
Implements IMonitorToolBase.
Reimplemented in TileRawChannelMonTool, and TileDigitsMonTool.
Definition at line 792 of file ManagedMonitorToolBase.cxx.
798 msg(MSG::WARNING) <<
"ManagedMonitorToolBase::initialize() never called from reimplementation!" <<
endmsg;
809 newLumiBlock =
false;
815 newLowStatInterval =
false;
816 newMedStatInterval =
false;
817 newHigStatInterval =
false;
830 isNewEventsBlock =
true;
845 if( LBsLowStat*LBsMedStat*LBsHigStat == 0) {
846 msg(MSG::WARNING) <<
"zero LBs requested for interval" <<
endmsg;
898 std::vector<Interval_t> intervals_to_process;
903 for (
const auto interval: intervals_to_process) {
916 it.m_templateHist->LabelsInflate(
"X");
923 TH1* passedHist =
it.m_templateHist->GetCopyPassedHisto();
924 TH1* totalHist =
it.m_templateHist->GetCopyTotalHisto();
927 passedHist->LabelsInflate(
"X");
928 totalHist->LabelsInflate(
"X");
933 it.m_templateHist->SetPassedHistogram(*passedHist,
"f");
934 it.m_templateHist->SetTotalHistogram(*totalHist,
" ");
942 streamname->updateRunLB();
958 bool filterresult(
true);
961 for (; filterresult && (ifilter != filterend);
963 filterresult = (filterresult && (*ifilter)->accept());
993 if( LBsLowStat*LBsMedStat*LBsHigStat > 0) {
1001 return StatusCode::SUCCESS;
◆ fillTRTEfficiency()
Definition at line 3533 of file TRT_Monitoring_Tool.cxx.
3541 for (
auto track = combTrackCollection.begin();
track != combTrackCollection.end(); ++
track) {
3547 const Trk::Perigee *perigee = (*track)->perigeeParameters();
3561 <<
" theta = " << perigee->parameters()[
Trk::theta] <<
"\n"
3562 <<
" qOverP = " << perigee->parameters()[
Trk::qOverP]);
3571 ATH_MSG_DEBUG(
"This track has " << track_states->
size() <<
" track states on surface.");
3573 ATH_MSG_DEBUG(
"This track has null track states on surface.");
3594 const bool passed_track_preselection =
3597 (perigee->pT() > min_pt_new) &&
3604 <<
" and nsct = " << n_sct_hits
3605 <<
" and npix = " << n_pixel_hits);
3607 if (!passed_track_preselection) {
3614 for (
auto it = track_states->
begin();
it != track_states->
end();
it++) {
3619 if (!track_parameters)
continue;
3634 int ibe = abs(barrel_ec) - 1;
3636 int iside = barrel_ec > 0 ? 0 : 1;
3644 }
else if (ibe == 1) {
3652 if (fabs(
locR) >= 1.3)
continue;
3654 int thisStrawNumber = 0;
3660 if (thisStrawNumber >= 0 && thisStrawNumber <
s_Straw_max[ibe])
3662 }
else if (ibe == 1) {
3665 if (thisStrawNumber >= 0 && thisStrawNumber <
s_Straw_max[ibe])
3675 }
else if (iside == 1) {
3701 if (!track_parameters)
continue;
3716 int ibe = abs(barrel_ec) - 1;
3718 int iside = barrel_ec > 0 ? 0 : 1;
3726 }
else if (ibe == 1) {
3734 if (fabs(
locR) >= 1.3)
continue;
3736 int thisStrawNumber = 0;
3742 if (thisStrawNumber >= 0 && thisStrawNumber <
s_Straw_max[ibe]) {
3745 }
else if (ibe == 1) {
3748 if (thisStrawNumber >= 0 && thisStrawNumber <
s_Straw_max[ibe]) {
3759 }
else if (iside == 1) {
3775 double n_BorE[2][2];
3776 double total_BorE[2][2];
3778 for (
int ibe = 0; ibe < 2; ibe++) {
3779 for (
int iside = 0; iside < 2; iside++) {
3783 for (
int i = 0;
i < 32;
i++) {
3784 for (
int ibin = 0; ibin <=
s_Straw_max[ibe]; ibin++) {
3793 total_BorE[ibe][iside] = 0.0;
3802 return StatusCode::SUCCESS;
◆ fillTRTHighThreshold()
Definition at line 3807 of file TRT_Monitoring_Tool.cxx.
3815 int lumiBlockNumber;
3817 lumiBlockNumber = eventInfo.
lumiBlock();
3833 for (p_trk = trackCollection.begin(); p_trk != trackCollection.
end(); ++p_trk) {
3834 AllTrkPar = (*p_trk)->trackParameters();
3836 for (p_trkpariter = AllTrkPar->begin(); p_trkpariter != AllTrkPar->end(); ++p_trkpariter) {
3837 if ((perigee =
dynamic_cast<const Trk::Perigee *
>(*p_trkpariter)))
break;
3843 if (!perigee)
continue;
3845 float track_eta = perigee->eta();
3846 float track_p = (perigee->parameters()[
Trk::qOverP] != 0.) ? fabs(1. / (perigee->parameters()[
Trk::qOverP])) : 10e7;
3849 if (trackStates ==
nullptr)
continue;
3858 if (fabs(track_eta) > 2.5)
continue;
3859 if (fabs(track_p) < 5000.)
continue;
3860 if (pixel_hits < 1.)
continue;
3861 if (sct_hits < 6.)
continue;
3862 if (trt_hits < 6.)
continue;
3868 ATH_MSG_DEBUG(
"This track has " << track_states->
size() <<
" track states on surface.");
3870 ATH_MSG_DEBUG(
"This track has null track states on surface.");
3874 int barrel_ec_side = 0;
3875 int layer_or_wheel = 0;
3877 int straw_layer = 0;
3879 for (; TSOSItBegin != TSOSItEnd; ++TSOSItBegin) {
3880 if ((*TSOSItBegin) ==
nullptr)
continue;
3886 if (!trtCircle)
continue;
3887 if (!aTrackParam)
continue;
3889 Identifier DCoTId = trtCircle->
identify();
3896 int Ba_Ec = abs(barrel_ec_side) - 1;
3897 int Side = barrel_ec_side > 0 ? 0 : 1;
3901 double RPos = sqrt(xPos * xPos + yPos * yPos);
3902 Identifier surfaceID;
3907 if (!RawDriftCircle) {
3913 int middleHTbit = RawDriftCircle->
getWord() & 0x00020000;
3915 bool is_middleHTbit_high = (middleHTbit != 0);
3917 bool isHighLevel = is_middleHTbit_high;
3918 bool shortStraw =
false;
3921 if (fabs(track_eta) < 2. && Ba_Ec == 0.) {
3922 if ((layer_or_wheel == 0) && (phi_module < 4 || (phi_module > 7 && phi_module < 12) || (phi_module > 15 && phi_module < 20) || (phi_module > 23 && phi_module < 28))) InputBar = 1;
3923 else if ((
runNumber >= 296939) && (layer_or_wheel == 0) && (phi_module > 27)) InputBar = 1;
3924 else if (layer_or_wheel == 0)
3926 else if ((layer_or_wheel == 1) && ((phi_module > 1 && phi_module < 6) || (phi_module > 9 && phi_module < 14) || (phi_module > 17 && phi_module < 22) || (phi_module > 25 && phi_module < 30)))
3928 else if (layer_or_wheel == 1)
3930 else if (layer_or_wheel == 2 && phi_module % 2 != 0)
3932 else if (layer_or_wheel == 2)
3939 if ((layer_or_wheel == 0) && straw_layer < 9.)
3944 if ((!shortStraw) && (Ba_Ec == 0)) {
3965 if ((Ba_Ec == 1) && (layer_or_wheel < 6) &&
3966 ((straw_layer > 3 && straw_layer < 8) ||
3967 (straw_layer > 11))) {
3970 if ((Ba_Ec == 1) && (layer_or_wheel >= 6) &&
3971 (straw_layer > 3)) {
3974 if ((Ba_Ec == 1) && (layer_or_wheel < 6) &&
3975 ((straw_layer > -1 && straw_layer < 4) ||
3976 (straw_layer > 7 && straw_layer < 12))) {
3979 if ((Ba_Ec == 1) && (layer_or_wheel >= 6) &&
3980 ((straw_layer > -1 && straw_layer < 4))) {
3984 if (WType < 0 && Ba_Ec == 1) {
3996 return StatusCode::SUCCESS;
◆ fillTRTRDOs()
Definition at line 1780 of file TRT_Monitoring_Tool.cxx.
1789 int numberOfStacks_b[2];
1792 Identifier TRT_Identifier;
1793 int numberOfStrawsMod[3];
1794 numberOfStrawsMod[0] = 329;
1795 numberOfStrawsMod[1] = 520;
1796 numberOfStrawsMod[2] = 793;
1797 int numberOfStrawsWheel[2];
1798 numberOfStrawsWheel[0] = 2304;
1799 numberOfStrawsWheel[1] = 1536;
1800 int moduleHits_B[192];
1801 int moduleHits_E[128];
1802 int HLmoduleHits_B[192];
1803 int HLmoduleHits_E[128];
1805 for (
int i = 0;
i < 192;
i++) {
1806 moduleHits_B[
i] = 0;
1807 HLmoduleHits_B[
i] = 0;
1810 for (
int i = 0;
i < 128;
i++) {
1811 moduleHits_E[
i] = 0;
1812 HLmoduleHits_E[
i] = 0;
1815 int goodid_status = 0;
1818 if (trtBCIDCollection) {
1819 InDetTimeCollection::const_iterator itrt_bcid = trtBCIDCollection->begin();
1821 while (goodid_status == 0 && itrt_bcid != trtBCIDCollection->end()) {
1822 const unsigned int trt_bcid = (*itrt_bcid).second;
1824 if (itrt_bcid > trtBCIDCollection->begin() && prev_bcid - trt_bcid == 0) {
1826 }
else if (itrt_bcid > trtBCIDCollection->begin() && prev_bcid - trt_bcid != 0) {
1828 std::hex << (*itrt_bcid).first <<
" trt bcid from ROD is " <<
1829 std::hex << trt_bcid);
1832 prev_bcid = trt_bcid;
1844 for (
int ibe = 0; ibe < 2; ibe++) {
1854 for (
int i = 0;
i < 64;
i++) {
1867 vector<float> scalevector;
1868 vector<float> scalevector_Ar;
1873 scalevector.push_back(0.);
1878 scalevector_Ar.push_back(0.);
1882 }
catch (out_of_range &
e) {
1883 ATH_MSG_ERROR(
"Index " <<
k <<
" out of range in scaling for hHitWMap");
1892 }
else if (ibe == 1) {
1904 for (
int i = 0;
i < 64;
i++) {
1919 for (; RDO_CollectionBegin != RDO_CollectionEnd; ++RDO_CollectionBegin) {
1922 if (!TRT_Collection)
continue;
1926 for (; p_rdo != TRT_Collection->end(); ++p_rdo) {
1927 int middleHTbit = (*p_rdo)->getWord() & 0x00020000;
1929 int hitinvaliditygate = (*p_rdo)->getWord() & 0x000DFE80;
1931 bool is_middleHTbit_high = (middleHTbit != 0);
1932 bool is_anybininVgate_high = (hitinvaliditygate != 0);
1933 TRT_Identifier = (*p_rdo)->identify();
1941 if (!p_lolum)
continue;
1944 int ibe = abs(barrel_ec) - 1;
1945 int iside = barrel_ec > 0 ? 0 : 1;
1948 if (ibe != 1 && ibe != 0) {
1949 ATH_MSG_DEBUG(
"TRT part retrieved from TRT Identifier is not a barrel or an endcap");
1953 int moduleNumber_barrel1[2];
1954 int moduleNumber_barrel2[2];
1955 int moduleNumber_barrel3[2];
1956 int moduleNumber_endcapA[2];
1957 int moduleNumber_endcapB[2];
1961 TRT_Identifier = p_lolum->
identify();
1968 int thisStrawNumber;
1975 if ( is_barrel && ibe == 0 ) {
1978 if (thisStrawNumber >= 0 && thisStrawNumber <
s_Straw_max[ibe]) {
1983 }
else if ( !is_barrel && ibe == 1 ) {
1986 if (thisStrawNumber >= 0 && thisStrawNumber <
s_Straw_max[ibe]) {
1992 thisStrawNumber = -1;
1995 if (thisStrawNumber < 0 || thisStrawNumber >=
s_Straw_max[ibe]) {
1996 ATH_MSG_WARNING(
"Found m_strawNumber = " << thisStrawNumber <<
" out of range.");
2002 const bool highlevel = is_middleHTbit_high;
2006 moduleNumber_barrel1[0] = phi_module;
2007 moduleNumber_barrel1[1] = phi_module + 96;
2012 moduleNumber_endcapA[0] = phi_module;
2013 moduleNumber_endcapA[1] = phi_module + 64;
2016 int iphi_module = -999;
2019 iphi_module = phi_module;
2020 }
else if (iside == 1) {
2021 iphi_module = phi_module + 32;
2042 }
else if (ibe == 1) {
2099 if ( is_anybininVgate_high) {
2135 int moduleNumber = -1;
2138 if (layer_or_wheel == 0) {
2139 moduleNumber = moduleNumber_barrel1[iside];
2140 moduleHits_B[moduleNumber]++;
2141 }
else if (layer_or_wheel == 1) {
2142 moduleNumber = moduleNumber_barrel2[iside];
2143 moduleHits_B[moduleNumber]++;
2144 }
else if (layer_or_wheel == 2) {
2145 moduleNumber = moduleNumber_barrel3[iside];
2146 moduleHits_B[moduleNumber]++;
2150 if (layer_or_wheel == 0) {
2151 moduleNumber = moduleNumber_barrel1[iside];
2152 HLmoduleHits_B[moduleNumber]++;
2153 }
else if (layer_or_wheel == 1) {
2154 moduleNumber = moduleNumber_barrel2[iside];
2155 HLmoduleHits_B[moduleNumber]++;
2156 }
else if (layer_or_wheel == 2) {
2157 moduleNumber = moduleNumber_barrel3[iside];
2158 HLmoduleHits_B[moduleNumber]++;
2161 }
else if (ibe == 1) {
2162 if (layer_or_wheel < 6) {
2163 moduleNumber = moduleNumber_endcapA[iside];
2164 moduleHits_E[moduleNumber]++;
2165 }
else if (layer_or_wheel > 5) {
2166 moduleNumber = moduleNumber_endcapB[iside];
2167 moduleHits_E[moduleNumber]++;
2171 if (layer_or_wheel < 6) {
2172 moduleNumber = moduleNumber_endcapA[iside];
2173 HLmoduleHits_E[moduleNumber]++;
2174 }
else if (layer_or_wheel > 5) {
2175 moduleNumber = moduleNumber_endcapB[iside];
2176 HLmoduleHits_E[moduleNumber]++;
2186 for (
int ibe = 0; ibe < 2; ibe++) {
2190 }
else if (ibe == 1) {
2194 for (
int iside = 0; iside < 2; iside++) {
2195 for (
int i = 1;
i <= numberOfStacks_b[ibe];
i++) {
2196 int index_tmp, modulenum_tmp;
2200 modulenum_tmp =
i - 1;
2204 if (ibe == 0) modulenum_tmp = (
i - 1) + 96;
2205 else if (ibe == 1) modulenum_tmp = (
i - 1) + 64;
2218 int LLocc_index = index_tmp - 32 * nclass;
2222 float occLL =
float(moduleHits_B[modulenum_tmp]) /
float(numberOfStrawsMod[nclass]);
2223 float occHL =
float(HLmoduleHits_B[modulenum_tmp]) /
float(numberOfStrawsMod[nclass]);
2224 m_LLOcc[ibe][LLocc_index] += occLL;
2229 }
else if (ibe == 1) {
2230 float occLL =
float(moduleHits_E[modulenum_tmp]) /
float(numberOfStrawsWheel[nclass]);
2231 float occHL =
float(HLmoduleHits_E[modulenum_tmp]) /
float(numberOfStrawsWheel[nclass]);
2233 if (LLocc_index < 64) {
2234 m_LLOcc[ibe][LLocc_index] += occLL;
2253 for (
int i = 0;
i < 64;
i++) {
2272 vector<float> scalevector;
2273 vector<float> scalevector_Ar;
2278 scalevector.push_back(0.);
2284 scalevector_Ar.push_back(0.);
2288 }
catch (out_of_range &
e) {
2289 ATH_MSG_ERROR(
"Index " <<
k <<
" out of range in scaling for hHitWMap");
2298 }
else if (ibe == 1) {
2311 for (
int i = 0;
i < 64;
i++) {
2336 return StatusCode::SUCCESS;
◆ fillTRTTracks()
hardcoded cut for pT 2.0 GeV for collision setup
Definition at line 2341 of file TRT_Monitoring_Tool.cxx.
2347 const float timeCor = comTimeObject ? comTimeObject->
getTime() : 0;
2348 auto p_trk = trackCollection.begin();
2359 for (
int ibe = 0; ibe < 2; ibe++) {
2361 for (
int i = 0;
i < 64;
i++) {
2375 for (
int i = 0;
i < 64;
i++) {
2381 }
else if (ibe == 1) {
2382 for (
int iside = 0; iside < 2; iside++) {
2423 for (
int iside = 0; iside < 2; iside++) {
2446 int ntrackstack[2][64];
2448 for (
int ibe = 0; ibe < 2; ibe++) {
2449 std::fill(ntrackstack[ibe], ntrackstack[ibe] + 64, 0);
2452 for (; p_trk != trackCollection.end(); ++p_trk) {
2458 AllTrkPar = (*p_trk)->trackParameters();
2464 for (p_trkpariter = AllTrkPar->begin(); p_trkpariter != AllTrkPar->end(); ++p_trkpariter) {
2466 if ((mPer =
dynamic_cast<const Trk::Perigee *
>(*p_trkpariter)))
break;
2469 if (!mPer)
continue;
2480 if (trackStates ==
nullptr)
continue;
2489 const int n_si_hits = n_pixel_hits + n_sct_hits;
2490 bool is_pT_over_20GeV =
false;
2492 is_pT_over_20GeV = mPer->pT() > 20 *
CLHEP::GeV;
2494 const bool cnst_is_pT_over_20GeV = is_pT_over_20GeV;
2502 const bool passed_track_preselection =
2503 (mPer->pT() > min_pt_new) &&
2510 if (!passed_track_preselection)
continue;
2513 int checkB[2] = {0, 0};
2514 int checkEC[2] = {0, 0};
2515 int checkEC_B[2] = {0, 0};
2516 int nTRTHitsW[2][2];
2517 int nTRTHitsW_Ar[2][2];
2518 int nTRTHitsW_Xe[2][2];
2519 int nTRTHLHitsW[2][2];
2520 int nTRTHLHitsW_Ar[2][2];
2521 int nTRTHLHitsW_Xe[2][2];
2522 int nTRTHits_side[2][2];
2523 int nTRTHitsW_perwheel[2][18];
2524 int hitontrack[2] = {0, 0};
2525 int hitontrack_E_side[2] = {0, 0};
2527 for (
int ibe = 0; ibe < 2; ibe++) {
2528 for (
int iside = 0; iside < 2; iside++) {
2529 nTRTHits_side[ibe][iside] = -1;
2530 nTRTHitsW[ibe][iside] = 0;
2531 nTRTHitsW_Ar[ibe][iside] = 0;
2532 nTRTHitsW_Xe[ibe][iside] = 0;
2533 nTRTHLHitsW[ibe][iside] = 0;
2534 nTRTHLHitsW_Ar[ibe][iside] = 0;
2535 nTRTHLHitsW_Xe[ibe][iside] = 0;
2538 std::fill(nTRTHitsW_perwheel[ibe], nTRTHitsW_perwheel[ibe] + 18, 0);
2541 bool isBarrelOnly =
true;
2542 bool ECAhit =
false;
2543 bool ECChit =
false;
2546 int layer_or_wheel = 0;
2548 int straw_layer = 0;
2550 int nearest_straw_layer[2] = {100, 100};
2551 int nearest_straw[2] = {0, 0};
2552 int testLayer[2] = {100, 100};
2553 int innerstack[2] = {-999, -999};
2554 float phi2D[2] = {-100, -100};
2556 for (TSOSItBeginTemp = TSOSItBegin0; TSOSItBeginTemp != TSOSItEnd; ++TSOSItBeginTemp) {
2557 if ((*TSOSItBeginTemp) ==
nullptr)
continue;
2563 if (!trtCircle)
continue;
2567 if (!aTrackParam)
continue;
2569 Identifier DCoTId = trtCircle->
identify();
2571 int ibe = abs(barrel_ec) - 1;
2577 if (layer_or_wheel >= testLayer[ibe])
continue;
2579 testLayer[ibe] = layer_or_wheel;
2581 if (straw_layer < nearest_straw_layer[ibe]) {
2582 nearest_straw_layer[ibe] = straw_layer;
2583 nearest_straw[ibe] =
straw;
2587 circleElement =
nullptr;
2592 if (phi2D[0] == -999) {
2593 ATH_MSG_DEBUG(
"Track did not go through inner layer of Barrel.");
2596 testLayer[0] <<
" m_straw_layer: " <<
2597 nearest_straw_layer[0] <<
" (in the Barrel).");
2600 if (phi2D[1] == -999) {
2601 ATH_MSG_DEBUG(
"Track did not go through any inner layer of EndCap A or C.");
2604 testLayer[1] <<
" m_straw_layer: " <<
2605 nearest_straw_layer[1] <<
" (in the EndCaps).");
2608 bool trackfound[2][64];
2610 for (
int i = 0;
i < 2;
i++) {
2611 std::fill(trackfound[
i], trackfound[
i] + 64,
false);
2614 for (TSOSItBegin = TSOSItBegin0; TSOSItBegin != TSOSItEnd; ++TSOSItBegin) {
2616 if ((*TSOSItBegin) ==
nullptr)
continue;
2622 if (!trtCircle)
continue;
2626 if (!aTrackParam)
continue;
2628 Identifier DCoTId = trtCircle->
identify();
2635 int ibe = abs(barrel_ec) - 1;
2637 int iside = barrel_ec > 0 ? 0 : 1;
2638 int thisStrawNumber[2] = {-1, -1};
2639 int chip[2] = {0, 0};
2644 if (thisStrawNumber[ibe] >= 0 && thisStrawNumber[ibe] <
s_Straw_max[ibe]) {
2645 chip[ibe] =
m_mat_chip_B[phi_module][thisStrawNumber[ibe]];
2647 }
else if (ibe == 1) {
2650 if (thisStrawNumber[ibe] >= 0 && thisStrawNumber[ibe] <
s_Straw_max[ibe]) {
2651 chip[ibe] =
m_mat_chip_E[phi_module][thisStrawNumber[ibe]];
2654 thisStrawNumber[ibe] = -1;
2657 if (thisStrawNumber[ibe] < 0 || thisStrawNumber[ibe] >=
s_Straw_max[ibe])
continue;
2659 if (checkB[iside] == 0 && ibe == 0) {
2664 if (checkEC[iside] == 0 && ibe == 1) {
2669 if (checkEC_B[iside] == 0 && checkB[iside] == 1 && ibe == 1 ) {
2671 checkEC_B[iside] = 1;
2676 }
else if (barrel_ec == 2) {
2677 isBarrelOnly =
false;
2679 }
else if (barrel_ec == -2) {
2680 isBarrelOnly =
false;
2684 Identifier surfaceID;
2691 int iphi_module = -9999;
2693 if (iside == 0) iphi_module = phi_module;
2694 else if (iside == 1) iphi_module = phi_module + 32;
2696 trackfound[ibe][iphi_module] =
true;
2714 }
else if (ibe == 1) {
2716 hitontrack_E_side[iside]++;
2745 }
else if (ibe == 1) {
2768 if (RawDriftCircle) {
2769 nTRTHits_side[ibe][iside]++;
2770 int middleHTbit = RawDriftCircle->
getWord() & 0x00020000;
2772 int hitinvaliditygate = RawDriftCircle->
getWord() & 0x000DFE80;
2774 bool is_middleHTbit_high = (middleHTbit != 0);
2775 bool is_anybininVgate_high = (hitinvaliditygate != 0);
2785 if (is_middleHTbit_high) {
2794 if (is_middleHTbit_high) {
2802 if (driftTimeValid) {
2803 const float validRawDriftTime = RawDriftCircle->
rawDriftTime();
2818 }
else if (ibe == 1) {
2826 float locR_err = 0.0;
2827 const AmgSymMatrix(5)* b_err = aTrackParam->covariance();
2832 ATH_MSG_ERROR(
"Track parameters have no covariance attached.");
2843 if ((loc *
locR) < 0) loc = -loc;
2848 const double pull_b =
2850 sqrt((loc_err * loc_err * loc_err * loc_err) -
2851 (locR_err * locR_err * locR_err * locR_err)));
2853 const double trkdrifttime = (!rtr) ? 0 : rtr->
drifttime(fabs(
locR));
2854 const double timeresidual = RawDriftCircle->
rawDriftTime() - thist0 - trkdrifttime;
2864 if (cnst_is_pT_over_20GeV) {
2873 if (cnst_is_pT_over_20GeV) {
2877 }
else if (ibe == 1) {
2886 if (cnst_is_pT_over_20GeV) {
2893 if (cnst_is_pT_over_20GeV) {
2907 }
else if (ibe == 1) {
2917 const float EP = timeCor;
2934 }
else if (ibe == 1) {
2959 }
else if (ibe == 1) {
3001 }
else if (ibe == 1) {
3024 nTRTHitsW[ibe][iside]++;
3027 nTRTHitsW_Ar[ibe][iside]++;
3029 nTRTHitsW_Xe[ibe][iside]++;
3032 nTRTHitsW_perwheel[iside][layer_or_wheel]++;
3034 if (is_middleHTbit_high) {
3035 nTRTHLHitsW[ibe][iside]++;
3038 nTRTHLHitsW_Ar[ibe][iside]++;
3040 nTRTHLHitsW_Xe[ibe][iside]++;
3045 if (is_anybininVgate_high) {
3056 for (
int ibe = 0; ibe < 2; ibe++) {
3057 for (
int i = 0;
i < 64;
i++)
3058 if (trackfound[ibe][
i])
3059 ntrackstack[ibe][
i]++;
3076 if (phi2D[ibe] < 0)
continue;
3080 if (nTRTHitsW[ibe][0] + nTRTHitsW[ibe][1] > 0)
3082 }
else if (ibe == 1) {
3083 if (nTRTHitsW[ibe][0] > 0)
3086 if (nTRTHitsW[ibe][1] > 0)
3092 if (innerstack[ibe] >= 0 && innerstack[ibe] <
s_iStack_max[ibe]) {
3094 m_LonTrack_B[innerstack[ibe]] += nTRTHitsW[ibe][0] + nTRTHitsW[ibe][1];
3096 if (nTRTHitsW[ibe][0] + nTRTHitsW[ibe][1] > 0) {
3097 m_HTfraconTrack_B[innerstack[ibe]] += (
float)(nTRTHLHitsW[ibe][0] + nTRTHLHitsW[ibe][1]) / (nTRTHitsW[ibe][0] + nTRTHitsW[ibe][1]);
3100 }
else if (ibe == 1) {
3101 m_LonTrack_E[innerstack[ibe]] += nTRTHitsW[ibe][0] + nTRTHitsW[ibe][1];
3103 if ((nTRTHitsW[ibe][0] + nTRTHitsW[ibe][1]) > 0) {
3104 m_HTfraconTrack_E[innerstack[ibe]] += (
float)(nTRTHLHitsW[ibe][0] + nTRTHLHitsW[ibe][1]) / (nTRTHitsW[ibe][0] + nTRTHitsW[ibe][1]);
3114 if (nTRTHitsW[ibe][0] > 0) {
3117 }
else if (nTRTHitsW[ibe][1] > 0) {
3122 if (nTRTHLHitsW[ibe][0] > 0) {
3123 if (nTRTHLHitsW[ibe][1] > 0) {
3128 }
else if (nTRTHLHitsW[ibe][1] > 0) {
3132 if (nTRTHitsW[ibe][0] + nTRTHitsW[ibe][1] > 0) {
3133 m_hHtoLRatioOnTrack_B->
Fill((
float)(nTRTHLHitsW[ibe][0] + nTRTHLHitsW[ibe][1]) / (nTRTHitsW[ibe][0] + nTRTHitsW[ibe][1]));
3136 if (nTRTHitsW_Ar[ibe][0] + nTRTHitsW_Ar[ibe][1] > 0) {
3137 m_hHtoLRatioOnTrack_B_Ar->
Fill((
float)(nTRTHLHitsW_Ar[ibe][0] + nTRTHLHitsW_Ar[ibe][1]) / (nTRTHitsW_Ar[ibe][0] + nTRTHitsW_Ar[ibe][1]));
3140 if (nTRTHitsW_Xe[ibe][0] + nTRTHitsW_Xe[ibe][1] > 0) {
3141 m_hHtoLRatioOnTrack_B_Xe->
Fill((
float)(nTRTHLHitsW_Xe[ibe][0] + nTRTHLHitsW_Xe[ibe][1]) / (nTRTHitsW_Xe[ibe][0] + nTRTHitsW_Xe[ibe][1]));
3143 }
else if (ibe == 1) {
3144 if (nTRTHitsW[ibe][0] > 0) {
3145 if (nTRTHitsW[ibe][1] > 0) {
3146 if (ECAhit && !ECChit && !Bhit) {
3150 if (ECChit && !ECAhit && !Bhit) {
3155 if (ECAhit && !ECChit && !Bhit) {
3158 }
else if (nTRTHitsW[ibe][1] > 0) {
3159 if (ECChit && !ECAhit && !Bhit) {
3164 for (
int iside = 0; iside < 2; iside++) {
3165 if (nTRTHLHitsW[ibe][iside] > 0) {
3169 if ((nTRTHitsW[ibe][iside]) > 0) {
3172 if ((nTRTHitsW_Ar[ibe][iside]) > 0) {
3176 if ((nTRTHitsW_Xe[ibe][iside]) > 0) {
3185 if ((nTRTHitsW[ibe][0] + nTRTHitsW[ibe][1]) > 0) {
3188 if (comTimeObject) {
3189 if (
m_doShift && (phi2D[ibe] > 0) && (std::fabs(timeCor) > 1
e-8)) {
3193 }
else if (ibe == 1) {
3194 for (
int iside = 0; iside < 2; iside++) {
3196 if (comTimeObject) {
3197 if (nTRTHits_side[ibe][iside] > 5 && (std::fabs(timeCor)
3207 if (comTimeObject) {
3208 if (std::fabs(timeCor) > 1
e-8) {
3214 std::vector<int> trigid;
3217 std::vector<unsigned int> level1TAV = trigDecision->
tav();
3219 for (
unsigned int j = 0; j < 8 && j < level1TAV.size(); ++j) {
3220 for (
unsigned int i = 0;
i < 32; ++
i) {
3221 if ((level1TAV[j] >>
i) & 0x1) {
3222 trigid.push_back(
i + (j % 8) * 32);
3227 for (
unsigned int j = 0; j < trigid.size(); ++j) {
3234 for (
int ibe = 0; ibe < 2; ibe++) {
3238 for (
int i = 0;
i < 64;
i++) {
3270 for (
int i = 0;
i < 64;
i++) {
3281 }
else if (ibe == 1) {
3429 }
else if (ibe == 1) {
3430 for (
int iside = 0; iside < 2; iside++) {
3528 return StatusCode::SUCCESS;
◆ finalHists()
StatusCode ManagedMonitorToolBase::finalHists |
( |
| ) |
|
|
virtualinherited |
◆ get_nEvents()
unsigned int ManagedMonitorToolBase::get_nEvents |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ get_procNEventsProp()
long ManagedMonitorToolBase::get_procNEventsProp |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ getHist() [1/6]
◆ getHist() [2/6]
StatusCode ManagedMonitorToolBase::getHist |
( |
LWHist *& |
h, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
◆ getHist() [3/6]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH1 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Returns a TH1 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1598 of file ManagedMonitorToolBase.cxx.
◆ getHist() [4/6]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH1 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
Returns a TH1 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1588 of file ManagedMonitorToolBase.cxx.
◆ getHist() [5/6]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH2 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Returns a TH2 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1640 of file ManagedMonitorToolBase.cxx.
◆ getHist() [6/6]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH2 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
Returns a TH2 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1630 of file ManagedMonitorToolBase.cxx.
◆ getNewStreamNameFcn()
|
protectedvirtualinherited |
◆ initialize()
StatusCode TRT_Monitoring_Tool::initialize |
( |
| ) |
|
|
virtual |
Reimplemented from ManagedMonitorToolBase.
Definition at line 375 of file TRT_Monitoring_Tool.cxx.
469 for (
int ibe = 0; ibe < 2; ibe++) {
471 IdentifierHash idHash =
index;
483 idSide = idBarrelEndcap ? 1 : -1;
485 if (
isBarrel && (idBarrelEndcap == -1)) {
489 }
else if (ibe == 1) {
490 idSide = idBarrelEndcap ? 1 : 0;
492 if (!
isBarrel && ((idBarrelEndcap == -2) || (idBarrelEndcap == 2))) {
498 if (sectorflag == 1) {
499 if (!element)
continue;
501 for (
unsigned int istraw = 0; istraw < element->
nStraws(); istraw++) {
502 std::vector<Identifier> neighbourIDs;
509 if (idLayerWheel == 1) i_chip += 21;
511 if (idLayerWheel == 2) i_chip += 54;
513 int tempStrawNumber =
strawNumber(istraw, idStrawLayer, idLayerWheel);
515 if (tempStrawNumber < 0 || tempStrawNumber > (
s_Straw_max[ibe] - 1)) {
516 ATH_MSG_WARNING(
"Found tempStrawNumber = " << tempStrawNumber <<
" out of range.");
519 m_mat_chip_B[idPhiModule + 32][tempStrawNumber] = i_chip;
521 }
else if (ibe == 1) {
524 int tempStrawNumber =
strawNumberEndCap(istraw, idStrawLayer, idLayerWheel, idPhiModule, idSide);
526 if (tempStrawNumber < 0 || tempStrawNumber > (
s_Straw_max[ibe] - 1)) {
527 ATH_MSG_WARNING(
"Found tempStrawNumber = " << tempStrawNumber <<
" out of range.");
530 m_mat_chip_E[idPhiModule + 32][tempStrawNumber] = i_chip;
545 for (
int iStack = 0; iStack <
s_iStack_max[ibe]; iStack++) {
560 for (
int iStack = 0; iStack <
s_iStack_max[ibe]; iStack++) {
585 return StatusCode::SUCCESS;
◆ initScaleVectors()
int TRT_Monitoring_Tool::initScaleVectors |
( |
| ) |
|
|
private |
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ interfaceID()
static const InterfaceID& IMonitorToolBase::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
◆ intervalEnumToString()
std::string ManagedMonitorToolBase::intervalEnumToString |
( |
Interval_t |
interval | ) |
|
|
staticinherited |
Converts a LevelOfDetail_t to a string of the same name.
Converts a string to the corresponding LevelOfDetail_t. Converts a Interval_t to a string of the same name.
Definition at line 587 of file ManagedMonitorToolBase.cxx.
590 std::string
str(
"file");
◆ intervalStringToEnum()
Converts a string to the corresponding Interval_t.
Definition at line 629 of file ManagedMonitorToolBase.cxx.
632 std::string lcstr( strToLower(
str) );
636 else if( lcstr ==
"fill" )
638 else if( lcstr ==
"run" )
640 else if( lcstr ==
"lowStat" )
642 else if( lcstr ==
"medStat" )
644 else if( lcstr ==
"higStat" )
646 else if( lcstr ==
"lumiBlock" )
648 else if( lcstr ==
"eventsBlock" )
650 else if( lcstr ==
"file" )
656 if(
sc.isSuccess() ) {
657 MsgStream
log(
ms,
"ManagedMonitorToolBase::intervalStringToEnum()" );
658 log << MSG::WARNING <<
"Unknown ManagedMonitorToolBase::Interval_t \""
659 <<
str <<
"\", returning \"file\"" <<
endmsg;
◆ lbAverageInteractionsPerCrossing()
float ManagedMonitorToolBase::lbAverageInteractionsPerCrossing |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average mu, i.e.
<mu>
Definition at line 1923 of file ManagedMonitorToolBase.cxx.
1928 return lumi->lbAverageInteractionsPerCrossing();
1931 ATH_MSG_DEBUG(
"Warning: lbAverageInteractionsPerCrossing() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbAverageLivefraction()
float ManagedMonitorToolBase::lbAverageLivefraction |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average luminosity livefraction.
Definition at line 1992 of file ManagedMonitorToolBase.cxx.
2000 return live->lbAverageLiveFraction();
2003 ATH_MSG_DEBUG(
"Warning: lbAverageLivefraction() - luminosity not availble (i.e. EnableLumi = False)");
◆ lbAverageLuminosity()
float ManagedMonitorToolBase::lbAverageLuminosity |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average luminosity (in ub-1 s-1 => 10^30 cm-2 s-1)
Definition at line 1959 of file ManagedMonitorToolBase.cxx.
1964 return lumi->lbAverageLuminosity();
1967 ATH_MSG_DEBUG(
"Warning: lbAverageLuminosity() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbDuration()
double ManagedMonitorToolBase::lbDuration |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Luminosity block time (in seconds)
Definition at line 2046 of file ManagedMonitorToolBase.cxx.
2054 return dur->lbDuration();
2057 ATH_MSG_DEBUG(
"Warning: lbDuration() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbInteractionsPerCrossing()
float ManagedMonitorToolBase::lbInteractionsPerCrossing |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Instantaneous number of interactions, i.e.
mu
Definition at line 1939 of file ManagedMonitorToolBase.cxx.
1944 float muToLumi =
lumi->muToLumi();
1946 return lumi->lbLuminosityPerBCIDVector().at (ctx.eventID().bunch_crossing_id()) / muToLumi;
1951 ATH_MSG_DEBUG(
"Warning: lbInteractionsPerCrossing() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbLuminosityPerBCID()
float ManagedMonitorToolBase::lbLuminosityPerBCID |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Instantaneous luminosity.
Definition at line 1975 of file ManagedMonitorToolBase.cxx.
1980 return lumi->lbLuminosityPerBCIDVector().at (ctx.eventID().bunch_crossing_id());
1983 ATH_MSG_DEBUG(
"Warning: lbLuminosityPerBCID() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbLumiWeight()
double ManagedMonitorToolBase::lbLumiWeight |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average Integrated Luminosity Live Fraction.
Definition at line 2030 of file ManagedMonitorToolBase.cxx.
2037 ATH_MSG_DEBUG(
"Warning: lbLumiWeight() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ livefractionPerBCID()
float ManagedMonitorToolBase::livefractionPerBCID |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Livefraction per bunch crossing ID.
Definition at line 2011 of file ManagedMonitorToolBase.cxx.
2019 return live->l1LiveFractionVector().at (ctx.eventID().bunch_crossing_id());
2022 ATH_MSG_DEBUG(
"Warning: livefractionPerBCID() - luminosity retrieved available (i.e. EnableLumi = False)");
◆ MMTB_DEPRECATED() [1/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
endOfEventsBlock |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [2/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
endOfLowStat |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [3/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
endOfLumiBlock |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [4/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
endOfRun |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [5/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newEventsBlock |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [6/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newHigStatInterval |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [7/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newLowStat |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [8/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newLowStatInterval |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [9/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newLumiBlock |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [10/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newMedStatInterval |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [11/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newRun |
| ) |
|
|
inherited |
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ newEventsBlockFlag()
bool ManagedMonitorToolBase::newEventsBlockFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newHigStatIntervalFlag()
bool ManagedMonitorToolBase::newHigStatIntervalFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newLowStatFlag()
bool ManagedMonitorToolBase::newLowStatFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newLowStatIntervalFlag()
bool ManagedMonitorToolBase::newLowStatIntervalFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newLumiBlockFlag()
bool ManagedMonitorToolBase::newLumiBlockFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newMedStatIntervalFlag()
bool ManagedMonitorToolBase::newMedStatIntervalFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newRunFlag()
bool ManagedMonitorToolBase::newRunFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ parseList()
StatusCode ManagedMonitorToolBase::parseList |
( |
const std::string & |
line, |
|
|
std::vector< std::string > & |
result |
|
) |
| |
|
protectedinherited |
◆ preSelector()
bool ManagedMonitorToolBase::preSelector |
( |
| ) |
|
|
virtualinherited |
◆ procHistograms()
StatusCode TRT_Monitoring_Tool::procHistograms |
( |
| ) |
|
|
virtual |
An inheriting class should either override this function or finalHists().
Reimplemented from ManagedMonitorToolBase.
Definition at line 1209 of file TRT_Monitoring_Tool.cxx.
1211 double n_BorE[2][2], total_BorE[2][2];
1212 double nfill[2] = {3.0, 2.0};
1235 for (
int ibe = 0; ibe < 2; ibe++) {
1238 for (
int i = 0;
i < 64;
i++) {
1295 vector<float> scalevector;
1296 vector<float> scalevector_Ar;
1301 scalevector.push_back(0.);
1307 scalevector_Ar.push_back(0.);
1311 }
catch (out_of_range &
e) {
1312 ATH_MSG_ERROR(
"Index " <<
k <<
" out of range in scaling for hHitWMap");
1321 }
else if (ibe == 1) {
1333 for (
int i = 0;
i < 64;
i++) {
1360 }
else if (ibe == 1) {
1511 }
else if (ibe == 1) {
1512 for (
int iside = 0; iside < 2; iside++) {
1622 for (
int iside = 0; iside < 2; iside++) {
1623 for (
int i = 0;
i < 32;
i++) {
1624 for (
int ibin = 0; ibin <=
s_Straw_max[ibe]; ibin++) {
1634 total_BorE[ibe][iside] = 0.0;
1649 const float barrelConst = 1. / 105088;
1650 const float endcapConst = 1. / 122880;
1657 for (
int iside = 0; iside < 2; iside++) {
1667 for (
int iside = 0; iside < 2; iside++) {
1674 for (
int ibe = 0; ibe < 2; ibe++) {
1678 float occ = (
m_LLOcc[ibe][
i] * lumiBlockScale) / nfill[ibe];
1680 occ = (
m_LLOcc[ibe][
i + 32] * lumiBlockScale) / nfill[ibe];
1696 }
else if (ibe == 1) {
1698 float occ = (
m_LLOcc[ibe][
i] * lumiBlockScale) / nfill[ibe];
1722 for (
int ibe = 0; ibe < 2; ibe++) {
1723 for (
int iside = 0; iside < 2; iside++) {
1741 return StatusCode::SUCCESS;
◆ radToDegrees()
float TRT_Monitoring_Tool::radToDegrees |
( |
float |
radValue | ) |
|
|
staticprivate |
◆ regEfficiency()
StatusCode ManagedMonitorToolBase::regEfficiency |
( |
TEfficiency * |
e, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Registers a TEfficiency to be included in the output stream using logical parameters that describe the plot.
Definition at line 1648 of file ManagedMonitorToolBase.cxx.
1650 return StatusCode::FAILURE;
1652 TGraph*
g =
reinterpret_cast<TGraph*
>(
e);
1653 std::string
name =
e->GetName();
1659 ATH_MSG_WARNING(
"HEY! Attempting to register "<<
name<<
" as a per-LB histogram, but not setting the merge algorithm! Use \"merge\", at least.");
1666 return StatusCode::FAILURE;
1676 std::string genericName = NoOutputStream().getStreamName(
this,
group,
name );
1683 if (
smd != StatusCode::SUCCESS)
1684 return StatusCode::FAILURE;
◆ regGraph() [1/2]
StatusCode ManagedMonitorToolBase::regGraph |
( |
TGraph * |
g, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Registers a TGraph to be included in the output stream using logical parameters that describe the graph.
Definition at line 1702 of file ManagedMonitorToolBase.cxx.
1706 return StatusCode::FAILURE;
1719 return StatusCode::FAILURE;
1722 std::string
name =
g->GetName();
1730 std::string gName =
g->GetName();
1733 std::string genericName = NoOutputStream().getStreamName(
this,
group, gName );
1741 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regGraph() [2/2]
Registers a TGraph to be included in the output stream using logical parameters that describe the graph.
Definition at line 1692 of file ManagedMonitorToolBase.cxx.
◆ regHist() [1/4]
Definition at line 1522 of file ManagedMonitorToolBase.cxx.
1528 return StatusCode::FAILURE;
1540 return StatusCode::FAILURE;
1547 std::string hName =
h->GetName();
1551 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1577 if (
h->usingROOTBackend())
1579 h->setOwnsROOTHisto(
false);
1583 return StatusCode::SUCCESS;
◆ regHist() [2/4]
◆ regHist() [3/4]
Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram.
A histogram is passed via reference to a pointer.
Definition at line 1462 of file ManagedMonitorToolBase.cxx.
1468 return StatusCode::FAILURE;
1481 ATH_MSG_WARNING(
"HEY! You're attempting to register " <<
h->GetName() <<
" as a per-LB histogram, but you're not setting the merge algorithm! This is a SUPER-BAD idea! Use \"merge\", at least.");
1488 return StatusCode::FAILURE;
1491 std::string hName =
h->GetName();
1499 std::string hName =
h->GetName();
1502 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1510 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regHist() [4/4]
◆ registerMetadata()
StatusCode ManagedMonitorToolBase::registerMetadata |
( |
const std::string & |
streamName, |
|
|
const std::string & |
hName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
protectedinherited |
Definition at line 1005 of file ManagedMonitorToolBase.cxx.
1011 size_t found=mdStreamName.rfind(
'/');
1013 if (
found != std::string::npos )
1014 mdStreamName.replace(
found, mdStreamName.length(),
"/metadata" );
1018 metadata =
new TTree(
"metadata",
"Monitoring Metadata" );
1019 if (!
metadata)
return StatusCode::FAILURE;
1021 if (scmd == StatusCode::FAILURE)
return StatusCode::FAILURE;
1022 MDMap_t::value_type valToInsert( mdStreamName,
new OutputMetadata(
metadata) );
1028 return StatusCode::SUCCESS;
◆ regManagedEfficiencies()
StatusCode ManagedMonitorToolBase::regManagedEfficiencies |
( |
std::vector< MgmtParams< TEfficiency > > & |
templateEfficiencies | ) |
|
|
protectedinherited |
Definition at line 1200 of file ManagedMonitorToolBase.cxx.
1201 bool allIsOk =
true;
1202 for(
auto&
it : templateEfficiencies ) {
1205 TEfficiency* theEfficiency =
it.m_templateHist;
1206 TEfficiency*
e =
static_cast<TEfficiency*
>(theEfficiency->Clone());
1207 int nbins = theEfficiency->GetTotalHistogram()->GetNbinsX();
1208 int xlow = theEfficiency->GetTotalHistogram()->GetXaxis()->GetXmin();
1209 int xhigh = theEfficiency->GetTotalHistogram()->GetXaxis()->GetXmax();
1210 e->SetBins(
nbins,xlow,xhigh);
1211 std::string
name =
e->GetName();
1214 TGraph* theGraph =
reinterpret_cast<TGraph*
>(theEfficiency);
1215 TGraph*
g =
reinterpret_cast<TGraph*
>(
e);
1223 if (sc1 == StatusCode::FAILURE) allIsOk =
false;
1225 bool doneCleaning =
false;
1227 TSeqCollection *
filelist=gROOT->GetListOfFiles();
1232 if (sc2 == StatusCode::SUCCESS) doneCleaning =
true;
1235 if (!doneCleaning) {
1236 ATH_MSG_ERROR(
"THistSvc_deReg_fixTGraph: failed to apply TGraph fix for the THist Svc!");
1241 if (sc3 == StatusCode::FAILURE)
1248 if (
smd != StatusCode::SUCCESS) allIsOk =
false;
1251 if (sc4 == StatusCode::FAILURE) allIsOk =
false;
1254 if (!allIsOk)
return StatusCode::FAILURE;
1255 return StatusCode::SUCCESS;
◆ regManagedGraphs()
StatusCode ManagedMonitorToolBase::regManagedGraphs |
( |
std::vector< MgmtParams< TGraph > > & |
templateGraphs | ) |
|
|
protectedinherited |
Definition at line 1129 of file ManagedMonitorToolBase.cxx.
1133 bool allIsOk =
true;
1135 for( std::vector< MgmtParams<TGraph> >::
iterator it = templateGraphs.begin();
it != templateGraphs.end(); ++
it ) {
1136 MonGroup
group = (*it).m_group;
1139 TGraph* theGraph = (*it).m_templateHist;
1142 TGraph*
g =
static_cast<TGraph*
>(theGraph->Clone());
1146 std::string gName =
g->GetName();
1153 if (sc1 == StatusCode::FAILURE)
1158 bool doneCleaning =
false;
1160 TSeqCollection *
filelist=gROOT->GetListOfFiles();
1165 if (sc2 == StatusCode::SUCCESS)
1166 doneCleaning =
true;
1170 if (!doneCleaning) {
1171 ATH_MSG_ERROR(
"THistSvc_deReg_fixTGraph: failed to apply TGraph fix for the THist Svc!");
1178 if (sc3 == StatusCode::FAILURE)
1185 if (
smd != StatusCode::SUCCESS)
1190 if (sc4 == StatusCode::FAILURE)
1195 if (!allIsOk)
return StatusCode::FAILURE;
1197 return StatusCode::SUCCESS;
◆ regManagedHistograms()
StatusCode ManagedMonitorToolBase::regManagedHistograms |
( |
std::vector< MgmtParams< TH1 > > & |
templateHistograms | ) |
|
|
protectedinherited |
Definition at line 1032 of file ManagedMonitorToolBase.cxx.
1047 bool allIsOk =
true;
1049 for( std::vector< MgmtParams<TH1> >::
iterator it = templateHistograms.begin();
it != templateHistograms.end(); ++
it ) {
1050 MonGroup&
group = (*it).m_group;
1053 TH1* theHist = (*it).m_templateHist;
1056 TH1*
h =
static_cast<TH1*
>(theHist->Clone());
1060 std::string hName =
h->GetName();
1067 if (sc1 == StatusCode::FAILURE) allIsOk =
false;
1071 if (sc2 == StatusCode::FAILURE) allIsOk =
false;
1074 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1083 if (
smd != StatusCode::SUCCESS) allIsOk =
false;
1087 if (sc3 == StatusCode::FAILURE) allIsOk =
false;
1091 if (!allIsOk)
return StatusCode::FAILURE;
1093 return StatusCode::SUCCESS;
◆ regManagedLWHistograms()
StatusCode ManagedMonitorToolBase::regManagedLWHistograms |
( |
std::vector< MgmtParams< LWHist > > & |
templateLWHistograms | ) |
|
|
protectedinherited |
◆ regManagedTrees()
StatusCode ManagedMonitorToolBase::regManagedTrees |
( |
std::vector< MgmtParams< TTree > > & |
templateTrees | ) |
|
|
protectedinherited |
Definition at line 1260 of file ManagedMonitorToolBase.cxx.
1264 bool allIsOk =
true;
1266 for( std::vector< MgmtParams<TTree> >::
iterator it = templateTrees.begin();
it != templateTrees.end(); ++
it ) {
1267 MonGroup
group = (*it).m_group;
1270 TTree* theTree = (*it).m_templateHist;
1273 TTree*
t =
static_cast<TTree*
>(theTree->Clone());
1277 std::string
name =
t->GetName();
1284 if (sc1 == StatusCode::FAILURE) allIsOk =
false;
1288 if (sc2 == StatusCode::FAILURE) allIsOk =
false;
1291 std::string genericName = NoOutputStream().getStreamName(
this,
group,
name );
1300 if (
smd != StatusCode::SUCCESS) allIsOk =
false;
1304 if (sc3 == StatusCode::FAILURE) allIsOk =
false;
1308 if (!allIsOk)
return StatusCode::FAILURE;
1310 return StatusCode::SUCCESS;
◆ regTree() [1/2]
StatusCode ManagedMonitorToolBase::regTree |
( |
TTree * |
t, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Registers a TTree to be included in the output stream using logical parameters that describe it.
Definition at line 1758 of file ManagedMonitorToolBase.cxx.
1773 return StatusCode::FAILURE;
1776 std::string
name =
t->GetName();
1777 std::string genericName = NoOutputStream().getStreamName(
this, group_unmanaged,
name );
1785 std::string tName =
t->GetName();
1788 std::string genericName = NoOutputStream().getStreamName(
this,
group, tName );
1796 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regTree() [2/2]
Registers a TTree to be included in the output stream using logical parameters that describe it.
Definition at line 1748 of file ManagedMonitorToolBase.cxx.
◆ renounce()
◆ renounceArray()
◆ runStat()
StatusCode ManagedMonitorToolBase::runStat |
( |
| ) |
|
|
virtualinherited |
This implementation does nothing; equivalent functionality may be provided by procHists( true, true, true ).
Implements IMonitorToolBase.
Definition at line 1893 of file ManagedMonitorToolBase.cxx.
1896 return StatusCode::SUCCESS;
◆ scale_LWHist()
void TRT_Monitoring_Tool::scale_LWHist |
( |
LWHist1D * |
hist, |
|
|
float |
scale |
|
) |
| |
|
staticprivate |
◆ scale_LWHistWithScaleVector()
void TRT_Monitoring_Tool::scale_LWHistWithScaleVector |
( |
LWHist1D * |
hist, |
|
|
const std::vector< float > & |
scale |
|
) |
| |
|
private |
◆ setMonManager()
◆ setupOutputStreams()
StatusCode ManagedMonitorToolBase::setupOutputStreams |
( |
std::vector< std::string > |
Mapping = std::vector<std::string>() | ) |
|
|
virtualinherited |
◆ Straw_Gastype()
GasType TRT_Monitoring_Tool::Straw_Gastype |
( |
int |
stat | ) |
|
|
inlineprivate |
Definition at line 633 of file TRT_Monitoring_Tool.h.
641 else if (
stat==5 ) { Gas =
Kr; }
642 else if (
stat==6 ) { Gas =
Xe; }
643 else if (
stat==7 ) { Gas =
Xe; }
644 else {
ATH_MSG_FATAL (
"getStatusHT = " <<
stat <<
", must be 'Good(2)||Xenon(3)' or 'Dead(1)||Argon(4)' or 'Krypton(5)!' or 6 or 7 for emulated types!");
◆ strawLayerNumber()
int TRT_Monitoring_Tool::strawLayerNumber |
( |
int |
strawLayerNumber, |
|
|
int |
LayerNumber |
|
) |
| |
|
staticprivate |
◆ strawLayerNumber_reverse()
int TRT_Monitoring_Tool::strawLayerNumber_reverse |
( |
int |
strawLayerNumInp, |
|
|
int * |
strawLayerNumber, |
|
|
int * |
LayerNumber |
|
) |
| |
|
staticprivate |
◆ strawNumber()
int TRT_Monitoring_Tool::strawNumber |
( |
int |
strawNumber, |
|
|
int |
strawlayerNumber, |
|
|
int |
LayerNumber |
|
) |
| |
|
private |
Definition at line 4093 of file TRT_Monitoring_Tool.cxx.
4095 int addToStrawNumber = 0;
4096 int addToStrawNumberNext = 0;
4098 const int numberOfStraws[75] = {
4125 addToStrawNumber += numberOfStraws[
i - 1];
4126 addToStrawNumberNext = addToStrawNumber + numberOfStraws[
i];
4131 if (strawNumber < 0 || strawNumber >
s_Straw_max[0] - 1) {
◆ strawNumber_reverse()
int TRT_Monitoring_Tool::strawNumber_reverse |
( |
int |
inp_strawnumber, |
|
|
int * |
strawNumber, |
|
|
int * |
strawlayerNumber, |
|
|
int * |
LayerNumber |
|
) |
| |
|
staticprivate |
Definition at line 4140 of file TRT_Monitoring_Tool.cxx.
4142 const int numberOfStraws[75] = {
4169 for (
i = 1; inp_strawnumber >= 0;
i++) {
4170 inp_strawnumber -= numberOfStraws[
i];
◆ strawNumberEndCap()
int TRT_Monitoring_Tool::strawNumberEndCap |
( |
int |
strawNumber, |
|
|
int |
strawLayerNumber, |
|
|
int |
LayerNumber, |
|
|
int |
phi_stack, |
|
|
int |
side |
|
) |
| |
|
private |
Definition at line 4180 of file TRT_Monitoring_Tool.cxx.
4185 static const int TripletOrientation[2][32] = {
4187 1, 1, 1, 1, 1, 1, 1, 1,
4188 0, 0, 0, 0, 0, 0, 0, 0,
4189 1, 1, 1, 1, 1, 1, 1, 1,
4190 0, 0, 0, 0, 0, 0, 0, 0
4193 1, 1, 1, 1, 1, 1, 1, 1,
4194 0, 0, 0, 0, 0, 0, 0, 0,
4195 1, 1, 1, 1, 1, 1, 1, 1,
4196 0, 0, 0, 0, 0, 0, 0, 0
4201 if (
side == 2) phi1 = phi_stack,
side = 1;
4202 else if (
side == -2) phi1 = 31 - phi_stack,
side = 0;
4205 if (TripletOrientation[
side][phi1]) {
4231 int strawNumberNew = 0;
4233 if (LayerNumber < 6 && strawLayerNumber > 7) {
4234 strawNumberNew = strawNumberNew + (384 * LayerNumber);
4237 strawNumberNew = strawNumberNew + (384 * LayerNumber);
4240 strawNumberNew = strawNumberNew + 2304 + 192 * (LayerNumber - 6);
4243 strawNumberNew = strawNumberNew + 2304 + 192 * (LayerNumber - 6);
4249 if (strawNumber < 0 || strawNumber >
s_Straw_max[1] - 1) {
◆ streamNameFunction()
Returns the function object that converts logical paramters into a physical stream name.
Definition at line 502 of file ManagedMonitorToolBase.cxx.
506 msg(MSG::ERROR) <<
"!! streamNameFunction() has not been initialized !!" <<
endmsg;
507 msg(MSG::ERROR) <<
" --> neither ManagedMonitorToolBase::initialize() nor" <<
endmsg;
508 msg(MSG::ERROR) <<
" --> ManagedMonitorToolBase::setMonManager() has been called." <<
endmsg;
509 msg(MSG::ERROR) <<
" --> Correct configuration cannot be guaranteed from this point." <<
endmsg;
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ THistSvc_deReg_fixTGraph()
StatusCode ManagedMonitorToolBase::THistSvc_deReg_fixTGraph |
( |
TFile * |
file, |
|
|
TGraph * |
theGraph, |
|
|
std::string & |
directoryName |
|
) |
| |
|
protectedinherited |
Fixes THistSvc->deReg(obj) when obj is TGraph instance.
Read more in source file about this bug.
Definition at line 1097 of file ManagedMonitorToolBase.cxx.
1107 GlobalDirectoryRestore restore;
1110 bool graphRemoved =
false;
1113 TDirectory*
dir =
file->GetDirectory(directoryName.c_str());
1116 TObject*
obj =
dir->Remove(theGraph);
1118 graphRemoved =
true;
1121 if (!graphRemoved) {
1122 return StatusCode::FAILURE;
1125 return StatusCode::SUCCESS;
◆ trigChainsArePassed()
bool ManagedMonitorToolBase::trigChainsArePassed |
( |
std::vector< std::string > & |
vTrigNames | ) |
|
|
protectedvirtualinherited |
◆ trtRegHist()
template<typename T >
StatusCode TRT_Monitoring_Tool::trtRegHist |
( |
T * |
hist, |
|
|
MonGroup & |
mongrp, |
|
|
const char * |
hName |
|
) |
| |
|
inlineprivate |
◆ updateTriggersForGroups()
void ManagedMonitorToolBase::updateTriggersForGroups |
( |
std::vector< std::string > & |
vTrigChainNames | ) |
|
|
protectedinherited |
Definition at line 2362 of file ManagedMonitorToolBase.cxx.
2364 for (
size_t i = 0;
i < vTrigChainNames.size(); ++
i) {
2365 std::string& thisName = vTrigChainNames[
i];
2366 if (thisName.compare(0, 9,
"CATEGORY_") ==0) {
2367 ATH_MSG_DEBUG(
"Found a trigger category: " << thisName <<
". We will unpack it.");
2369 std::ostringstream oss;
2371 for (
size_t itrig = 0; itrig <
triggers.size(); ++itrig) {
2379 std::string newval = oss.str();
2381 vTrigChainNames[
i] = newval;
◆ updateVHKA()
◆ writeAndDelete()
StatusCode ManagedMonitorToolBase::writeAndDelete |
( |
TH1 * |
h, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Write out histogram and delete it.
Definition at line 1803 of file ManagedMonitorToolBase.cxx.
1806 return StatusCode::FAILURE;
1808 std::string hName =
h->GetName();
1811 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1814 return StatusCode::SUCCESS;
◆ m_ArgonXenonSplitter
bool TRT_Monitoring_Tool::m_ArgonXenonSplitter |
|
private |
◆ m_bookHistogramsInitial
bool ManagedMonitorToolBase::m_bookHistogramsInitial |
|
privateinherited |
◆ m_bsErrContKey
◆ m_combTrackCollectionKey
◆ m_comTimeObjectKey
◆ m_condSvc_BS
◆ m_d
Imp* ManagedMonitorToolBase::m_d |
|
privateinherited |
◆ m_DAQSvc
◆ m_datatype
std::string TRT_Monitoring_Tool::m_datatype |
|
private |
◆ m_dataType
◆ m_dataTypeStr
std::string ManagedMonitorToolBase::m_dataTypeStr |
|
protectedinherited |
◆ m_DEBUG
bool TRT_Monitoring_Tool::m_DEBUG |
|
private |
◆ m_defaultLBDuration
float ManagedMonitorToolBase::m_defaultLBDuration |
|
privateinherited |
◆ m_detailLevel
unsigned int ManagedMonitorToolBase::m_detailLevel |
|
protectedinherited |
◆ m_detStore
◆ m_DistToStraw
float TRT_Monitoring_Tool::m_DistToStraw |
|
private |
◆ m_doASide
bool TRT_Monitoring_Tool::m_doASide |
|
private |
◆ m_doChips
bool TRT_Monitoring_Tool::m_doChips |
|
private |
◆ m_doCSide
bool TRT_Monitoring_Tool::m_doCSide |
|
private |
◆ m_doDCS
bool TRT_Monitoring_Tool::m_doDCS |
|
private |
◆ m_doDiagnostic
bool TRT_Monitoring_Tool::m_doDiagnostic |
|
private |
◆ m_doEfficiency
bool TRT_Monitoring_Tool::m_doEfficiency |
|
private |
◆ m_doExpert
bool TRT_Monitoring_Tool::m_doExpert |
|
private |
◆ m_doGeoMon
bool TRT_Monitoring_Tool::m_doGeoMon |
|
private |
◆ m_doMaskStraws
bool TRT_Monitoring_Tool::m_doMaskStraws |
|
private |
◆ m_doRDOsMon
bool TRT_Monitoring_Tool::m_doRDOsMon |
|
private |
◆ m_doShift
bool TRT_Monitoring_Tool::m_doShift |
|
private |
◆ m_doStraws
bool TRT_Monitoring_Tool::m_doStraws |
|
private |
◆ m_doTracksMon
bool TRT_Monitoring_Tool::m_doTracksMon |
|
private |
◆ m_DQFilterTools
ToolHandleArray<IDQFilterTool> ManagedMonitorToolBase::m_DQFilterTools {this,"FilterTools",{}} |
|
protectedinherited |
◆ m_DriftTimeonTrkDistScale_B
float TRT_Monitoring_Tool::m_DriftTimeonTrkDistScale_B |
|
private |
◆ m_DriftTimeonTrkDistScale_B_Ar
float TRT_Monitoring_Tool::m_DriftTimeonTrkDistScale_B_Ar |
|
private |
◆ m_DriftTimeonTrkDistScale_E
float TRT_Monitoring_Tool::m_DriftTimeonTrkDistScale_E[2] |
|
private |
◆ m_DriftTimeonTrkDistScale_E_Ar
float TRT_Monitoring_Tool::m_DriftTimeonTrkDistScale_E_Ar[2] |
|
private |
◆ m_drifttool
◆ m_endOfEventsBlock
bool ManagedMonitorToolBase::m_endOfEventsBlock |
|
privateinherited |
◆ m_endOfLowStat
bool ManagedMonitorToolBase::m_endOfLowStat |
|
privateinherited |
◆ m_endOfLumiBlock
bool ManagedMonitorToolBase::m_endOfLumiBlock |
|
privateinherited |
◆ m_endOfRun
bool ManagedMonitorToolBase::m_endOfRun |
|
privateinherited |
◆ m_environment
◆ m_environmentStr
std::string ManagedMonitorToolBase::m_environmentStr |
|
protectedinherited |
◆ m_EventBurstCut
int TRT_Monitoring_Tool::m_EventBurstCut |
|
private |
◆ m_EventPhaseScale
float TRT_Monitoring_Tool::m_EventPhaseScale |
|
private |
◆ m_every_xth_track
int TRT_Monitoring_Tool::m_every_xth_track |
|
private |
◆ m_evtLumiBlock
int TRT_Monitoring_Tool::m_evtLumiBlock |
|
private |
◆ m_evtStore
◆ m_fileKey
std::string ManagedMonitorToolBase::m_fileKey |
|
protectedinherited |
◆ m_flagforscale
int TRT_Monitoring_Tool::m_flagforscale |
|
private |
◆ m_geo_summary_provider
std::string TRT_Monitoring_Tool::m_geo_summary_provider |
|
private |
◆ m_good_bcid
int TRT_Monitoring_Tool::m_good_bcid |
|
private |
◆ m_haveClearedLastEventBlock
bool ManagedMonitorToolBase::m_haveClearedLastEventBlock |
|
protectedinherited |
◆ m_hAvgHLOcc_side
TProfile_LW* TRT_Monitoring_Tool::m_hAvgHLOcc_side[2][2] {} |
|
private |
◆ m_hAvgHLOccMod_side
TProfile_LW* TRT_Monitoring_Tool::m_hAvgHLOccMod_side[2][2] {} |
|
private |
◆ m_hAvgLLOcc_side
TProfile_LW* TRT_Monitoring_Tool::m_hAvgLLOcc_side[2][2] {} |
|
private |
◆ m_hAvgLLOccMod_side
TProfile_LW* TRT_Monitoring_Tool::m_hAvgLLOccMod_side[2][2] {} |
|
private |
Avg.
Occupancy: Modules (Side A&C) Average Occupancy per Phi Module on Side A(&C). This is an RDO level Histogram.
Definition at line 436 of file TRT_Monitoring_Tool.h.
◆ m_hAvgTroTDetPhi_B
◆ m_hAvgTroTDetPhi_B_Ar
TProfile_LW* TRT_Monitoring_Tool::m_hAvgTroTDetPhi_B_Ar |
|
private |
◆ m_hAvgTroTDetPhi_E
TProfile_LW* TRT_Monitoring_Tool::m_hAvgTroTDetPhi_E[2] {} |
|
private |
◆ m_hAvgTroTDetPhi_E_Ar
TProfile_LW* TRT_Monitoring_Tool::m_hAvgTroTDetPhi_E_Ar[2] {} |
|
private |
◆ m_hBCIDvsOcc
◆ m_hChipBSErrorsVsLB
TProfile* TRT_Monitoring_Tool::m_hChipBSErrorsVsLB[2][2] {} |
|
private |
◆ m_hChipOcc
TH1F_LW* TRT_Monitoring_Tool::m_hChipOcc[2][64] {} |
|
private |
Avg.
Occupancy: Modules (Side A and C) Average Occupancy per Phi Module on Side A and C. This is an RDO level Histogram.
Definition at line 444 of file TRT_Monitoring_Tool.h.
◆ m_hChipsEff
TProfile_LW* TRT_Monitoring_Tool::m_hChipsEff[2][64] {} |
|
private |
◆ m_hDriftTimeonTrkDist_B
TH1F_LW* TRT_Monitoring_Tool::m_hDriftTimeonTrkDist_B |
|
private |
◆ m_hDriftTimeonTrkDist_B_Ar
TH1F_LW* TRT_Monitoring_Tool::m_hDriftTimeonTrkDist_B_Ar |
|
private |
◆ m_hDriftTimeonTrkDist_E
TH1F_LW* TRT_Monitoring_Tool::m_hDriftTimeonTrkDist_E[2] {} |
|
private |
◆ m_hDriftTimeonTrkDist_E_Ar
TH1F_LW* TRT_Monitoring_Tool::m_hDriftTimeonTrkDist_E_Ar[2] {} |
|
private |
◆ m_hefficiency
TH1F_LW* TRT_Monitoring_Tool::m_hefficiency[2][2] {} |
|
private |
◆ m_hefficiency_eta
◆ m_hefficiency_phi
◆ m_hefficiency_pt
◆ m_hefficiency_z0
◆ m_hefficiencyBarrel_locR
TProfile_LW* TRT_Monitoring_Tool::m_hefficiencyBarrel_locR |
|
private |
◆ m_hefficiencyBarrel_locR_Ar
TProfile_LW* TRT_Monitoring_Tool::m_hefficiencyBarrel_locR_Ar |
|
private |
◆ m_hefficiencyC
TProfile_LW* TRT_Monitoring_Tool::m_hefficiencyC[2][64] {} |
|
private |
◆ m_hefficiencyEndCap_locR
TProfile_LW* TRT_Monitoring_Tool::m_hefficiencyEndCap_locR[2] {} |
|
private |
◆ m_hefficiencyEndCap_locR_Ar
TProfile_LW* TRT_Monitoring_Tool::m_hefficiencyEndCap_locR_Ar[2] {} |
|
private |
◆ m_hefficiencyIntegral
TH1F_LW* TRT_Monitoring_Tool::m_hefficiencyIntegral[2][2] {} |
|
private |
◆ m_hefficiencyMap
TProfile_LW* TRT_Monitoring_Tool::m_hefficiencyMap[2] {} |
|
private |
◆ m_hefficiencyS
TProfile_LW* TRT_Monitoring_Tool::m_hefficiencyS[2][64] {} |
|
private |
◆ m_hEvtPhase
TH1F_LW* TRT_Monitoring_Tool::m_hEvtPhase |
|
private |
◆ m_hEvtPhaseDetPhi_B
◆ m_hEvtPhaseDetPhi_E
TProfile_LW* TRT_Monitoring_Tool::m_hEvtPhaseDetPhi_E[2] {} |
|
private |
◆ m_hEvtPhaseVsTrig
TH2F_LW* TRT_Monitoring_Tool::m_hEvtPhaseVsTrig |
|
private |
◆ m_hHightoLowRatioOnTrack_Scatter
TH2F_LW* TRT_Monitoring_Tool::m_hHightoLowRatioOnTrack_Scatter[2] {} |
|
private |
◆ m_hHitAMapC
TH1F_LW* TRT_Monitoring_Tool::m_hHitAMapC[2][64] {} |
|
private |
◆ m_hHitAMapS
TH1F_LW* TRT_Monitoring_Tool::m_hHitAMapS[2][64] {} |
|
private |
Any LL bit on: Straws if any low threshold bit was set.
if leading edge is > 0, or if trailing edge < 23, or if first bin is high, or if last bin is high This is an RDO level histogram.
Definition at line 289 of file TRT_Monitoring_Tool.h.
◆ m_hHitAonTMapC
TH1F_LW* TRT_Monitoring_Tool::m_hHitAonTMapC[2][64] {} |
|
private |
◆ m_hHitAonTMapS
TH1F_LW* TRT_Monitoring_Tool::m_hHitAonTMapS[2][64] {} |
|
private |
Any LL bit on track: Straws Any low level bit is set from hit associated with a track.
This is a track level hit
Definition at line 357 of file TRT_Monitoring_Tool.h.
◆ m_hHitAWMapC
TH1F_LW* TRT_Monitoring_Tool::m_hHitAWMapC[2][64] {} |
|
private |
◆ m_hHitAWMapS
TH1F_LW* TRT_Monitoring_Tool::m_hHitAWMapS[2][64] {} |
|
private |
LL in time window: Straws Any low level hit in time window by straw.
((m_driftTimeBin>0 || m_trailingEdge<23)&& !m_firstBinHigh && !m_lastBinHigh) This is an RDO level histogram.
Definition at line 296 of file TRT_Monitoring_Tool.h.
◆ m_hHitAWonTMapC
TH1F_LW* TRT_Monitoring_Tool::m_hHitAWonTMapC[2][64] {} |
|
private |
◆ m_hHitAWonTMapS
TH1F_LW* TRT_Monitoring_Tool::m_hHitAWonTMapS[2][64] {} |
|
private |
Any LL bit in time window on track: Straws Any low level (LL) bit set and is in time window from hits associated with tracks This is a track level histogram.
Definition at line 363 of file TRT_Monitoring_Tool.h.
◆ m_hHitHMapC
TH1F_LW* TRT_Monitoring_Tool::m_hHitHMapC[2][64] {} |
|
private |
◆ m_hHitHMapS
TH1F_LW* TRT_Monitoring_Tool::m_hHitHMapS[2][64] {} |
|
private |
High Level: Straws If a hit has any of the high threshold time bins up.
m_hHitHMapS[m_phi_module]->Fill(m_strawNumber); This is an RDO level histogram
Definition at line 333 of file TRT_Monitoring_Tool.h.
◆ m_hHitHonTMapC
TH1F_LW* TRT_Monitoring_Tool::m_hHitHonTMapC[2][64] {} |
|
private |
◆ m_hHitHonTMapS
TH1F_LW* TRT_Monitoring_Tool::m_hHitHonTMapS[2][64] {} |
|
private |
◆ m_hHitHWMapC
TH1F_LW* TRT_Monitoring_Tool::m_hHitHWMapC[2][64] {} |
|
private |
◆ m_hHitHWMapS
TH1F_LW* TRT_Monitoring_Tool::m_hHitHWMapS[2][64] {} |
|
private |
HL in time window: Straws If a hit has any of the high threshold time bins up, and is in the time window.
((m_driftTimeBin<24) && !m_firstBinHight && !m_lastBinHight) This is an RDO level histogram
Definition at line 339 of file TRT_Monitoring_Tool.h.
◆ m_hHitHWonTMapC
TH1F_LW* TRT_Monitoring_Tool::m_hHitHWonTMapC[2][64] {} |
|
private |
◆ m_hHitHWonTMapS
TH1F_LW* TRT_Monitoring_Tool::m_hHitHWonTMapS[2][64] {} |
|
private |
Any HL hit on track: Straws Any straw with a High Threshold (HL) hit associated with a track.
This is a track level histogram
Definition at line 369 of file TRT_Monitoring_Tool.h.
◆ m_hHitOnTrackVsAllC
TH1F_LW* TRT_Monitoring_Tool::m_hHitOnTrackVsAllC[2][64] {} |
|
private |
◆ m_hHitOnTrackVsAllS
TH1F_LW* TRT_Monitoring_Tool::m_hHitOnTrackVsAllS[2][64] {} |
|
private |
◆ m_hHitsOnTrack_Scatter
TH2F_LW* TRT_Monitoring_Tool::m_hHitsOnTrack_Scatter[2] {} |
|
private |
Anatoli's "Scatter histograms" ** Monitor quantities as a function of lumi block.
Fill per every stack
Definition at line 450 of file TRT_Monitoring_Tool.h.
◆ m_hHitToTLongMapS
TProfile_LW* TRT_Monitoring_Tool::m_hHitToTLongMapS[2][64] {} |
|
private |
Mean ToT (ns) for straws with ToT > LongToTCut: Straws.
Average Time over Threshold (ToT) in nano seconds per straw for straws with ToT > LongToTCut. m_hHitToTLongMapS[m_phi_module]->Fill(m_strawNumber, m_timeOverThreshold); m_timeOverThreshold = (p_lolum)->timeOverThreshold(); This is an RDO level histogram.
Definition at line 318 of file TRT_Monitoring_Tool.h.
◆ m_hHitToTLongTrMapS
TProfile_LW* TRT_Monitoring_Tool::m_hHitToTLongTrMapS[2][64] {} |
|
private |
Mean Trailing Edge (ns) for straws with ToT > LongToTCut: Straws.
Average Trailing Edge (Tr) in nano seconds per straw for straws with ToT > LongToTCut. m_hHitToTLongTrMapS[m_phi_module]->Fill(m_strawNumber, m_trailingEdge); m_trailingEdge = (p_lolum)->trailingEgde(); This is an RDO level histogram.
Definition at line 326 of file TRT_Monitoring_Tool.h.
◆ m_hHitToTMapC
TProfile_LW* TRT_Monitoring_Tool::m_hHitToTMapC[2][64] {} |
|
private |
◆ m_hHitToTMapS
TProfile_LW* TRT_Monitoring_Tool::m_hHitToTMapS[2][64] {} |
|
private |
Mean ToT (ns): Straws.
Average Time over Threshold (ToT) in nano seconds per straw. m_hHitToTMapS[m_phi_module]->Fill(m_strawNumber, m_timeOverThreshold); m_timeOverThreshold = (p_lolum)->timeOverThreshold(); This is an RDO level histogram.
Definition at line 310 of file TRT_Monitoring_Tool.h.
◆ m_hHitToTonTMapC
TProfile_LW* TRT_Monitoring_Tool::m_hHitToTonTMapC[2][64] {} |
|
private |
◆ m_hHitToTonTMapS
TProfile_LW* TRT_Monitoring_Tool::m_hHitToTonTMapS[2][64] {} |
|
private |
Mean ToT (ns) on Track: Straws Average Time over Threshold (ToT) from a straw hit associated with a track.
This is a track level histogram.
Definition at line 387 of file TRT_Monitoring_Tool.h.
◆ m_hHitToTrkDistanceMapS_E
TProfile_LW* TRT_Monitoring_Tool::m_hHitToTrkDistanceMapS_E[64] {} |
|
private |
◆ m_hHitTrMapC
TProfile_LW* TRT_Monitoring_Tool::m_hHitTrMapC[2][64] {} |
|
private |
◆ m_hHitTrMapS
TProfile_LW* TRT_Monitoring_Tool::m_hHitTrMapS[2][64] {} |
|
private |
◆ m_hHitTronTMapC
TProfile_LW* TRT_Monitoring_Tool::m_hHitTronTMapC[2][64] {} |
|
private |
◆ m_hHitTronTMapS
TProfile_LW* TRT_Monitoring_Tool::m_hHitTronTMapS[2][64] {} |
|
private |
Mean TE on track: Straws Average Trailing Edge(TE) from a hit associated with a track.
This is a track level histogram.
Definition at line 351 of file TRT_Monitoring_Tool.h.
◆ m_hHitTronTwEPCMapC
TProfile_LW* TRT_Monitoring_Tool::m_hHitTronTwEPCMapC[2][64] {} |
|
private |
◆ m_hHitTronTwEPCMapS
TProfile_LW* TRT_Monitoring_Tool::m_hHitTronTwEPCMapS[2][64] {} |
|
private |
Mean TE on track (with Event Phase correction): Straws.
Average trailing edge(TE) on track after correcting for event phase from a hit associated with a track. This is a track level histogram.
Definition at line 393 of file TRT_Monitoring_Tool.h.
◆ m_hHitTrWMapC
TProfile_LW* TRT_Monitoring_Tool::m_hHitTrWMapC[2][64] {} |
|
private |
◆ m_hHitTrWMapS
TProfile_LW* TRT_Monitoring_Tool::m_hHitTrWMapS[2][64] {} |
|
private |
TE in Time Window: Straws.
If hit trailing edge is in time window. In Time window means ((trailingEdge<23)&& !lastBinHigh && !firstBinHigh) m_hHitTrWMapS[m_phi_module]->Fill(m_strawNumber, ((m_trailingEdge+1)*3.125));
Definition at line 276 of file TRT_Monitoring_Tool.h.
◆ m_hHitWMap_B
TH1F_LW* TRT_Monitoring_Tool::m_hHitWMap_B |
|
private |
◆ m_hHitWMap_B_Ar
TH1F_LW* TRT_Monitoring_Tool::m_hHitWMap_B_Ar |
|
private |
◆ m_hHitWMap_E
TH1F_LW* TRT_Monitoring_Tool::m_hHitWMap_E[2] {} |
|
private |
◆ m_hHitWMap_E_Ar
TH1F_LW* TRT_Monitoring_Tool::m_hHitWMap_E_Ar[2] {} |
|
private |
◆ m_hHitWMapC
TH1F_LW* TRT_Monitoring_Tool::m_hHitWMapC[2][64] {} |
|
private |
◆ m_hHitWMapS
TH1F_LW* TRT_Monitoring_Tool::m_hHitWMapS[2][64] {} |
|
private |
Leading Edge in time Window: Straws.
Any hit where the leading edge (driftTimeBin()) is less than 24. In Time window means ((driftTimeBin<24) && !lastBinHigh && !firstBinHigh) This is an RDO level histogram.
Definition at line 269 of file TRT_Monitoring_Tool.h.
◆ m_hHitWonTMap_B
TH1F_LW* TRT_Monitoring_Tool::m_hHitWonTMap_B |
|
private |
◆ m_hHitWonTMap_E
TH1F_LW* TRT_Monitoring_Tool::m_hHitWonTMap_E[2] {} |
|
private |
◆ m_hHitWonTMapC
TH1F_LW* TRT_Monitoring_Tool::m_hHitWonTMapC[2][64] {} |
|
private |
LE in time window on track: Chips.
Leading Edge (LE) from a hit associated with a track is within first 23 time bins. Plotted as a function of DTMROC. This is a track level histogram.
Definition at line 419 of file TRT_Monitoring_Tool.h.
◆ m_hHitWonTMapS
TH1F_LW* TRT_Monitoring_Tool::m_hHitWonTMapS[2][64] {} |
|
private |
LE in time window on track: Straws.
Leading Edge (LE) is within first 23 time bins of read out from a hit associated with a track. This is track level histogram.
Definition at line 345 of file TRT_Monitoring_Tool.h.
◆ m_hHLhitOnTrack_B
TH1F_LW* TRT_Monitoring_Tool::m_hHLhitOnTrack_B |
|
private |
◆ m_hHLhitOnTrack_E
TH1F_LW* TRT_Monitoring_Tool::m_hHLhitOnTrack_E[2] {} |
|
private |
◆ m_hHtoBCMapB
TH2F_LW* TRT_Monitoring_Tool::m_hHtoBCMapB[2][64] {} |
|
private |
◆ m_hHtoBCMapC
TH2F_LW* TRT_Monitoring_Tool::m_hHtoBCMapC[2][64] {} |
|
private |
◆ m_hHtoLMapC
TH1F_LW* TRT_Monitoring_Tool::m_hHtoLMapC[2][64] {} |
|
private |
◆ m_hHtoLMapS
TH1F_LW* TRT_Monitoring_Tool::m_hHtoLMapS[2][64] {} |
|
private |
HL/LL: Straws The ratio of High Level hits to Low Level hits per straw.
This is an RDO level histogram.
Definition at line 302 of file TRT_Monitoring_Tool.h.
◆ m_hHtoLonTMapC
TH1F_LW* TRT_Monitoring_Tool::m_hHtoLonTMapC[2][64] {} |
|
private |
◆ m_hHtoLonTMapS
TH1F_LW* TRT_Monitoring_Tool::m_hHtoLonTMapS[2][64] {} |
|
private |
HL in time window on track: Straws Straws with a High Threshold hit associated with a track and the hit is in the time window.
This is a track level histogram.
Definition at line 378 of file TRT_Monitoring_Tool.h.
◆ m_hHtoLRatioOnTrack_B
TH1F_LW* TRT_Monitoring_Tool::m_hHtoLRatioOnTrack_B |
|
private |
◆ m_hHtoLRatioOnTrack_B_Ar
TH1F_LW* TRT_Monitoring_Tool::m_hHtoLRatioOnTrack_B_Ar |
|
private |
◆ m_hHtoLRatioOnTrack_B_Xe
TH1F_LW* TRT_Monitoring_Tool::m_hHtoLRatioOnTrack_B_Xe |
|
private |
◆ m_hHtoLRatioOnTrack_E
TH1F_LW* TRT_Monitoring_Tool::m_hHtoLRatioOnTrack_E[2] {} |
|
private |
◆ m_hHtoLRatioOnTrack_E_Ar
TH1F_LW* TRT_Monitoring_Tool::m_hHtoLRatioOnTrack_E_Ar[2] {} |
|
private |
◆ m_hHtoLRatioOnTrack_E_Xe
TH1F_LW* TRT_Monitoring_Tool::m_hHtoLRatioOnTrack_E_Xe[2] {} |
|
private |
◆ m_hHtoLWonTMapC
TH1F_LW* TRT_Monitoring_Tool::m_hHtoLWonTMapC[2][64] {} |
|
private |
◆ m_hHtoLWonTMapS
TH1F_LW* TRT_Monitoring_Tool::m_hHtoLWonTMapS[2][64] {} |
|
private |
◆ m_HL_timeWindow_MAX
int TRT_Monitoring_Tool::m_HL_timeWindow_MAX |
|
private |
◆ m_HL_timeWindow_MIN
int TRT_Monitoring_Tool::m_HL_timeWindow_MIN |
|
private |
◆ m_HLhitOnTrackScale_B
float TRT_Monitoring_Tool::m_HLhitOnTrackScale_B |
|
private |
◆ m_HLhitOnTrackScale_E
float TRT_Monitoring_Tool::m_HLhitOnTrackScale_E[2] |
|
private |
◆ m_hLLOcc_Scatter
TH2F_LW* TRT_Monitoring_Tool::m_hLLOcc_Scatter[2] {} |
|
private |
◆ m_hNHitsperLB_B
TProfile* TRT_Monitoring_Tool::m_hNHitsperLB_B |
|
private |
◆ m_hNHitsperLB_E
TProfile* TRT_Monitoring_Tool::m_hNHitsperLB_E[2] {} |
|
private |
◆ m_hNHLHitsperLB_B
TProfile* TRT_Monitoring_Tool::m_hNHLHitsperLB_B |
|
private |
◆ m_hNHLHitsperLB_E
TProfile* TRT_Monitoring_Tool::m_hNHLHitsperLB_E[2] {} |
|
private |
◆ m_hNTrksperLB_B
TProfile* TRT_Monitoring_Tool::m_hNTrksperLB_B |
|
private |
◆ m_hNTrksperLB_E
TProfile* TRT_Monitoring_Tool::m_hNTrksperLB_E[2] {} |
|
private |
◆ m_hNumHoTDetPhi_B
◆ m_hNumHoTDetPhi_E
TProfile_LW* TRT_Monitoring_Tool::m_hNumHoTDetPhi_E[2] {} |
|
private |
◆ m_hNumSwLLWoT_B
TH1F_LW* TRT_Monitoring_Tool::m_hNumSwLLWoT_B |
|
private |
◆ m_hNumSwLLWoT_E
TH1F_LW* TRT_Monitoring_Tool::m_hNumSwLLWoT_E[2] {} |
|
private |
◆ m_hNumTrksDetPhi_B
TH1F_LW* TRT_Monitoring_Tool::m_hNumTrksDetPhi_B |
|
private |
◆ m_hNumTrksDetPhi_E
TH1F_LW* TRT_Monitoring_Tool::m_hNumTrksDetPhi_E[2] {} |
|
private |
◆ m_hOccAll
TH1F_LW* TRT_Monitoring_Tool::m_hOccAll |
|
private |
◆ m_hResidual_B
TH1F_LW* TRT_Monitoring_Tool::m_hResidual_B |
|
private |
◆ m_hResidual_B_20GeV
TH1F_LW* TRT_Monitoring_Tool::m_hResidual_B_20GeV |
|
private |
◆ m_hResidual_B_Ar
TH1F_LW* TRT_Monitoring_Tool::m_hResidual_B_Ar |
|
private |
◆ m_hResidual_B_Ar_20GeV
TH1F_LW* TRT_Monitoring_Tool::m_hResidual_B_Ar_20GeV |
|
private |
◆ m_hResidual_E
TH1F_LW* TRT_Monitoring_Tool::m_hResidual_E[2] {} |
|
private |
◆ m_hResidual_E_20GeV
TH1F_LW* TRT_Monitoring_Tool::m_hResidual_E_20GeV[2] {} |
|
private |
◆ m_hResidual_E_Ar
TH1F_LW* TRT_Monitoring_Tool::m_hResidual_E_Ar[2] {} |
|
private |
◆ m_hResidual_E_Ar_20GeV
TH1F_LW* TRT_Monitoring_Tool::m_hResidual_E_Ar_20GeV[2] {} |
|
private |
◆ m_hResVsDetPhi_B
TH1F_LW* TRT_Monitoring_Tool::m_hResVsDetPhi_B |
|
private |
◆ m_hResVsDetPhi_E
TH1F_LW* TRT_Monitoring_Tool::m_hResVsDetPhi_E[2] {} |
|
private |
◆ m_hRobBSErrorsVsLB
TProfile* TRT_Monitoring_Tool::m_hRobBSErrorsVsLB[2][2] {} |
|
private |
◆ m_hrtRelation_B
TH2F_LW* TRT_Monitoring_Tool::m_hrtRelation_B |
|
private |
◆ m_hrtRelation_B_Ar
TH2F_LW* TRT_Monitoring_Tool::m_hrtRelation_B_Ar |
|
private |
◆ m_hrtRelation_E
TH2F_LW* TRT_Monitoring_Tool::m_hrtRelation_E[2] {} |
|
private |
◆ m_hrtRelation_E_Ar
TH2F_LW* TRT_Monitoring_Tool::m_hrtRelation_E_Ar[2] {} |
|
private |
◆ m_hStrawEffDetPhi_B
◆ m_hStrawEffDetPhi_E
TProfile_LW* TRT_Monitoring_Tool::m_hStrawEffDetPhi_E[2] {} |
|
private |
◆ m_hStrawOcc
TH1F_LW* TRT_Monitoring_Tool::m_hStrawOcc[2][64] {} |
|
private |
◆ m_hStrawsEff
TProfile_LW* TRT_Monitoring_Tool::m_hStrawsEff[2][64] {} |
|
private |
◆ m_hSummary
TH1F_LW* TRT_Monitoring_Tool::m_hSummary |
|
private |
◆ m_HTfraconTrack_B
float TRT_Monitoring_Tool::m_HTfraconTrack_B[32] |
|
private |
◆ m_HTfraconTrack_E
float TRT_Monitoring_Tool::m_HTfraconTrack_E[64] |
|
private |
◆ m_hTimeResidual_B
TH1F_LW* TRT_Monitoring_Tool::m_hTimeResidual_B |
|
private |
◆ m_hTimeResidual_B_Ar
TH1F_LW* TRT_Monitoring_Tool::m_hTimeResidual_B_Ar |
|
private |
◆ m_hTimeResidual_E
TH1F_LW* TRT_Monitoring_Tool::m_hTimeResidual_E[2] {} |
|
private |
◆ m_hTimeResidual_E_Ar
TH1F_LW* TRT_Monitoring_Tool::m_hTimeResidual_E_Ar[2] {} |
|
private |
◆ m_HtoLRatioOnTrackScale_B
float TRT_Monitoring_Tool::m_HtoLRatioOnTrackScale_B |
|
private |
◆ m_HtoLRatioOnTrackScale_B_Ar
float TRT_Monitoring_Tool::m_HtoLRatioOnTrackScale_B_Ar |
|
private |
◆ m_HtoLRatioOnTrackScale_B_Xe
float TRT_Monitoring_Tool::m_HtoLRatioOnTrackScale_B_Xe |
|
private |
◆ m_HtoLRatioOnTrackScale_E
float TRT_Monitoring_Tool::m_HtoLRatioOnTrackScale_E[2] |
|
private |
◆ m_HtoLRatioOnTrackScale_E_Ar
float TRT_Monitoring_Tool::m_HtoLRatioOnTrackScale_E_Ar[2] |
|
private |
◆ m_HtoLRatioOnTrackScale_E_Xe
float TRT_Monitoring_Tool::m_HtoLRatioOnTrackScale_E_Xe[2] |
|
private |
◆ m_hTronTDist_B
TH1F_LW* TRT_Monitoring_Tool::m_hTronTDist_B |
|
private |
◆ m_hTronTDist_B_Ar
TH1F_LW* TRT_Monitoring_Tool::m_hTronTDist_B_Ar |
|
private |
◆ m_hTronTDist_E
TH1F_LW* TRT_Monitoring_Tool::m_hTronTDist_E[2] {} |
|
private |
◆ m_hTronTDist_E_Ar
TH1F_LW* TRT_Monitoring_Tool::m_hTronTDist_E_Ar[2] {} |
|
private |
◆ m_hValidRawDriftTimeonTrk
TProfile_LW* TRT_Monitoring_Tool::m_hValidRawDriftTimeonTrk[2][64] {} |
|
private |
Valid Raw Drift Time on Track.
Staws with hits that have valid drift times and are associated with a track. This is a track level histogram.
Definition at line 399 of file TRT_Monitoring_Tool.h.
◆ m_hValidRawDriftTimeonTrkC
TProfile_LW* TRT_Monitoring_Tool::m_hValidRawDriftTimeonTrkC[2][64] {} |
|
private |
◆ m_hWireToTrkPosition_B
TH1F_LW* TRT_Monitoring_Tool::m_hWireToTrkPosition_B |
|
private |
◆ m_hWireToTrkPosition_B_Ar
TH1F_LW* TRT_Monitoring_Tool::m_hWireToTrkPosition_B_Ar |
|
private |
◆ m_hWireToTrkPosition_E
TH1F_LW* TRT_Monitoring_Tool::m_hWireToTrkPosition_E[2] {} |
|
private |
◆ m_hWireToTrkPosition_E_Ar
TH1F_LW* TRT_Monitoring_Tool::m_hWireToTrkPosition_E_Ar[2] {} |
|
private |
◆ m_idHelper
◆ m_IntLum
TH1F_LW* TRT_Monitoring_Tool::m_IntLum |
|
private |
◆ m_isCosmics
bool TRT_Monitoring_Tool::m_isCosmics |
|
private |
◆ m_lastHigStatInterval
int ManagedMonitorToolBase::m_lastHigStatInterval |
|
protectedinherited |
◆ m_lastLowStatInterval
int ManagedMonitorToolBase::m_lastLowStatInterval |
|
protectedinherited |
◆ m_lastLumiBlock
unsigned int ManagedMonitorToolBase::m_lastLumiBlock |
|
protectedinherited |
◆ m_lastMedStatInterval
int ManagedMonitorToolBase::m_lastMedStatInterval |
|
protectedinherited |
◆ m_lastRun
unsigned int ManagedMonitorToolBase::m_lastRun |
|
protectedinherited |
◆ m_lastTRTLumiBlock
int TRT_Monitoring_Tool::m_lastTRTLumiBlock |
|
private |
◆ m_lbDurationDataKey
◆ m_LBvsLum
TH1F_LW* TRT_Monitoring_Tool::m_LBvsLum |
|
private |
◆ m_LBvsTime
TH1F_LW* TRT_Monitoring_Tool::m_LBvsTime |
|
private |
◆ m_LE_timeWindow_MAX
int TRT_Monitoring_Tool::m_LE_timeWindow_MAX |
|
private |
◆ m_LE_timeWindow_MIN
int TRT_Monitoring_Tool::m_LE_timeWindow_MIN |
|
private |
◆ m_LL_timeWindow_MAX
int TRT_Monitoring_Tool::m_LL_timeWindow_MAX |
|
private |
◆ m_LL_timeWindow_MIN
int TRT_Monitoring_Tool::m_LL_timeWindow_MIN |
|
private |
◆ m_LLOcc
float TRT_Monitoring_Tool::m_LLOcc[2][64] {} |
|
private |
◆ m_longToTCut
float TRT_Monitoring_Tool::m_longToTCut |
|
private |
◆ m_LonTrack_B
float TRT_Monitoring_Tool::m_LonTrack_B[32] |
|
private |
◆ m_LonTrack_E
float TRT_Monitoring_Tool::m_LonTrack_E[64] |
|
private |
◆ m_lumiBlocksToResetOcc
int TRT_Monitoring_Tool::m_lumiBlocksToResetOcc |
|
private |
◆ m_lumiDataKey
◆ m_lwhists
std::set<LWHist*> ManagedMonitorToolBase::m_lwhists |
|
protectedinherited |
◆ m_manager
◆ m_managerNameProp
std::string ManagedMonitorToolBase::m_managerNameProp |
|
protectedinherited |
◆ m_mapPath
std::string TRT_Monitoring_Tool::m_mapPath |
|
private |
◆ m_mat_chip_B
unsigned char TRT_Monitoring_Tool::m_mat_chip_B[64][1642] {} |
|
private |
◆ m_mat_chip_E
unsigned char TRT_Monitoring_Tool::m_mat_chip_E[64][3840] {} |
|
private |
◆ m_max_abs_d0
float TRT_Monitoring_Tool::m_max_abs_d0 |
|
private |
◆ m_max_abs_eta
float TRT_Monitoring_Tool::m_max_abs_eta |
|
private |
◆ m_max_abs_z0
float TRT_Monitoring_Tool::m_max_abs_z0 |
|
private |
◆ m_maxDistToStraw
float TRT_Monitoring_Tool::m_maxDistToStraw |
|
private |
◆ m_maxtimestamp
std::atomic<int> TRT_Monitoring_Tool::m_maxtimestamp {0} |
|
mutableprivate |
◆ m_metadataMap
MDMap_t ManagedMonitorToolBase::m_metadataMap |
|
protectedinherited |
◆ m_mgr
◆ m_MIN_N_LL_Hits
int TRT_Monitoring_Tool::m_MIN_N_LL_Hits |
|
private |
◆ m_min_pixel_hits
int TRT_Monitoring_Tool::m_min_pixel_hits |
|
private |
◆ m_min_pT
float TRT_Monitoring_Tool::m_min_pT |
|
private |
◆ m_min_sct_hits
int TRT_Monitoring_Tool::m_min_sct_hits |
|
private |
◆ m_min_si_hits
int TRT_Monitoring_Tool::m_min_si_hits |
|
private |
◆ m_MIN_TOT_Hits
int TRT_Monitoring_Tool::m_MIN_TOT_Hits |
|
private |
◆ m_min_tracks_straw
int TRT_Monitoring_Tool::m_min_tracks_straw |
|
private |
◆ m_min_trt_hits
int TRT_Monitoring_Tool::m_min_trt_hits |
|
private |
◆ m_minP
float TRT_Monitoring_Tool::m_minP |
|
private |
◆ m_minTRThits
int TRT_Monitoring_Tool::m_minTRThits |
|
private |
◆ m_nEvents
unsigned int ManagedMonitorToolBase::m_nEvents |
|
protectedinherited |
◆ m_nEventsIgnoreTrigger
unsigned int ManagedMonitorToolBase::m_nEventsIgnoreTrigger |
|
protectedinherited |
◆ m_newEventsBlock
bool ManagedMonitorToolBase::m_newEventsBlock |
|
privateinherited |
◆ m_newHigStatInterval
bool ManagedMonitorToolBase::m_newHigStatInterval |
|
privateinherited |
◆ m_newLowStat
bool ManagedMonitorToolBase::m_newLowStat |
|
privateinherited |
◆ m_newLowStatInterval
bool ManagedMonitorToolBase::m_newLowStatInterval |
|
privateinherited |
◆ m_newLumiBlock
bool ManagedMonitorToolBase::m_newLumiBlock |
|
privateinherited |
◆ m_newMedStatInterval
bool ManagedMonitorToolBase::m_newMedStatInterval |
|
privateinherited |
◆ m_newRun
bool ManagedMonitorToolBase::m_newRun |
|
privateinherited |
◆ m_nHitsperLB_B
int TRT_Monitoring_Tool::m_nHitsperLB_B |
|
private |
◆ m_nHitsperLB_E
int TRT_Monitoring_Tool::m_nHitsperLB_E[2] {} |
|
private |
◆ m_nHLHitsperLB_B
int TRT_Monitoring_Tool::m_nHLHitsperLB_B |
|
private |
◆ m_nHLHitsperLB_E
int TRT_Monitoring_Tool::m_nHLHitsperLB_E[2] {} |
|
private |
◆ m_nLumiBlocks
unsigned int ManagedMonitorToolBase::m_nLumiBlocks |
|
protectedinherited |
◆ m_NoiseSuppressionLevel_30pc
bool TRT_Monitoring_Tool::m_NoiseSuppressionLevel_30pc |
|
private |
◆ m_NoiseSuppressionMap
bool TRT_Monitoring_Tool::m_NoiseSuppressionMap |
|
private |
◆ m_nphi_bins
int TRT_Monitoring_Tool::m_nphi_bins |
|
private |
◆ m_nStrawHits_B
int TRT_Monitoring_Tool::m_nStrawHits_B[1642] |
|
private |
◆ m_nStrawHits_E
int TRT_Monitoring_Tool::m_nStrawHits_E[2][3840] |
|
private |
◆ m_nTotalTracks
int TRT_Monitoring_Tool::m_nTotalTracks |
|
private |
◆ m_nTrack_B
int TRT_Monitoring_Tool::m_nTrack_B[32] |
|
private |
◆ m_nTrack_E
int TRT_Monitoring_Tool::m_nTrack_E[64] |
|
private |
◆ m_nTracksB
int TRT_Monitoring_Tool::m_nTracksB[2] {} |
|
private |
◆ m_nTracksEC
int TRT_Monitoring_Tool::m_nTracksEC[2] {} |
|
private |
◆ m_nTracksEC_B
int TRT_Monitoring_Tool::m_nTracksEC_B[2] {} |
|
private |
◆ m_nTrksperLB_B
int TRT_Monitoring_Tool::m_nTrksperLB_B |
|
private |
◆ m_nTrksperLB_E
int TRT_Monitoring_Tool::m_nTrksperLB_E[2] {} |
|
private |
◆ m_nTRTHits
int TRT_Monitoring_Tool::m_nTRTHits[2] |
|
private |
◆ m_NumSwLLWoTScale_B
float TRT_Monitoring_Tool::m_NumSwLLWoTScale_B |
|
private |
◆ m_NumSwLLWoTScale_E
float TRT_Monitoring_Tool::m_NumSwLLWoTScale_E[2] |
|
private |
◆ m_passEventBurst
bool TRT_Monitoring_Tool::m_passEventBurst |
|
private |
◆ m_path
std::string ManagedMonitorToolBase::m_path |
|
protectedinherited |
◆ m_preScaleProp
long ManagedMonitorToolBase::m_preScaleProp |
|
protectedinherited |
◆ m_printEventInfo
bool TRT_Monitoring_Tool::m_printEventInfo = false |
|
private |
◆ m_procNEventsProp
long ManagedMonitorToolBase::m_procNEventsProp |
|
protectedinherited |
◆ m_pTRTHelper
◆ m_Pull_Biased_Barrel
TH1F_LW* TRT_Monitoring_Tool::m_Pull_Biased_Barrel |
|
private |
◆ m_Pull_Biased_EndCap
TH1F_LW* TRT_Monitoring_Tool::m_Pull_Biased_EndCap |
|
private |
◆ m_rdoContainerKey
◆ m_ResidualScale_B
float TRT_Monitoring_Tool::m_ResidualScale_B |
|
private |
◆ m_ResidualScale_B_20GeV
float TRT_Monitoring_Tool::m_ResidualScale_B_20GeV |
|
private |
◆ m_ResidualScale_B_Ar
float TRT_Monitoring_Tool::m_ResidualScale_B_Ar |
|
private |
◆ m_ResidualScale_B_Ar_20GeV
float TRT_Monitoring_Tool::m_ResidualScale_B_Ar_20GeV |
|
private |
◆ m_ResidualScale_E
float TRT_Monitoring_Tool::m_ResidualScale_E[2] |
|
private |
◆ m_ResidualScale_E_20GeV
float TRT_Monitoring_Tool::m_ResidualScale_E_20GeV[2] |
|
private |
◆ m_ResidualScale_E_Ar
float TRT_Monitoring_Tool::m_ResidualScale_E_Ar[2] |
|
private |
◆ m_ResidualScale_E_Ar_20GeV
float TRT_Monitoring_Tool::m_ResidualScale_E_Ar_20GeV[2] |
|
private |
◆ m_rodMap
std::vector<unsigned int> TRT_Monitoring_Tool::m_rodMap |
|
private |
◆ m_scale_hHitWMap_B
std::vector<float> TRT_Monitoring_Tool::m_scale_hHitWMap_B |
|
private |
◆ m_scale_hHitWMap_B_Ar
std::vector<float> TRT_Monitoring_Tool::m_scale_hHitWMap_B_Ar |
|
private |
◆ m_streamNameFcn
◆ m_sumTool
◆ m_supportedIntervalsForRebooking
std::set<Interval_t> ManagedMonitorToolBase::m_supportedIntervalsForRebooking |
|
privateinherited |
◆ m_templateEfficiencies
std::map< Interval_t, std::vector< MgmtParams<TEfficiency> > > ManagedMonitorToolBase::m_templateEfficiencies |
|
protectedinherited |
◆ m_templateGraphs
◆ m_templateHistograms
◆ m_templateLWHistograms
◆ m_templateTrees
◆ m_THistSvc
◆ m_TimeResidualScale_B
float TRT_Monitoring_Tool::m_TimeResidualScale_B |
|
private |
◆ m_TimeResidualScale_B_Ar
float TRT_Monitoring_Tool::m_TimeResidualScale_B_Ar |
|
private |
◆ m_TimeResidualScale_E
float TRT_Monitoring_Tool::m_TimeResidualScale_E[2] |
|
private |
◆ m_TimeResidualScale_E_Ar
float TRT_Monitoring_Tool::m_TimeResidualScale_E_Ar[2] |
|
private |
◆ m_totalEvents
int TRT_Monitoring_Tool::m_totalEvents |
|
private |
◆ m_track_collection_hole_finder
std::string TRT_Monitoring_Tool::m_track_collection_hole_finder |
|
private |
◆ m_track_d0
float TRT_Monitoring_Tool::m_track_d0 |
|
private |
◆ m_track_eta
float TRT_Monitoring_Tool::m_track_eta |
|
private |
◆ m_track_phi
float TRT_Monitoring_Tool::m_track_phi |
|
private |
◆ m_track_pt
float TRT_Monitoring_Tool::m_track_pt |
|
private |
◆ m_track_z0
float TRT_Monitoring_Tool::m_track_z0 |
|
private |
◆ m_trackCollectionKey
◆ m_trackr_All
TH1F_LW* TRT_Monitoring_Tool::m_trackr_All[4][2] {} |
|
private |
◆ m_trackr_HT
TH1F_LW* TRT_Monitoring_Tool::m_trackr_HT[4][2] {} |
|
private |
◆ m_TrackSummaryTool
◆ m_trackz_All
TH1F_LW* TRT_Monitoring_Tool::m_trackz_All[5][2] {} |
|
private |
◆ m_trackz_HT
TH1F_LW* TRT_Monitoring_Tool::m_trackz_HT[5][2] {} |
|
private |
◆ m_trigDecisionKey
◆ m_trigDecTool
◆ m_triggerChainProp
std::string ManagedMonitorToolBase::m_triggerChainProp |
|
protectedinherited |
◆ m_triggerGroupProp
std::string ManagedMonitorToolBase::m_triggerGroupProp |
|
protectedinherited |
◆ m_trigLiveFractionDataKey
◆ m_trigTranslator
PublicToolHandle<ITriggerTranslatorTool> ManagedMonitorToolBase::m_trigTranslator {this,"TriggerTranslatorTool",""} |
|
protectedinherited |
◆ m_TronTDistScale_B
float TRT_Monitoring_Tool::m_TronTDistScale_B |
|
private |
◆ m_TronTDistScale_B_Ar
float TRT_Monitoring_Tool::m_TronTDistScale_B_Ar |
|
private |
◆ m_TronTDistScale_E
float TRT_Monitoring_Tool::m_TronTDistScale_E[2] |
|
private |
◆ m_TronTDistScale_E_Ar
float TRT_Monitoring_Tool::m_TronTDistScale_E_Ar[2] {} |
|
private |
◆ m_TRT_BCIDCollectionKey
◆ m_trt_hole_finder
◆ m_trt_only_trks
bool TRT_Monitoring_Tool::m_trt_only_trks |
|
private |
◆ m_TRTCalDbTool
◆ m_TRTStrawNeighbourSvc
◆ m_usedEvents
int TRT_Monitoring_Tool::m_usedEvents |
|
private |
◆ m_useHoleFinder
bool TRT_Monitoring_Tool::m_useHoleFinder |
|
private |
◆ m_useLumi
bool ManagedMonitorToolBase::m_useLumi |
|
privateinherited |
◆ m_useTrigger
bool ManagedMonitorToolBase::m_useTrigger |
|
protectedinherited |
◆ m_varHandleArraysDeclared
◆ m_vhka
◆ m_vTrigChainNames
std::vector<std::string> ManagedMonitorToolBase::m_vTrigChainNames |
|
protectedinherited |
◆ m_vTrigGroupNames
std::vector<std::string> ManagedMonitorToolBase::m_vTrigGroupNames |
|
protectedinherited |
◆ m_WireToTrkPositionScale_B
float TRT_Monitoring_Tool::m_WireToTrkPositionScale_B |
|
private |
◆ m_WireToTrkPositionScale_B_Ar
float TRT_Monitoring_Tool::m_WireToTrkPositionScale_B_Ar |
|
private |
◆ m_WireToTrkPositionScale_E
float TRT_Monitoring_Tool::m_WireToTrkPositionScale_E[2] |
|
private |
◆ m_WireToTrkPositionScale_E_Ar
float TRT_Monitoring_Tool::m_WireToTrkPositionScale_E_Ar[2] |
|
private |
◆ m_xAODEventInfoKey
◆ m_zero_field
bool TRT_Monitoring_Tool::m_zero_field |
|
private |
◆ p_toolSvc
◆ s_iChip_max
const int TRT_Monitoring_Tool::s_iChip_max = {104, 240} |
|
staticprivate |
◆ s_iStack_max
const int TRT_Monitoring_Tool::s_iStack_max = {32, 64} |
|
staticprivate |
◆ s_moduleNum
const int TRT_Monitoring_Tool::s_moduleNum = {96, 64} |
|
staticprivate |
◆ s_numberOfBarrelStacks
const int TRT_Monitoring_Tool::s_numberOfBarrelStacks = 32 |
|
staticprivate |
◆ s_numberOfEndCapStacks
const int TRT_Monitoring_Tool::s_numberOfEndCapStacks = 32 |
|
staticprivate |
◆ s_numberOfStacks
const int TRT_Monitoring_Tool::s_numberOfStacks = {32, 32} |
|
staticprivate |
◆ s_Straw_max
const int TRT_Monitoring_Tool::s_Straw_max = {1642, 3840} |
|
staticprivate |
The documentation for this class was generated from the following files:
virtual LWHist * ownedLWHistOfKey(const std::string &key) const
virtual void Fill(const double &x, const double &y) override
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
@ numberOfPixelHits
number of pixel layers on track with absence of hits
virtual LWHist * writeAndDeleteLWHist(const std::string &key, const std::string &streamName)
Identifier layer_id(int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer) const
For an individual straw layer.
const std::set< uint32_t > & getMissingErrorSet(void) const
bool lastBinHigh(unsigned int m_word)
Const iterator class for DataVector/DataList.
virtual const TRT_DriftCircle * prepRawData() const override final
returns the PrepRawData - is a TRT_DriftCircle in this scope
static TH1D_LW * create(const char *name, const char *title, unsigned nbinsx, const double &xlow, const double &xup)
virtual void Fill(const double &x) override
virtual bool highLevel() const override final
static TH1F_LW * create(const char *name, const char *title, unsigned nbinsx, const double &xlow, const double &xup)
virtual const Surface & associatedSurface() const override=0
Access to the Surface associated to the Parameters.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual LWHist * writeAndResetLWHist(const std::string &key, const std::string &streamName)
const TRT_BarrelElement * getBarrelElement(unsigned int positive, unsigned int moduleIndex, unsigned int phiIndex, unsigned int strawLayerIndex) const
Access Barrel Elements:---------------—(Fast)-------------------------—.
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
static unsigned int runNumber()
size_type straw_layer_hash_max(void) const
double timeOverThreshold() const
returns Time over threshold in ns
virtual std::string fileKey() const
unsigned int nStraws() const
Number of straws in the element.
Identifier associatedDetectorElementIdentifier() const
return Identifier of the associated Detector Element
Scalar theta() const
theta method
virtual void passOwnership(TObject *h, const std::string &key)
Pass ownership of a TObject/LWHist to this manager so that it will be deleted appropriately.
std::vector< ALFA_RawData_p1 > t0
virtual void SetBinContent(unsigned bin, const double &) override
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
const Amg::Vector3D & strawCenter(int straw) const
Straw Surface: Local -> global transform of the straw via integer.
const std::vector< uint32_t > & tav() const
Get the Trigger After Veto bits.
bool msgLvl(const MSG::Level lvl) const
static void setStreamName(LWHist *, const std::string &streamName)
bool is_trt(Identifier id) const
#define ATH_MSG_VERBOSE(x)
const std::string & key() const
Return the StoreGate ID for the referenced object.
bool empty() const
Test if the key is blank.
int driftTimeBin() const
returns the leading edge bin defined as in TRT_LoLumRawData to be the first 0-1 transition
virtual const InDetDD::TRT_BaseElement * detectorElement() const override final
returns the detector element, assoicated with the PRD of this class
#define AmgSymMatrix(dim)
static unsigned int getLBsLowStat()
uint32_t runNumber() const
The current event's run number.
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
static Environment_t environment()
Returns the running environment of the monitoring application to help ManagedMonitorToolBase objects ...
const std::set< std::pair< uint32_t, uint32_t > > & getRobErrorSet(void) const
@ Outlier
This TSoS contains an outlier, that is, it contains a MeasurementBase/RIO_OnTrack which was not used ...
virtual void Reset() override
static const std::string & streamName(LWHist *)
static unsigned int getLBsMedStat()
virtual int driftTimeBin() const override final
bool usingROOTBackend() const
bool firstBinHigh() const
static void removeCustomData(LWHist *)
int straw(const Identifier &id) const
static DataType_t dataType()
Returns the data type that the monitoring application is running over to help ManagedMonitorToolBase ...
static const std::string & key(LWHist *)
static TProfile_LW * create(const char *name, const char *title, unsigned nbinsx, const double &xlow, const double &xup, const char *option=" ")
@ Hole
A hole on the track - this is defined in the following way.
def TProfile(*args, **kwargs)
virtual float drifttime(float radius) const =0
drifttime for given radius
::StatusCode StatusCode
StatusCode definition for legacy code.
@ numberOfSCTHits
number of SCT holes
virtual void writeAndDelete(const std::string &key)
If the TObject is owned by this manager, its Write() method is called and it is deleted.
const_iterator end() const
return const_iterator for end of container
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
const_iterator begin() const
return const_iterator for first entry
int trailingEdge() const
returns the trailing edge bin
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
int straw_layer(const Identifier &id) const
int layer_or_wheel(const Identifier &id) const
void fcn(int &, double *, double &result, double par[], int)
this is where we write out chi2
uint32_t lumiBlock() const
The current event's luminosity block number.
void Fill(const double &x, const double &y)
const Amg::MatrixX & localCovariance() const
Interface method to get the localError.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
bool firstBinHigh(unsigned int m_word)
const TRT_EndcapElement * getEndcapElement(unsigned int positive, unsigned int wheelIndex, unsigned int strawLayerIndex, unsigned int phiIndex) const
Access Endcap Elements:---------------—(Fast)--------------------------—.
@ numberOfTRTHits
number of TRT outliers
virtual double GetBinContent(unsigned bin) const override
std::vector< std::string > remainder(const std::vector< std::string > &v1, const std::vector< std::string > &v2)
list of entries in a vector that are not in another
virtual double timeOverThreshold() const override final
double error(const Amg::MatrixX &mat, int index)
return diagonal error of the matrix caller should ensure the matrix is symmetric and the index is in ...
static TH2F_LW * create(const char *name, const char *title, unsigned nbinsx, const double &xmin, const double &xmax, unsigned nbinsy, const double &ymin, const double &ymax)
void SetBinLabel(unsigned bin, const char *label)
static unsigned int getLBsHigStat()
static void setKey(LWHist *, const std::string &key)
bool lastBinHigh() const
returns true if the last bin is high
const std::set< uint32_t > & getSidErrorSet(void) const
int phi_module(const Identifier &id) const
virtual unsigned GetEntries() const override
void setOwnsROOTHisto(bool b)
const LocalParameters & localParameters() const
Interface method to get the LocalParameters.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
double GetBinEntries(unsigned bin) const
bool is_barrel(const Identifier &id) const
Test for barrel.
#define ATH_MSG_WARNING(x)
filelist
print ("Checking files %s..." % fullfile)
virtual void Reset() override
virtual Identifier identify() const final
return the identifier -extends MeasurementBase
const std::set< std::pair< uint32_t, uint32_t > > & getL1ErrorSet() const
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
uint32_t timeStamp() const
POSIX time in seconds from 1970. January 1st.
bool driftTimeValid() const
return true if the corrected drift time is OK
double timeOverThreshold(unsigned int m_word)
virtual Identifier identify() const override final
static unsigned int lumiBlockNumber()
double rawDriftTime() const
returns the raw driftTime
virtual const Amg::Vector3D & globalPosition() const override final
return the global position of this RIO_OnTrack
unsigned int getWord() const
returns the TRT dataword
uint32_t bcid() const
The bunch crossing ID of the event.
virtual TH1 * getROOTHistBase()=0
int trailingEdge(unsigned int m_word)
float distance(const Amg::Vector3D &p1, const Amg::Vector3D &p2)
calculates the distance between two point in 3D space
size_type size() const noexcept
Returns the number of elements in the collection.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
bool firstBinHigh() const
returns true if the first bin is high
Interface to the raw trigger decision information of the event.
@ Measurement
This is a measurement, and will at least contain a Trk::MeasurementBase.
const std::set< std::pair< uint32_t, uint32_t > > & getBCIDErrorSet() const
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
Identifier straw_id(int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer, int straw) const
Three ways of getting id for a single straw:
int driftTimeBin(unsigned int m_word)