ATLAS Offline Software
IVGammaORTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef GAMMAORTOOLS_IVGAMMAORTOOL_H
6 #define GAMMAORTOOLS_IVGAMMAORTOOL_H
7 
8 #include <vector>
9 #include <map>
10 
13 #include "AsgTools/IAsgTool.h"
14 
15 /****************************************************************************/
34 class IVGammaORTool: virtual public asg::IAsgTool {
35 public:
37 
38 
39  // four vectors (can be used if the full truth record is not available or broken)
50  virtual StatusCode inOverlap(bool& result,
51  const std::vector<TLorentzVector>* leptons=0,
52  const std::vector<TLorentzVector>* photons=0,
53  const std::vector<int>* lepton_origins=0,
54  const std::vector<int>* photon_origins=0) const =0;
55 
63  // four vectors (can be used if the full truth record is not available or broken)
69  const std::vector<TLorentzVector>* leptons=0,
70  const std::vector<TLorentzVector>* photons=0,
71  const std::vector<int>* lepton_origins=0,
72  const std::vector<int>* photon_origins=0) const=0;
73 
81  // four vectors (can be used if the full truth record is not available or broken)
86  virtual StatusCode photonPtsOutsideDrs(std::map<float, std::vector<float> >& result,
87  const std::vector<TLorentzVector>* leptons=0,
88  const std::vector<TLorentzVector>* photons=0,
89  const std::vector<int>* lepton_origins=0,
90  const std::vector<int>* photon_origins=0) const=0;
91 
95  const xAOD::TruthParticleContainer& truthParticles,
96  float dR0, float exponent, float epsilon) const=0;
97 };
98 
99 
100 
101 #endif //> !GAMMAORTOOLS_IVGAMMAORTOOL_H
IVGammaORTool
This tool can be used to identify the overlap of a V+jets and V+gamma sample or in fact between most ...
Definition: IVGammaORTool.h:34
get_generator_info.result
result
Definition: get_generator_info.py:21
IVGammaORTool::inOverlap
virtual StatusCode inOverlap(bool &result, const std::vector< TLorentzVector > *leptons=0, const std::vector< TLorentzVector > *photons=0, const std::vector< int > *lepton_origins=0, const std::vector< int > *photon_origins=0) const =0
Determine whether current event is in overlap region (set via reference).
TruthParticleContainer.h
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition: IAsgTool.h:41
TruthParticle
Definition: PhysicsAnalysis/TruthParticleID/McParticleEvent/McParticleEvent/TruthParticle.h:58
IVGammaORTool::photonPtsOutsideDrs
virtual StatusCode photonPtsOutsideDrs(std::map< float, std::vector< float > > &result, const std::vector< TLorentzVector > *leptons=0, const std::vector< TLorentzVector > *photons=0, const std::vector< int > *lepton_origins=0, const std::vector< int > *photon_origins=0) const =0
Determine the pTs of photons outside of several dR cuts that are configured in tool initialization (d...
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
TruthParticleContainer
Definition: PhysicsAnalysis/TruthParticleID/McParticleEvent/McParticleEvent/TruthParticleContainer.h:42
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
vector
Definition: MultiHisto.h:13
IVGammaORTool::photonPtsOutsideDr
virtual StatusCode photonPtsOutsideDr(std::vector< float > &result, const std::vector< TLorentzVector > *leptons=0, const std::vector< TLorentzVector > *photons=0, const std::vector< int > *lepton_origins=0, const std::vector< int > *photon_origins=0) const =0
Determine the pTs of photons outside the dR cut that is configured in tool initialization (dR_lepton_...
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition: AsgToolMacros.h:40
IAsgTool.h
xAOD::photon
@ photon
Definition: TrackingPrimitives.h:199
IVGammaORTool::frixioneIsolated
virtual bool frixioneIsolated(const xAOD::TruthParticle &photon, const xAOD::TruthParticleContainer &truthParticles, float dR0, float exponent, float epsilon) const =0
Function determining whether a photon is frixione isolated from truthParticles Parameters as defined ...
TruthParticle.h