ATLAS Offline Software
TRT_Hits_Monitoring_Tool.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 /*
3  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
4 */
5 
6 #ifdef ONLINE // This tool is only meant for special online monitoring at Point 1
7 
8 #ifndef TRT_HITS_MONITORING_TOOL_H
9 #define TRT_HITS_MONITORING_TOOL_H
10 
13 #include "is/infodictionary.h"
14 #include "is/infoT.h"
15 
17 
18 #include <string>
19 
20 class TRT_ID;
21 
22 class TRT_Hits_Monitoring_Tool: public ManagedMonitorToolBase {
23 public:
24  TRT_Hits_Monitoring_Tool(const std::string &type, const std::string &name, const IInterface *parent);
25  virtual ~TRT_Hits_Monitoring_Tool();
26 
27  virtual StatusCode initialize();
29  virtual StatusCode fillHistograms();
30  virtual StatusCode procHistograms();
31 
32 private:
33  SG::ReadHandleKey<TRT_RDO_Container> m_rdoContainerKey{this, "TRTRawDataObjectName", "TRT_RDOs", "Name of TRT Raw Data Object container"};
34 
35  const TRT_ID *m_pTRTHelper;
36 
37  ISInfoDictionary m_dict;
38 
39  ISInfoFloat m_occ_longToT;
40  ISInfoFloat m_occBR_longToT;
41  ISInfoFloat m_occEA_longToT;
42  ISInfoFloat m_occEC_longToT;
43 
44  std::string m_name_longToT;
45  std::string m_nameBR_longToT;
46  std::string m_nameEA_longToT;
47  std::string m_nameEC_longToT;
48 
49  std::string m_partition;
50  std::string m_server;
51  std::string m_name;
52 
53  float m_longToTCut;
54  unsigned int m_sleepTime; // milliseconds
55  boost::posix_time::ptime m_lastPublishTime;
56 };
57 
58 #endif // TRT_HITS_MONITORING_TOOL_H
59 #endif // ONLINE
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
ManagedMonitorToolBase
Provides functionality for users to implement and save histograms, ntuples, and summary data,...
Definition: ManagedMonitorToolBase.h:74
ManagedMonitorToolBase::procHistograms
virtual StatusCode procHistograms()
An inheriting class should either override this function or finalHists().
Definition: ManagedMonitorToolBase.cxx:1423
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
ManagedMonitorToolBase.h
ManagedMonitorToolBase::initialize
virtual StatusCode initialize()
Definition: ManagedMonitorToolBase.cxx:669
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ManagedMonitorToolBase::bookHistogramsRecurrent
virtual StatusCode bookHistogramsRecurrent()
An inheriting class should either override this function, bookHists() or bookHistograms().
Definition: ManagedMonitorToolBase.cxx:1395
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TRT_ID
Definition: TRT_ID.h:84
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ManagedMonitorToolBase::fillHistograms
virtual StatusCode fillHistograms()
An inheriting class should either override this function or fillHists().
Definition: ManagedMonitorToolBase.cxx:1415
InDetRawDataCLASS_DEF.h