ATLAS Offline Software
VBFForwardJetsFilter.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef GENERATORFILTERSVBFFORWARDJETSFILTER_H
6 #define GENERATORFILTERSVBFFORWARDJETSFILTER_H
7 
9 #include "CLHEP/Vector/LorentzVector.h"
10 #include <vector>
11 #include "xAODJet/Jet.h"
12 
13 
17 public:
18 
19  VBFForwardJetsFilter(const std::string & name, ISvcLocator * pSvcLocator);
20  virtual StatusCode filterInitialize();
21  virtual StatusCode filterEvent();
22 
23 private:
24 
25  double m_JetMinPt;
26  double m_JetMaxEta;
27  int m_NJets;
28  double m_Jet1MinPt;
29  double m_Jet1MaxEta;
30  double m_Jet2MinPt;
31  double m_Jet2MaxEta;
33  double m_DeltaEtaJJ;
34  double m_MassJJ;
36  double m_LGMinPt;
37  double m_LGMaxEta;
38  double m_DeltaRJLG;
39  double m_RatioPtJLG;
40 
42 
43  CLHEP::HepLorentzVector sumDaughterNeutrinos(const HepMC::ConstGenParticlePtr& tau) const;
44  void removePseudoJets(std::vector<const xAOD::Jet*>& jetList,
45  std::vector<HepMC::ConstGenParticlePtr>& MCTruthPhotonList,
46  std::vector<HepMC::ConstGenParticlePtr>& MCTruthElectronList,
47  std::vector<CLHEP::HepLorentzVector> & MCTruthTauList);
48  double getMinDeltaR(const xAOD::Jet* jet, std::vector<HepMC::ConstGenParticlePtr>& list) const;
49  double getMinDeltaR(const xAOD::Jet* jet, std::vector<CLHEP::HepLorentzVector>& list) const;
50 };
51 
52 #endif
VBFForwardJetsFilter::filterEvent
virtual StatusCode filterEvent()
Definition: VBFForwardJetsFilter.cxx:87
VBFForwardJetsFilter::filterInitialize
virtual StatusCode filterInitialize()
Definition: VBFForwardJetsFilter.cxx:42
Jet.h
VBFForwardJetsFilter::sumDaughterNeutrinos
CLHEP::HepLorentzVector sumDaughterNeutrinos(const HepMC::ConstGenParticlePtr &tau) const
Definition: VBFForwardJetsFilter.cxx:271
VBFForwardJetsFilter::m_NJets
int m_NJets
Definition: VBFForwardJetsFilter.h:27
VBFForwardJetsFilter::m_RatioPtJLG
double m_RatioPtJLG
Definition: VBFForwardJetsFilter.h:39
VBFForwardJetsFilter::m_Jet1MinPt
double m_Jet1MinPt
Definition: VBFForwardJetsFilter.h:28
VBFForwardJetsFilter::VBFForwardJetsFilter
VBFForwardJetsFilter(const std::string &name, ISvcLocator *pSvcLocator)
Definition: VBFForwardJetsFilter.cxx:20
GenFilter.h
VBFForwardJetsFilter::m_UseOppositeSignEtaJet1Jet2
bool m_UseOppositeSignEtaJet1Jet2
Definition: VBFForwardJetsFilter.h:32
VBFForwardJetsFilter::m_MassJJ
double m_MassJJ
Definition: VBFForwardJetsFilter.h:34
VBFForwardJetsFilter::m_Jet1MaxEta
double m_Jet1MaxEta
Definition: VBFForwardJetsFilter.h:29
VBFForwardJetsFilter::m_JetMinPt
double m_JetMinPt
Definition: VBFForwardJetsFilter.h:25
GenFilter
Base class for event generator filtering modules.
Definition: GenFilter.h:30
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
VBFForwardJetsFilter::m_UseLeadingJJ
bool m_UseLeadingJJ
Definition: VBFForwardJetsFilter.h:35
VBFForwardJetsFilter::m_Jet2MaxEta
double m_Jet2MaxEta
Definition: VBFForwardJetsFilter.h:31
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
VBFForwardJetsFilter::m_LGMaxEta
double m_LGMaxEta
Definition: VBFForwardJetsFilter.h:37
VBFForwardJetsFilter::m_LGMinPt
double m_LGMinPt
Definition: VBFForwardJetsFilter.h:36
histSizes.list
def list(name, path='/')
Definition: histSizes.py:38
VBFForwardJetsFilter::m_DeltaEtaJJ
double m_DeltaEtaJJ
Definition: VBFForwardJetsFilter.h:33
HepMC::ConstGenParticlePtr
const GenParticle * ConstGenParticlePtr
Definition: GenParticle.h:38
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
VBFForwardJetsFilter::removePseudoJets
void removePseudoJets(std::vector< const xAOD::Jet * > &jetList, std::vector< HepMC::ConstGenParticlePtr > &MCTruthPhotonList, std::vector< HepMC::ConstGenParticlePtr > &MCTruthElectronList, std::vector< CLHEP::HepLorentzVector > &MCTruthTauList)
Definition: VBFForwardJetsFilter.cxx:323
VBFForwardJetsFilter::getMinDeltaR
double getMinDeltaR(const xAOD::Jet *jet, std::vector< HepMC::ConstGenParticlePtr > &list) const
Definition: VBFForwardJetsFilter.cxx:289
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
VBFForwardJetsFilter
Definition: VBFForwardJetsFilter.py:1
VBFForwardJetsFilter::m_Jet2MinPt
double m_Jet2MinPt
Definition: VBFForwardJetsFilter.h:30
VBFForwardJetsFilter::m_JetMaxEta
double m_JetMaxEta
Definition: VBFForwardJetsFilter.h:26
VBFForwardJetsFilter::m_TruthJetContainerName
std::string m_TruthJetContainerName
Definition: VBFForwardJetsFilter.h:41
VBFForwardJetsFilter::m_DeltaRJLG
double m_DeltaRJLG
Definition: VBFForwardJetsFilter.h:38