ATLAS Offline Software
OfflineObjectSelection.h
Go to the documentation of this file.
1 /* emacs: this is -*- c++ -*- */
11 #ifndef TrigInDetAnalysisExample_OfflineObjectSelection_H
12 #define TrigInDetAnalysisExample_OfflineObjectSelection_H
13 
16 
18 #ifdef XAODTRACKING_TRACKPARTICLE_H
19 
20 #include "xAODEgamma/Electron.h"
21 #include "xAODMuon/Muon.h"
22 #include "xAODTau/TauJet.h"
23 
24 
25 namespace TIDA {
26  bool isGoodOffline(const xAOD::Electron& elec, const unsigned int selection=0, double ETOffline=0 );
27  bool isGoodOffline(const xAOD::Muon& muon, const unsigned int selection=0, double ETOffline=0 );
28  bool isGoodOffline(const xAOD::TauJet& tau, const unsigned int selection=0, int requireNtracks=0, double EtOffline=0.0 );
29 }
30 
31 #else
32 
33 #include "egammaEvent/Electron.h"
34 #include "muonEvent/Muon.h"
35 #include "tauEvent/TauJet.h"
36 
37 namespace TIDA {
38  bool isGoodOffline(const Analysis::Electron& elec);
39  bool isGoodOffline(const Analysis::Muon& muon);
40  bool isGoodOffline(const Analysis::TauJet& tau, bool doThreeProng=false, double EtCutOffline=0.0);
41 }
42 #endif
43 
44 #endif // TrigInDetAnalysisExample_OfflineObjectSelection_H
TIDA
Test for xAOD.
Definition: Filter_AcceptAll.h:22
xAOD::muon
@ muon
Definition: TrackingPrimitives.h:195
TIDA::isGoodOffline
bool isGoodOffline(const Analysis::Electron &elec)
Definition: OfflineObjectSelection.cxx:122
Muon.h
Analysis::Electron
Definition: Reconstruction/egamma/egammaEvent/egammaEvent/Electron.h:20
xAOD::Muon_v1
Class describing a Muon.
Definition: Muon_v1.h:38
xAOD::TauJet_v3
Class describing a tau jet.
Definition: TauJet_v3.h:41
Analysis::TauJet
Object for taus common for ESD and AOD.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:61
Analysis::Muon
The ATLAS Muon object - see doxygen, physics workbookd and the Muon Combined Performance WG's pages f...
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:48
Electron.h
selection
const std::string selection
Definition: fbtTestBasics.cxx:74
xAOD::Electron_v1
Definition: Electron_v1.h:34
TrackParticle.h
TauJet.h
Muon.h
Electron.h
TauJet.h
TrackParticleContainer.h