Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
#include <xAODLeptonPairFilter.h>
|
virtual StatusCode | filterInitialize () override final |
|
virtual StatusCode | filterEvent () override final |
|
| GenFilter (const std::string &name, ISvcLocator *pSvcLocator) |
|
virtual StatusCode | sysInitialize () override |
| Override sysInitialize. More...
|
|
virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. More...
|
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
|
SG::ReadHandleKey< xAOD::TruthParticleContainer > | m_truthPartContKey {this, "TruthParticleContainerKey", "TruthGen"} |
|
Gaudi::Property< int > | m_nSFOS_Max {this,"NSFOS_Max",0,"Number of Same Flavor Opposite Sign Max"} |
|
Gaudi::Property< int > | m_nSFOS_Min {this,"NSFOS_Min",0,"Number of Same Flavor Opposite Sign Min"} |
|
Gaudi::Property< int > | m_nSFSS_Max {this,"NSFSS_Max",-1,"Number of Same Flavor Same Sign Max"} |
|
Gaudi::Property< int > | m_nSFSS_Min {this,"NSFSS_Min",-1,"Number of Same Flavor Same Sign Min"} |
|
Gaudi::Property< int > | m_nOFOS_Max {this,"NOFOS_Max",-1,"Number of Opposite Flavor Opposite Sign Max"} |
|
Gaudi::Property< int > | m_nOFOS_Min {this,"NOFOS_Min",-1,"Number of Opposite Flavor Opposite Sign Min"} |
|
Gaudi::Property< int > | m_nOFSS_Max {this,"NOFSS_Max",-1,"Number of Opposite Flavor Same Sign Max"} |
|
Gaudi::Property< int > | m_nOFSS_Min {this,"NOFSS_Min",-1,"Number of Opposite Flavor Same Sign Min"} |
|
Gaudi::Property< int > | m_nPairSum_Max {this,"NPairSum_Max",-1,"Number of Pair sum Max"} |
|
Gaudi::Property< int > | m_nPairSum_Min {this,"NPairSum_Min",-1,"Number of Pair sum Min"} |
|
Gaudi::Property< bool > | m_bUseSFOSInSum {this,"UseSFOSInSum",false,"SFOS to be considered in sum"} |
|
Gaudi::Property< bool > | m_bUseSFSSInSum {this,"UseSFSSInSum",false,"SFSS to be considered in sum"} |
|
Gaudi::Property< bool > | m_bUseOFOSInSum {this,"UseOFOSInSum",false,"OFOS to be considered in sum"} |
|
Gaudi::Property< bool > | m_bUseOFSSInSum {this,"UseOFSSInSum",false,"OFSS to be considered in sum"} |
|
Gaudi::Property< bool > | m_onlyMassiveParents {this,"OnlyMassiveParents",false,"only count leptons with a parent with M>20 GeV"} |
|
Gaudi::Property< double > | m_Ptmin {this,"Ptcut",10000.,"min Pt"} |
|
Gaudi::Property< double > | m_EtaRange {this,"Etacut",10.,"Eta range max"} |
|
Gaudi::Property< int > | m_nLeptons_Max {this,"NLeptons_Max",-1," max num leptons"} |
|
Gaudi::Property< int > | m_nLeptons_Min {this,"NLeptons_Min",0," min num leptons"} |
|
DataObjIDColl | m_extendedExtraObjects |
|
StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) More...
|
|
StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) More...
|
|
std::vector< SG::VarHandleKeyArray * > | m_vhka |
|
bool | m_varHandleArraysDeclared |
|
Definition at line 25 of file xAODLeptonPairFilter.h.
◆ StoreGateSvc_t
◆ ATLAS_NOT_CONST_THREAD_SAFE() [1/2]
HepMC::GenEvent* event GenBase::ATLAS_NOT_CONST_THREAD_SAFE |
( |
| ) |
|
|
inlineinherited |
Access the current signal event (first in the McEventCollection)
- Note
- This function will make a new McEventCollection if there is not already a valid one and MakeMcEvent=True.
Definition at line 76 of file GenBase.h.
78 ATH_MSG_ERROR(
"McEventCollection is empty during first event access");
79 return *(
events()->begin());
◆ ATLAS_NOT_CONST_THREAD_SAFE() [2/2]
◆ cmTomm()
void GenBase::cmTomm |
( |
HepMC::GenEvent * |
evt | ) |
|
|
protectedinherited |
Scale event lengths by x 10.
Definition at line 78 of file GenBase.cxx.
79 for (HepMC::GenEvent::vertex_iterator vtx =
evt->vertices_begin(); vtx !=
evt->vertices_end(); ++vtx) {
80 const HepMC::FourVector fv((*vtx)->position().x() * 10,
81 (*vtx)->position().y() * 10,
82 (*vtx)->position().z() * 10,
83 (*vtx)->position().t() * 10);
84 (*vtx)->set_position(fv);
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ event_const()
const HepMC::GenEvent* GenBase::event_const |
( |
| ) |
const |
|
inlineinherited |
Access the current signal event (const)
Definition at line 83 of file GenBase.h.
85 ATH_MSG_ERROR(
"Const McEventCollection is empty during first event access");
◆ events_const() [1/2]
◆ events_const() [2/2]
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
StatusCode GenFilter::execute |
( |
| ) |
|
|
virtualinherited |
- Todo:
- Probably the filter should only look at the first event... right?
Reimplemented from GenBase.
Definition at line 29 of file GenFilter.cxx.
32 return StatusCode::FAILURE;
35 ATH_MSG_WARNING(
"More than one event in current McEventCollection -- which is valid?");
51 sc = StatusCode::FAILURE;
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ extraOutputDeps()
const DataObjIDColl & AthAlgorithm::extraOutputDeps |
( |
| ) |
const |
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 50 of file AthAlgorithm.cxx.
57 return Algorithm::extraOutputDeps();
◆ filterEvent()
StatusCode xAODLeptonPairFilter::filterEvent |
( |
| ) |
|
|
finaloverridevirtual |
Implements GenFilter.
Definition at line 36 of file xAODLeptonPairFilter.cxx.
40 std::vector<int> vLeptonPDGIDs;
41 std::vector<double> vLeptonPt;
42 std::vector<double> vLeptonEta;
43 std::vector< std::vector < size_t > > vLeptonParentPDGIDs;
48 CHECK(xTruthParticleContainer.isValid());
63 bool massiveParent =
false;
66 auto vxp =
p->prodVtx();
68 if(vxp->nIncomingParticles()!=1)
break;
69 p = vxp->incomingParticle(0);
70 const int pdg = std::abs(
p->pdgId());
73 massiveParent = (
p->m()>20000);
77 if(!massiveParent)
continue;
80 vLeptonPDGIDs.push_back(pitr->pdgId());
81 vLeptonPt.push_back(pitr->pt());
82 vLeptonEta.push_back(pitr->eta());
84 std::vector<size_t> parentPDG_tmp;
85 for(
size_t thisParent_id=0; pitr->prodVtx()->nIncomingParticles()<thisParent_id;thisParent_id++)
86 parentPDG_tmp.push_back(pitr->prodVtx()->incomingParticle(thisParent_id)->pdgId());
87 vLeptonParentPDGIDs.push_back(parentPDG_tmp);
91 int nLeptons = vLeptonPDGIDs.size();
97 return StatusCode::SUCCESS;
109 for (
unsigned int i = 0 ;
i < vLeptonPDGIDs.size() ;
i++){
111 for (
unsigned int j =
i ; j < vLeptonPDGIDs.size() ; j++){
114 id1 = vLeptonPDGIDs[
i];
115 id2 = vLeptonPDGIDs[j];
117 if(std::abs(id1)==std::abs(
id2) && id1*
id2 < 0) nSFOS+=1;
118 else if(std::abs(id1)==std::abs(
id2) && id1*
id2 > 0) nSFSS+=1;
119 else if(std::abs(id1)!=std::abs(
id2) && id1*
id2 < 0) nOFOS+=1;
120 else if(std::abs(id1)!=std::abs(
id2) && id1*
id2 > 0) nOFSS+=1;
136 bool passSFOS =
false;
137 bool passSFSS =
false;
138 bool passOFOS =
false;
139 bool passOFSS =
false;
140 bool passPairSum =
false;
144 ATH_MSG_INFO(
"# Lep " << vLeptonPDGIDs.size() <<
", "<< nSFOS <<
" SFOS, "<<nSFSS<<
" SFSS, " << nOFOS <<
" OFOS, " << nOFSS <<
" OFSS pairs ," << nPairSum <<
"summed pairs" );
152 if(passSFOS && passSFSS && passOFOS && passOFSS && passPairSum){
154 for (
unsigned int i = 0;
i<vLeptonPDGIDs.size();
i++){
155 int pdg = vLeptonPDGIDs[
i];
156 double pt = vLeptonPt[
i];
157 double eta = vLeptonEta[
i];
159 for (
unsigned int j=0;j<vLeptonParentPDGIDs[
i].size();j++)
msg(
MSG::DEBUG) << vLeptonParentPDGIDs[
i][j];
162 return StatusCode::SUCCESS;
166 setFilterPassed(
false);
168 return StatusCode::SUCCESS;
◆ filterFinalize()
virtual StatusCode GenFilter::filterFinalize |
( |
| ) |
|
|
inlinevirtualinherited |
Reimplemented in xAODBSignalFilter, xAODHeavyFlavorHadronFilter, xAODChargedTracksWeightFilter, xAODHTFilter, xAODTauFilter, xAODXtoVVDecayFilterExtended, xAODTTbarWithJpsimumuFilter, xAODMultiBjetFilter, xAODMultiCjetFilter, MuDstarFilter, BoostedHadTopAndTopPair, TrimuMassRangeFilter, LeptonFilter, BSignalFilter, DecaysFinalStateFilter, LeptonPairFilter, MultiParticleFilter, DiBjetFilter, FourLeptonInvMassFilter, ParentChildwStatusFilter, VBFHbbEtaSortingFilter, ParticleDecayFilter, HeavyFlavorHadronFilter, TauFilter, TTbarPlusHeavyFlavorFilter, MultiBjetFilter, XtoVVDecayFilterExtended, ChargedTracksWeightFilter, HTFilter, TTbarWithJpsimumuFilter, xAODDiLeptonMassFilter, DiLeptonMassFilter, QCDTruthJetFilter, QCDTruthMultiJetFilter, M4MuIntervalFilter, and MultiCjetFilter.
Definition at line 47 of file GenFilter.h.
47 {
return StatusCode::SUCCESS; }
◆ filterInitialize()
StatusCode xAODLeptonPairFilter::filterInitialize |
( |
| ) |
|
|
finaloverridevirtual |
◆ finalize()
StatusCode GenFilter::finalize |
( |
| ) |
|
|
inherited |
Definition at line 56 of file GenFilter.cxx.
59 return StatusCode::SUCCESS;
◆ GenFilter()
◆ GeVToMeV()
void GenBase::GeVToMeV |
( |
HepMC::GenEvent * |
evt | ) |
|
|
protectedinherited |
Scale event energies/momenta by x 1000.
- Todo:
- Add HepMC units awareness and do it differently when HepMC provides this functionality directly (and reference-based FourVector accessors)
Definition at line 58 of file GenBase.cxx.
59 for (HepMC::GenEvent::particle_iterator
p =
evt->particles_begin();
p !=
evt->particles_end(); ++
p) {
60 const HepMC::FourVector fv((*p)->momentum().px() * 1000,
61 (*p)->momentum().py() * 1000,
62 (*p)->momentum().pz() * 1000,
63 (*p)->momentum().e() * 1000);
64 (*p)->set_momentum(fv);
65 (*p)->set_generated_mass(1000 * (*p)->generated_mass());
◆ initialize()
StatusCode GenFilter::initialize |
( |
| ) |
|
|
virtualinherited |
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ MeVToGeV()
void GenBase::MeVToGeV |
( |
HepMC::GenEvent * |
evt | ) |
|
|
protectedinherited |
Scale event energies/momenta by x 1/1000.
Definition at line 68 of file GenBase.cxx.
69 for (HepMC::GenEvent::particle_iterator
p =
evt->particles_begin();
p !=
evt->particles_end(); ++
p) {
70 const HepMC::FourVector fv((*p)->momentum().px() / 1000,
71 (*p)->momentum().py() / 1000,
72 (*p)->momentum().pz() / 1000,
73 (*p)->momentum().e() / 1000);
74 (*p)->set_momentum(fv);
75 (*p)->set_generated_mass((*p)->generated_mass() / 1000);
◆ mmTocm()
void GenBase::mmTocm |
( |
HepMC::GenEvent * |
evt | ) |
|
|
protectedinherited |
Scale event lengths by x 1/10.
Definition at line 87 of file GenBase.cxx.
88 for (HepMC::GenEvent::vertex_iterator vtx =
evt->vertices_begin(); vtx !=
evt->vertices_end(); ++vtx) {
89 const HepMC::FourVector fv((*vtx)->position().x() / 10,
90 (*vtx)->position().y() / 10,
91 (*vtx)->position().z() / 10,
92 (*vtx)->position().t() / 10);
93 (*vtx)->set_position(fv);
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ nFailed()
int GenFilter::nFailed |
( |
| ) |
const |
|
inlineinherited |
◆ nNeeded()
int GenFilter::nNeeded |
( |
| ) |
const |
|
inlineinherited |
◆ nPassed()
int GenFilter::nPassed |
( |
| ) |
const |
|
inlineinherited |
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ particleData()
const HepPDT::ParticleData* GenBase::particleData |
( |
int |
pid | ) |
const |
|
inlineinherited |
Access an element in the particle data table.
Definition at line 126 of file GenBase.h.
◆ particleTable()
const HepPDT::ParticleDataTable& GenBase::particleTable |
( |
| ) |
const |
|
inlineinherited |
Get a particle data table.
Definition at line 118 of file GenBase.h.
◆ partPropSvc()
Access the particle property service.
Definition at line 113 of file GenBase.h.
◆ pdt()
const HepPDT::ParticleDataTable& GenBase::pdt |
( |
| ) |
const |
|
inlineinherited |
Shorter alias to get a particle data table.
Definition at line 123 of file GenBase.h.
◆ renounce()
◆ renounceArray()
◆ sysInitialize()
StatusCode AthAlgorithm::sysInitialize |
( |
| ) |
|
|
overridevirtualinherited |
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_bUseOFOSInSum
Gaudi::Property<bool> xAODLeptonPairFilter::m_bUseOFOSInSum {this,"UseOFOSInSum",false,"OFOS to be considered in sum"} |
|
private |
◆ m_bUseOFSSInSum
Gaudi::Property<bool> xAODLeptonPairFilter::m_bUseOFSSInSum {this,"UseOFSSInSum",false,"OFSS to be considered in sum"} |
|
private |
◆ m_bUseSFOSInSum
Gaudi::Property<bool> xAODLeptonPairFilter::m_bUseSFOSInSum {this,"UseSFOSInSum",false,"SFOS to be considered in sum"} |
|
private |
◆ m_bUseSFSSInSum
Gaudi::Property<bool> xAODLeptonPairFilter::m_bUseSFSSInSum {this,"UseSFSSInSum",false,"SFSS to be considered in sum"} |
|
private |
◆ m_detStore
◆ m_EtaRange
Gaudi::Property<double> xAODLeptonPairFilter::m_EtaRange {this,"Etacut",10.,"Eta range max"} |
|
private |
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthAlgorithm::m_extendedExtraObjects |
|
privateinherited |
◆ m_mcEventKey
std::string GenBase::m_mcEventKey {} |
|
protectedinherited |
StoreGate key for the MC event collection (defaults to GEN_EVENT)
Definition at line 137 of file GenBase.h.
◆ m_mcevents_const
Const handle to the MC event collection.
Definition at line 163 of file GenBase.h.
◆ m_mkMcEvent
BooleanProperty GenBase::m_mkMcEvent {this, "MakeMcEvent", false, "Create a new MC event collection if it doesn't exist"} |
|
protectedinherited |
Flag to determine if a new MC event collection should be made if it doesn't exist.
Definition at line 139 of file GenBase.h.
◆ m_nFail
◆ m_nLeptons_Max
Gaudi::Property<int> xAODLeptonPairFilter::m_nLeptons_Max {this,"NLeptons_Max",-1," max num leptons"} |
|
private |
◆ m_nLeptons_Min
Gaudi::Property<int> xAODLeptonPairFilter::m_nLeptons_Min {this,"NLeptons_Min",0," min num leptons"} |
|
private |
◆ m_nNeeded
◆ m_nOFOS_Max
Gaudi::Property<int> xAODLeptonPairFilter::m_nOFOS_Max {this,"NOFOS_Max",-1,"Number of Opposite Flavor Opposite Sign Max"} |
|
private |
◆ m_nOFOS_Min
Gaudi::Property<int> xAODLeptonPairFilter::m_nOFOS_Min {this,"NOFOS_Min",-1,"Number of Opposite Flavor Opposite Sign Min"} |
|
private |
◆ m_nOFSS_Max
Gaudi::Property<int> xAODLeptonPairFilter::m_nOFSS_Max {this,"NOFSS_Max",-1,"Number of Opposite Flavor Same Sign Max"} |
|
private |
◆ m_nOFSS_Min
Gaudi::Property<int> xAODLeptonPairFilter::m_nOFSS_Min {this,"NOFSS_Min",-1,"Number of Opposite Flavor Same Sign Min"} |
|
private |
◆ m_nPairSum_Max
Gaudi::Property<int> xAODLeptonPairFilter::m_nPairSum_Max {this,"NPairSum_Max",-1,"Number of Pair sum Max"} |
|
private |
◆ m_nPairSum_Min
Gaudi::Property<int> xAODLeptonPairFilter::m_nPairSum_Min {this,"NPairSum_Min",-1,"Number of Pair sum Min"} |
|
private |
◆ m_nPass
◆ m_nSFOS_Max
Gaudi::Property<int> xAODLeptonPairFilter::m_nSFOS_Max {this,"NSFOS_Max",0,"Number of Same Flavor Opposite Sign Max"} |
|
private |
◆ m_nSFOS_Min
Gaudi::Property<int> xAODLeptonPairFilter::m_nSFOS_Min {this,"NSFOS_Min",0,"Number of Same Flavor Opposite Sign Min"} |
|
private |
◆ m_nSFSS_Max
Gaudi::Property<int> xAODLeptonPairFilter::m_nSFSS_Max {this,"NSFSS_Max",-1,"Number of Same Flavor Same Sign Max"} |
|
private |
◆ m_nSFSS_Min
Gaudi::Property<int> xAODLeptonPairFilter::m_nSFSS_Min {this,"NSFSS_Min",-1,"Number of Same Flavor Same Sign Min"} |
|
private |
◆ m_onlyMassiveParents
Gaudi::Property<bool> xAODLeptonPairFilter::m_onlyMassiveParents {this,"OnlyMassiveParents",false,"only count leptons with a parent with M>20 GeV"} |
|
private |
◆ m_ppSvc
ServiceHandle<IPartPropSvc> GenBase::m_ppSvc {this, "PartPropSvc", "PartPropSvc"} |
|
privateinherited |
Handle on the particle property service.
Definition at line 160 of file GenBase.h.
◆ m_Ptmin
Gaudi::Property<double> xAODLeptonPairFilter::m_Ptmin {this,"Ptcut",10000.,"min Pt"} |
|
private |
◆ m_truthPartContKey
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
Gaudi::Property< int > m_nOFSS_Min
const_pointer_type cptr()
Dereference the pointer.
Gaudi::Property< double > m_EtaRange
Gaudi::Property< bool > m_bUseSFOSInSum
Scalar eta() const
pseudorapidity method
const McEventCollection * events_const() const
Access the current event's McEventCollection (const)
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_truthPartContKey
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
virtual StatusCode filterEvent()=0
Gaudi::Property< bool > m_onlyMassiveParents
const std::string & key() const
Return the StoreGate ID for the referenced object.
virtual StatusCode filterInitialize()
bool isSMLepton(const T &p)
virtual void setOwner(IDataHandleHolder *o)=0
Gaudi::Property< bool > m_bUseSFSSInSum
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
Gaudi::Property< int > m_nSFOS_Max
ServiceHandle< IPartPropSvc > m_ppSvc
Handle on the particle property service.
virtual StatusCode sysInitialize() override
Override sysInitialize.
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
Gaudi::Property< int > m_nSFOS_Min
::StatusCode StatusCode
StatusCode definition for legacy code.
bool isElectron(const xAOD::Egamma *eg)
is the object an electron (not Fwd)
SG::ReadHandleKey< McEventCollection > m_mcevents_const
Const handle to the MC event collection.
Class describing a truth particle in the MC record.
Gaudi::Property< int > m_nOFOS_Max
#define CHECK(...)
Evaluate an expression and check for errors.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Gaudi::Property< int > m_nLeptons_Min
virtual bool isValid() override final
Can the handle be successfully dereferenced?
virtual void renounce()=0
const HepPDT::ParticleDataTable & particleTable() const
Get a particle data table.
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
virtual StatusCode filterFinalize()
Gaudi::Property< int > m_nPairSum_Min
DataObjIDColl m_extendedExtraObjects
Gaudi::Property< int > m_nOFOS_Min
Gaudi::Property< int > m_nSFSS_Max
bool isStable(const T &p)
Identify if the particle is stable, i.e. has not decayed.
bool empty() const noexcept
#define ATH_MSG_WARNING(x)
Gaudi::Property< bool > m_bUseOFOSInSum
bool isPhoton(const xAOD::Egamma *eg)
is the object a photon
const HepPDT::ParticleDataTable & pdt() const
Shorter alias to get a particle data table.
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
filterPassed
now, add a sequencer: it will only execute seqalg1 and 2 and never 3
Gaudi::Property< double > m_Ptmin
GenBase(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Gaudi::Property< bool > m_bUseOFSSInSum
Gaudi::Property< int > m_nLeptons_Max
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Gaudi::Property< int > m_nSFSS_Min
virtual StatusCode initialize() override
Gaudi::Property< int > m_nOFSS_Max
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
Gaudi::Property< int > m_nPairSum_Max