|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef INDETOVERLAY_BCMOVERLAY_H
13 #define INDETOVERLAY_BCMOVERLAY_H
19 BCM_Pulse(
unsigned int p_,
unsigned int w_) {
p = p_;
w = w_;};
43 static void overlayPulses(std::vector<std::unique_ptr<BCM_Pulse>>& merged_pulses) ;
47 static bool compare(
const std::unique_ptr<BCM_Pulse>&
a,
const std::unique_ptr<BCM_Pulse>&
b);
49 Gaudi::Property<bool>
m_dataOverlay{
this,
"isDataOverlay",
false,
"Flag to switch between MC and data overlay" };
50 Gaudi::Property<bool>
m_storeAllBCID{
this,
"storeAllBCID",
false,
"Store all BCID" };
58 #endif // INDETOVERLAY_BCMOVERLAY_H
Gaudi::Property< bool > m_storeAllBCID
std::unique_ptr< BCM_RawData > mergeChannel(const BCM_RawData *bkgRDO, const BCM_RawData *signalRDO) const
virtual StatusCode initialize() override final
static std::pair< BCM_Pulse *, BCM_Pulse * > timeOrder(BCM_Pulse *pulse1, BCM_Pulse *pulse2)
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadHandleKey< BCM_RDO_Container > m_bkgInputKey
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< bool > m_dataOverlay
static void overlayPulses(std::vector< std::unique_ptr< BCM_Pulse >> &merged_pulses)
StatusCode overlayContainer(const EventContext &ctx, const BCM_RDO_Container *bkgContainer, const BCM_RDO_Container *signalContainer, BCM_RDO_Container *outputContainer) const
BCMOverlay(const std::string &name, ISvcLocator *pSvcLocator)
SG::WriteHandleKey< BCM_RDO_Container > m_outputKey
SG::ReadHandleKey< BCM_RDO_Container > m_signalInputKey
static bool compare(const std::unique_ptr< BCM_Pulse > &a, const std::unique_ptr< BCM_Pulse > &b)
virtual StatusCode execute(const EventContext &ctx) const override final
BCM_Pulse(unsigned int p_, unsigned int w_)