ATLAS Offline Software
BcmCollisionTimeAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // BcmCollisionTime.h
6 //
7 
8 #ifndef BcmCollisionTimeAlg_H
9 #define BcmCollisionTimeAlg_H
10 
13 
14 // Gaudi includes
15 
17 
19  public:
20  // Gaudi style constructor and execution methods
22  BcmCollisionTimeAlg(const std::string& name, ISvcLocator* pSvcLocator);
25 
27  virtual StatusCode initialize() override;
29  virtual StatusCode execute(const EventContext& ctx) const override;
30 
31  private:
33  this, "BcmContainerName", "BCM_RDOs", ""};
35  this, "BcmCollisionTimeName", "BcmCollisionTime", ""};
36 };
37 
38 class deltat_data {
39  public:
40  deltat_data();
41  deltat_data(unsigned int channel, unsigned int bcid, unsigned int position);
42 
43  // private:
44 
45  unsigned int m_channel;
46  unsigned int m_bcid;
47  unsigned int m_position;
48 };
49 
50 inline deltat_data::deltat_data() : m_channel(99), m_bcid(99), m_position(99) {}
51 
52 inline deltat_data::deltat_data(unsigned int channel, unsigned int bcid,
53  unsigned int position)
54  : m_channel(channel), m_bcid(bcid), m_position(position) {}
55 
56 #endif
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:24
BcmCollisionTimeAlg::initialize
virtual StatusCode initialize() override
standard Athena-Algorithm method
Definition: BcmCollisionTimeAlg.cxx:21
SG::ReadHandleKey< BCM_RDO_Container >
deltat_data::m_channel
unsigned int m_channel
Definition: BcmCollisionTimeAlg.h:45
BcmCollisionTimeAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
standard Athena-Algorithm method
Definition: BcmCollisionTimeAlg.cxx:27
BcmCollisionTimeAlg::~BcmCollisionTimeAlg
virtual ~BcmCollisionTimeAlg()
Default Destructor.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
BcmCollisionTime.h
SG::WriteHandleKey< BcmCollisionTime >
BcmCollisionTimeAlg::m_bcmContainerName
SG::ReadHandleKey< BCM_RDO_Container > m_bcmContainerName
Definition: BcmCollisionTimeAlg.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
deltat_data
Definition: BcmCollisionTimeAlg.h:38
BcmCollisionTimeAlg
Definition: BcmCollisionTimeAlg.h:18
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
xAOD::bcid
setEventNumber setTimeStamp bcid
Definition: EventInfo_v1.cxx:133
BcmCollisionTimeAlg::BcmCollisionTimeAlg
BcmCollisionTimeAlg(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
Definition: BcmCollisionTimeAlg.cxx:12
BcmCollisionTimeAlg::m_bcmCollisionTimeName
SG::WriteHandleKey< BcmCollisionTime > m_bcmCollisionTimeName
Definition: BcmCollisionTimeAlg.h:34
BCM_RDO_Container.h
deltat_data::deltat_data
deltat_data()
Definition: BcmCollisionTimeAlg.h:50
deltat_data::m_bcid
unsigned int m_bcid
Definition: BcmCollisionTimeAlg.h:46
deltat_data::m_position
unsigned int m_position
Definition: BcmCollisionTimeAlg.h:47