 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef EVENTUTILS_PARTICLEREMOVERALG_H
6 #define EVENTUTILS_PARTICLEREMOVERALG_H 1
42 Gaudi::Property<std::string>
m_inCont{
this,
"Input",
"",
"Input container name"};
45 Gaudi::Property<std::string>
m_separator{
this,
"Separator",
"___",
"The string separator between the output container name and the sytematic variation"};
48 Gaudi::Property<std::string>
m_outCont{
this,
"Output",
"",
"The name of the output container with the deep copy of input objects"};
51 Gaudi::Property<std::vector<std::string>>
m_suffixes{
this,
"Suffixes", {},
"The names of all suffixes for the input and output container names"};
54 Gaudi::Property<std::vector<std::string>>
m_viewContNames{
this,
"SelectedViewContainers", {},
"The names of all view containers that contain particles that we want to retain"};
57 Gaudi::Property<bool>
m_resetViewConts{
this,
"RemapViewContainers",
true,
"Boolean to decide if the existing view containers should be re-mapped"};
60 Gaudi::Property<std::string>
m_outPrefix{
this,
"OutputViewContainerPrefix",
"",
"Prefix to be used for all created output view containers"};
114 #endif //> !EVENTUTILS_PARTICLEREMOVERALG_H
std::vector< std::string > m_outContNameList
Vector of all output container names.
std::vector< std::vector< std::string > > m_outViewContNameListList
Vector of all output view container names.
contType_t m_contType
The variable that holds the value that we find for the input container.
Gaudi::Property< std::vector< std::string > > m_suffixes
The names of all suffixes for the input and output container names.
Gaudi::Property< bool > m_resetViewConts
Boolean to decide if the existing view containers should be re-mapped (default: true)
StatusCode removeParticles(const std::vector< bool > &keepParticleVec)
Private function to perform the actualy work.
Gaudi::Property< std::string > m_inCont
The input container name.
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< std::string > m_separator
The string separator between the output container name and the sytematic variation (default="___")
std::vector< std::string > m_inContNameList
Vector of all input container names.
Gaudi::Property< std::string > m_outPrefix
Prefix to be used for all created output view containers.
virtual StatusCode initialize()
Standard Gaudi initialize method called once before the event loop.
ParticleRemoverAlg(const std::string &name, ISvcLocator *pSvcLocator)
Standard constructor.
std::vector< std::vector< std::string > > m_inViewContNameListList
Vector of all input view container names.
virtual StatusCode execute()
Standard Gaudi execute method called once for every event.
std::vector< const xAOD::IParticleContainer * > m_inContList
Vector of all input containers.
std::vector< xAOD::IParticleContainer * > m_outContList
Vector of all output containers.
contType_t
An enumaration for the actual container type.
virtual ~ParticleRemoverAlg()
Standard destructor.
virtual StatusCode finalize()
Standard Gaudi finalize method called once after the event loop.
Gaudi::Property< std::vector< std::string > > m_viewContNames
The names of all view containers that contain particles that we want to retain.
Gaudi::Property< std::string > m_outCont
The output container name.