ATLAS Offline Software
PhysicsAnalysis
JpsiUpsilonTools
JpsiUpsilonTools
JpsiAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
6
#include "
AthenaBaseComps/AthAlgorithm.h
"
7
#include "
JpsiUpsilonTools/ICandidateSearch.h
"
8
#include "
xAODTracking/VertexContainerFwd.h
"
10
class
JpsiAlg
:
public
AthAlgorithm
{
11
12
public
:
13
JpsiAlg
(
const
std::string&
name
, ISvcLocator* pSvcLocator);
14
StatusCode
initialize
()
override
;
15
StatusCode
execute
()
override
;
16
StatusCode
finalize
()
override
;
17
18
private
:
19
20
int
m_eventCntr
;
21
int
m_jpsiCntr
;
22
23
ToolHandle<Analysis::ICandidateSearch>
m_jpsiFinder
;
24
SG::WriteHandleKey<xAOD::VertexContainer>
m_jpsiContainerName
;
25
26
};
27
VertexContainerFwd.h
JpsiAlg::m_jpsiCntr
int m_jpsiCntr
Definition:
JpsiAlg.h:21
JpsiAlg
Definition:
JpsiAlg.h:10
JpsiAlg::m_eventCntr
int m_eventCntr
Definition:
JpsiAlg.h:20
ICandidateSearch.h
JpsiAlg::m_jpsiContainerName
SG::WriteHandleKey< xAOD::VertexContainer > m_jpsiContainerName
Name of output container to store results.
Definition:
JpsiAlg.h:24
AthAlgorithm.h
JpsiAlg::m_jpsiFinder
ToolHandle< Analysis::ICandidateSearch > m_jpsiFinder
Definition:
JpsiAlg.h:23
JpsiAlg::execute
StatusCode execute() override
Definition:
JpsiAlg.cxx:49
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition:
StoreGate/StoreGate/WriteHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgorithm
Definition:
AthAlgorithm.h:47
JpsiAlg::JpsiAlg
JpsiAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
JpsiAlg.cxx:19
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
JpsiAlg::finalize
StatusCode finalize() override
Definition:
JpsiAlg.cxx:82
JpsiAlg::initialize
StatusCode initialize() override
Definition:
JpsiAlg.cxx:33
Generated on Thu Nov 7 2024 21:18:34 for ATLAS Offline Software by
1.8.18