![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Filter of the type of VBF forward jets.
More...
#include <xAODVBFForwardJetsFilter.h>
|
| xAODVBFForwardJetsFilter (const std::string &name, ISvcLocator *pSvcLocator) |
|
virtual StatusCode | filterInitialize () |
|
virtual StatusCode | filterEvent () |
|
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 |
|
Filter of the type of VBF forward jets.
- Author
- Junichi TANAKA
Definition at line 19 of file xAODVBFForwardJetsFilter.h.
◆ StoreGateSvc_t
◆ xAODVBFForwardJetsFilter()
xAODVBFForwardJetsFilter::xAODVBFForwardJetsFilter |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ 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 81 of file GenBase.cxx.
82 for (HepMC::GenEvent::vertex_iterator vtx =
evt->vertices_begin(); vtx !=
evt->vertices_end(); ++vtx) {
83 const HepMC::FourVector fv((*vtx)->position().x() * 10,
84 (*vtx)->position().y() * 10,
85 (*vtx)->position().z() * 10,
86 (*vtx)->position().t() * 10);
87 (*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);
◆ 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.
◆ 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.
◆ 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 xAODVBFForwardJetsFilter::filterEvent |
( |
| ) |
|
|
virtual |
Implements GenFilter.
Definition at line 90 of file xAODVBFForwardJetsFilter.cxx.
100 ATH_MSG_ERROR(
"No TruthParticle collection with name " <<
"TruthGen" <<
" found in StoreGate!");
101 return StatusCode::FAILURE;
105 std::vector<const xAOD::TruthParticle *> MCTruthPhotonList;
106 std::vector<const xAOD::TruthParticle *> MCTruthElectronList;
107 std::vector<CLHEP::HepLorentzVector> MCTruthTauList;
109 unsigned int nPart = xTruthParticleContainer->
size();
110 for (
unsigned int iPart = 0; iPart < nPart; ++iPart) {
116 MCTruthPhotonList.push_back(pitr);
123 MCTruthElectronList.push_back(pitr);
131 for (
size_t thisChild_id = 0; thisChild_id < tau->decayVtx()->nOutgoingParticles(); thisChild_id++)
134 if (child->prodVtx() != tau->decayVtx())
136 if (std::abs(child->pdgId()) == 12)
138 if (std::abs(child->pdgId()) == 14)
140 if (std::abs(child->pdgId()) == 15)
147 CLHEP::HepLorentzVector tauvis = CLHEP::HepLorentzVector(tau->px() - nutau.px(),
148 tau->py() - nutau.py(),
149 tau->pz() - nutau.pz(),
150 tau->e() - nutau.e());
151 if (tauvis.vect().perp() >=
m_LGMinPt && std::abs(tauvis.vect().pseudoRapidity()) <=
m_LGMaxEta)
153 MCTruthTauList.push_back(tauvis);
162 std::vector<const xAOD::Jet *> jetList;
167 jetList.push_back(*it_truth);
173 removePseudoJets(jetList, MCTruthPhotonList, MCTruthElectronList, MCTruthTauList);
180 flagNJets =
int(jetList.size()) >=
m_NJets ? 1 : 0;
187 if (jetList.size() >= 1)
202 if (jetList.size() >= 2)
217 if (jetList.size() >= 2)
221 if (
j1->eta() *
j2->eta() < 0.)
231 if (jetList.size() >= 2)
234 int okMassJJ =
m_MassJJ >= 0. ? 0 : 1;
235 for (
unsigned i = 0;
i < jetList.size() - 1; ++
i)
237 for (
unsigned j =
i + 1; j < jetList.size(); ++j)
239 double dEta = std::abs(jetList[
i]->
eta() - jetList[j]->
eta());
240 double Mjj = (jetList[
i]->p4() + jetList[j]->p4()).M();
244 if (okMassJJ == 0 && Mjj >
m_MassJJ)
246 if (okDeltaEtaJJ && okMassJJ)
269 setFilterPassed(flagNJets != 0 && flag1stJet != 0 && flag2ndJet != 0 && flagSign != 0 && flagJJ != 0);
270 return StatusCode::SUCCESS;
◆ filterFinalize()
virtual StatusCode GenFilter::filterFinalize |
( |
| ) |
|
|
inlinevirtualinherited |
Reimplemented in xAODM4MuIntervalFilter, xAODParticleDecayFilter, MuDstarFilter, BoostedHadTopAndTopPair, xAODDecaysFinalStateFilter, xAODBSignalFilter, xAODLeptonFilter, TrimuMassRangeFilter, xAODLeptonPairFilter, LeptonFilter, BSignalFilter, DecaysFinalStateFilter, LeptonPairFilter, xAODHTFilter, MultiParticleFilter, xAODHeavyFlavorHadronFilter, DiBjetFilter, FourLeptonInvMassFilter, ParentChildwStatusFilter, xAODTauFilter, xAODXtoVVDecayFilterExtended, VBFHbbEtaSortingFilter, xAODTTbarWithJpsimumuFilter, ParticleDecayFilter, xAODChargedTracksWeightFilter, xAODDiLeptonMassFilter, xAODMultiBjetFilter, xAODMultiCjetFilter, HeavyFlavorHadronFilter, TauFilter, TTbarPlusHeavyFlavorFilter, MultiBjetFilter, XtoVVDecayFilterExtended, ChargedTracksWeightFilter, TTbarWithJpsimumuFilter, DiLeptonMassFilter, HTFilter, QCDTruthJetFilter, QCDTruthMultiJetFilter, M4MuIntervalFilter, and MultiCjetFilter.
Definition at line 47 of file GenFilter.h.
47 {
return StatusCode::SUCCESS; }
◆ filterInitialize()
StatusCode xAODVBFForwardJetsFilter::filterInitialize |
( |
| ) |
|
|
virtual |
Reimplemented from GenFilter.
Definition at line 41 of file xAODVBFForwardJetsFilter.cxx.
55 ATH_MSG_INFO(
"*** 1st and 2nd jets in opposite eta region (Nj>=2) ***");
74 return StatusCode::FAILURE;
83 return StatusCode::FAILURE;
87 return StatusCode::SUCCESS;
◆ finalize()
StatusCode GenFilter::finalize |
( |
| ) |
|
|
inherited |
Definition at line 56 of file GenFilter.cxx.
59 return StatusCode::SUCCESS;
◆ getMinDeltaR() [1/2]
double xAODVBFForwardJetsFilter::getMinDeltaR |
( |
const xAOD::Jet * |
jet, |
|
|
std::vector< CLHEP::HepLorentzVector > & |
list |
|
) |
| |
|
private |
Definition at line 323 of file xAODVBFForwardJetsFilter.cxx.
326 for (
unsigned i = 0;
i <
list.size(); ++
i)
330 double dphi =
jet->phi() -
list[
i].phi();
331 double deta =
jet->eta() -
list[
i].vect().pseudoRapidity();
340 double dr = std::sqrt(deta * deta + dphi * dphi);
341 double ratio_pt = std::abs((
jet->pt() -
list[
i].vect().perp()) /
list[
i].vect().perp());
◆ getMinDeltaR() [2/2]
◆ 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 61 of file GenBase.cxx.
62 for (HepMC::GenEvent::particle_iterator
p =
evt->particles_begin();
p !=
evt->particles_end(); ++
p) {
63 const HepMC::FourVector fv((*p)->momentum().px() * 1000,
64 (*p)->momentum().py() * 1000,
65 (*p)->momentum().pz() * 1000,
66 (*p)->momentum().e() * 1000);
67 (*p)->set_momentum(fv);
68 (*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 71 of file GenBase.cxx.
72 for (HepMC::GenEvent::particle_iterator
p =
evt->particles_begin();
p !=
evt->particles_end(); ++
p) {
73 const HepMC::FourVector fv((*p)->momentum().px() / 1000,
74 (*p)->momentum().py() / 1000,
75 (*p)->momentum().pz() / 1000,
76 (*p)->momentum().e() / 1000);
77 (*p)->set_momentum(fv);
78 (*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 90 of file GenBase.cxx.
91 for (HepMC::GenEvent::vertex_iterator vtx =
evt->vertices_begin(); vtx !=
evt->vertices_end(); ++vtx) {
92 const HepMC::FourVector fv((*vtx)->position().x() / 10,
93 (*vtx)->position().y() / 10,
94 (*vtx)->position().z() / 10,
95 (*vtx)->position().t() / 10);
96 (*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.
◆ removePseudoJets()
Definition at line 349 of file xAODVBFForwardJetsFilter.cxx.
354 std::vector<const xAOD::Jet *> orgJetList = jetList;
356 for (
unsigned i = 0;
i < orgJetList.size(); ++
i)
363 jetList.push_back(
jet);
◆ renounce()
◆ renounceArray()
◆ sumDaughterNeutrinos()
Definition at line 273 of file xAODVBFForwardJetsFilter.cxx.
275 CLHEP::HepLorentzVector nu(0, 0, 0, 0);
277 if ((std::abs(
part->pdgId()) == 12) || (std::abs(
part->pdgId()) == 14) || (std::abs(
part->pdgId()) == 16))
279 nu.setPx(
part->px());
280 nu.setPy(
part->py());
281 nu.setPz(
part->pz());
286 if (!
part->decayVtx())
289 for (
size_t thisChild_id = 0; thisChild_id <
part->decayVtx()->nOutgoingParticles(); thisChild_id++)
291 auto daughterparticle =
part->decayVtx()->outgoingParticle(thisChild_id);
◆ 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_DeltaEtaJJ
double xAODVBFForwardJetsFilter::m_DeltaEtaJJ |
|
private |
◆ m_DeltaRJLG
double xAODVBFForwardJetsFilter::m_DeltaRJLG |
|
private |
◆ m_detStore
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthAlgorithm::m_extendedExtraObjects |
|
privateinherited |
◆ m_Jet1MaxEta
double xAODVBFForwardJetsFilter::m_Jet1MaxEta |
|
private |
◆ m_Jet1MinPt
double xAODVBFForwardJetsFilter::m_Jet1MinPt |
|
private |
◆ m_Jet2MaxEta
double xAODVBFForwardJetsFilter::m_Jet2MaxEta |
|
private |
◆ m_Jet2MinPt
double xAODVBFForwardJetsFilter::m_Jet2MinPt |
|
private |
◆ m_JetMaxEta
double xAODVBFForwardJetsFilter::m_JetMaxEta |
|
private |
◆ m_JetMinPt
double xAODVBFForwardJetsFilter::m_JetMinPt |
|
private |
◆ m_LGMaxEta
double xAODVBFForwardJetsFilter::m_LGMaxEta |
|
private |
◆ m_LGMinPt
double xAODVBFForwardJetsFilter::m_LGMinPt |
|
private |
◆ m_MassJJ
double xAODVBFForwardJetsFilter::m_MassJJ |
|
private |
◆ 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_NJets
int xAODVBFForwardJetsFilter::m_NJets |
|
private |
◆ m_nNeeded
◆ m_nPass
◆ 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_RatioPtJLG
double xAODVBFForwardJetsFilter::m_RatioPtJLG |
|
private |
◆ m_TruthJetContainerName
std::string xAODVBFForwardJetsFilter::m_TruthJetContainerName |
|
private |
◆ m_UseLeadingJJ
bool xAODVBFForwardJetsFilter::m_UseLeadingJJ |
|
private |
◆ m_UseOppositeSignEtaJet1Jet2
bool xAODVBFForwardJetsFilter::m_UseOppositeSignEtaJet1Jet2 |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
Const iterator class for DataVector/DataList.
Scalar perp() const
perp method - perpenticular length
Scalar eta() const
pseudorapidity method
const McEventCollection * events_const() const
Access the current event's McEventCollection (const)
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
void removePseudoJets(std::vector< const xAOD::Jet * > &jetList, std::vector< const xAOD::TruthParticle * > &MCTruthPhotonList, std::vector< const xAOD::TruthParticle * > &MCTruthElectronList, std::vector< CLHEP::HepLorentzVector > &MCTruthTauList)
const std::string & key() const
Return the StoreGate ID for the referenced object.
virtual StatusCode filterInitialize()
CLHEP::HepLorentzVector sumDaughterNeutrinos(const xAOD::TruthParticle *tau)
virtual void setOwner(IDataHandleHolder *o)=0
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
bool isPhysical(const T &p)
ServiceHandle< IPartPropSvc > m_ppSvc
Handle on the particle property service.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysInitialize() override
Override sysInitialize.
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
::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.
#define CHECK(...)
Evaluate an expression and check for errors.
double getMinDeltaR(const xAOD::Jet *jet, std::vector< const xAOD::TruthParticle * > &list)
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
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
const TruthVertex_v1 * decayVtx() const
The decay vertex of this particle.
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
virtual StatusCode filterFinalize()
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
DataObjIDColl m_extendedExtraObjects
bool isStable(const T &p)
void sort(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, const Compare &comp)
Specialization of sort for DataVector/List.
#define ATH_MSG_WARNING(x)
bool m_UseOppositeSignEtaJet1Jet2
bool isPhoton(const xAOD::Egamma *eg)
is the object a photon
std::string m_TruthJetContainerName
const HepPDT::ParticleDataTable & pdt() const
Shorter alias to get a particle data table.
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
virtual double pt() const override final
The transverse momentum ( ) of the particle.
filterPassed
now, add a sequencer: it will only execute seqalg1 and 2 and never 3
GenFilter(const std::string &name, ISvcLocator *pSvcLocator)
bool dEta(const xAOD::TauJet &tau, const xAOD::TauTrack &track, double &out)
size_type size() const noexcept
Returns the number of elements in the collection.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
const TruthParticle_v1 * outgoingParticle(size_t index) const
Get one of the outgoing particles.
virtual StatusCode initialize() override
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.