ATLAS Offline Software
xAODForwardProtonFilter.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef GENERATORFILTERS_XAODFORWARDPROTONFILTER_H
6 #define GENERATORFILTERS_XAODFORWARDPROTONFILTER_H
7 
10 #include "xAODTruth/TruthEvent.h"
12 
13 
14 
18 public:
19 
20  xAODForwardProtonFilter(const std::string& name, ISvcLocator* pSvcLocator);
21  virtual StatusCode filterEvent() override;
22 
23 private:
24  Gaudi::Property<double> m_xiMin{this,"xi_min",0.01," "};
25  Gaudi::Property<double> m_xiMax{this,"xi_max",0.20," "};
26  Gaudi::Property<double> m_ptMin{this,"pt_min",0," "}; //[MeV]
27  Gaudi::Property<double> m_ptMax{this,"pt_max",10e3," "}; //[MeV]
28  Gaudi::Property<double> m_E0{this,"beam_energy",7e6," "}; //[MeV]
29  Gaudi::Property<bool> m_DoubleTag {this,"double_tag",false," "};
30  Gaudi::Property<bool> m_Single_tagA {this,"double_tagA",false," "};// require proton on A, regardless of C
31  Gaudi::Property<bool> m_Single_tagC {this,"double_tagC",false," "};// require proton on C, regardelss of A
32 
33 
34 };
35 
36 #endif
xAODForwardProtonFilter::m_xiMin
Gaudi::Property< double > m_xiMin
Definition: xAODForwardProtonFilter.h:24
xAODForwardProtonFilter::m_E0
Gaudi::Property< double > m_E0
Definition: xAODForwardProtonFilter.h:28
xAODForwardProtonFilter::m_xiMax
Gaudi::Property< double > m_xiMax
Definition: xAODForwardProtonFilter.h:25
xAODForwardProtonFilter
Description: Filter based on kinematics of forward proton.
Definition: xAODForwardProtonFilter.h:17
GenFilter.h
xAODForwardProtonFilter::m_ptMax
Gaudi::Property< double > m_ptMax
Definition: xAODForwardProtonFilter.h:27
xAODForwardProtonFilter::m_Single_tagA
Gaudi::Property< bool > m_Single_tagA
Definition: xAODForwardProtonFilter.h:30
GenFilter
Base class for event generator filtering modules.
Definition: GenFilter.h:30
CheckAppliedSFs.e3
e3
Definition: CheckAppliedSFs.py:264
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAODForwardProtonFilter::m_DoubleTag
Gaudi::Property< bool > m_DoubleTag
Definition: xAODForwardProtonFilter.h:29
xAODForwardProtonFilter::filterEvent
virtual StatusCode filterEvent() override
Definition: xAODForwardProtonFilter.cxx:24
xAODForwardProtonFilter::xAODForwardProtonFilter
xAODForwardProtonFilter(const std::string &name, ISvcLocator *pSvcLocator)
Definition: xAODForwardProtonFilter.cxx:19
xAODForwardProtonFilter::m_ptMin
Gaudi::Property< double > m_ptMin
Definition: xAODForwardProtonFilter.h:26
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TruthParticle.h
TruthEventContainer.h
xAODForwardProtonFilter::m_Single_tagC
Gaudi::Property< bool > m_Single_tagC
Definition: xAODForwardProtonFilter.h:31
TruthEvent.h