ATLAS Offline Software
Loading...
Searching...
No Matches
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
39 public:
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
51
52inline 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
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadHandleKey< BCM_RDO_Container > m_bcmContainerName
SG::WriteHandleKey< BcmCollisionTime > m_bcmCollisionTimeName
virtual ~BcmCollisionTimeAlg()
Default Destructor.
virtual StatusCode initialize() override
standard Athena-Algorithm method
virtual StatusCode execute(const EventContext &ctx) const override
standard Athena-Algorithm method
BcmCollisionTimeAlg(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
unsigned int m_bcid
unsigned int m_position
unsigned int m_channel