ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
RecoTools
CaloRingerTools
src
CaloRingerPhotonsReader.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
// $Id: CaloRingerPhotonsReader.h 752568 2016-06-03 16:03:21Z ssnyder $
6
#ifndef CALORINGERTOOLS_CALORINGERPHOTONSREADER_H
7
#define CALORINGERTOOLS_CALORINGERPHOTONSREADER_H
8
9
// STL includes:
10
#include <string>
11
12
// Base includes:
13
#include "
CaloRingerInputReader.h
"
14
#include "
CaloRingerTools/ICaloRingerPhotonsReader.h
"
15
#include "
CaloRingerReaderUtils.h
"
16
17
// xAOD includes:
18
#include "
xAODEgamma/PhotonContainer.h
"
19
#include "
xAODEgamma/Electron.h
"
20
21
// Asg selectors include:
22
// #include "RingerSelectorTools/IAsgElectronRingerSelector.h"
23
24
#include "
StoreGate/ReadHandleKey.h
"
25
26
namespace
Ringer
{
27
28
class
CaloRingerPhotonsReader
:
public
CaloRingerInputReader
,
29
public
ICaloRingerPhotonsReader
30
{
31
32
public
:
33
36
39
CaloRingerPhotonsReader
(
const
std::string&
type
,
40
const
std::string& name,
41
const ::IInterface* parent);
42
46
~CaloRingerPhotonsReader
();
48
51
54
virtual
StatusCode
initialize
()
override
;
59
virtual
StatusCode
execute
()
override
;
63
virtual
StatusCode
finalize
()
override
;
65
66
67
private
:
68
71
75
// PublicToolHandleArray<IAsgElectronRingerSelector> m_ringerSelectors {this,
76
// "PhotonSelectors", {}, "The ASG Photon Selectors."};
77
81
Gaudi::Property<std::vector<std::string> >
m_ringerSelectorResultNames
{
this
,
82
"ResultNames"
, {},
"The ASG Selectors result names."
};
83
84
86
SG::ReadHandleKey<xAOD::PhotonContainer>
m_inputPhotonContainerKey
{
this
,
87
"inputKey"
,
88
"Photons"
,
89
"Name of the input photon container"
};
90
91
92
95
97
BuildCaloRingsFctor<xAOD::PhotonContainer>
*
m_clRingsBuilderPhotonFctor
;
98
100
//bool m_selectorAvailable;
102
103
};
104
105
}
106
107
#endif
CaloRingerInputReader.h
CaloRingerReaderUtils.h
Electron.h
PhotonContainer.h
ICaloRingerPhotonsReader.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
Ringer::BuildCaloRingsFctor
Definition
CaloRingerReaderUtils.h:108
Ringer::CaloRingerInputReader::CaloRingerInputReader
CaloRingerInputReader(const std::string &type, const std::string &name, const ::IInterface *parent)
Default constructor.
Definition
CaloRingerInputReader.cxx:14
Ringer::CaloRingerPhotonsReader::execute
virtual StatusCode execute() override
execute method
Definition
CaloRingerPhotonsReader.cxx:63
Ringer::CaloRingerPhotonsReader::~CaloRingerPhotonsReader
~CaloRingerPhotonsReader()
Destructor.
Definition
CaloRingerPhotonsReader.cxx:29
Ringer::CaloRingerPhotonsReader::m_inputPhotonContainerKey
SG::ReadHandleKey< xAOD::PhotonContainer > m_inputPhotonContainerKey
photon collection input name
Definition
CaloRingerPhotonsReader.h:86
Ringer::CaloRingerPhotonsReader::CaloRingerPhotonsReader
CaloRingerPhotonsReader(const std::string &type, const std::string &name, const ::IInterface *parent)
Default constructor.
Definition
CaloRingerPhotonsReader.cxx:15
Ringer::CaloRingerPhotonsReader::m_ringerSelectorResultNames
Gaudi::Property< std::vector< std::string > > m_ringerSelectorResultNames
Tool CaloRingerElectronsReader props (python configurables):
Definition
CaloRingerPhotonsReader.h:81
Ringer::CaloRingerPhotonsReader::finalize
virtual StatusCode finalize() override
finalize method
Definition
CaloRingerPhotonsReader.cxx:57
Ringer::CaloRingerPhotonsReader::initialize
virtual StatusCode initialize() override
Tool main methods:
Definition
CaloRingerPhotonsReader.cxx:35
Ringer::CaloRingerPhotonsReader::m_clRingsBuilderPhotonFctor
BuildCaloRingsFctor< xAOD::PhotonContainer > * m_clRingsBuilderPhotonFctor
Tool CaloRingerPhotonsReader props (non configurables):
Definition
CaloRingerPhotonsReader.h:97
Ringer::ICaloRingerPhotonsReader
Definition
ICaloRingerPhotonsReader.h:30
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
Ringer
Namespace dedicated for Ringer utilities.
Definition
CaloRingsDefs.h:9
type
Generated on
for ATLAS Offline Software by
1.17.0