ATLAS Offline Software
Loading...
Searching...
No Matches
OfflineObjectSelection.h
Go to the documentation of this file.
1/* emacs: this is -*- c++ -*- */
10
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
25namespace 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
34#include "muonEvent/Muon.h"
35
36namespace TIDA {
37 bool isGoodOffline(const Analysis::Electron& elec);
38 bool isGoodOffline(const Analysis::Muon& muon);
39}
40#endif
41
42#endif // TrigInDetAnalysisExample_OfflineObjectSelection_H
const std::string selection
Test for xAOD.
bool isGoodOffline(const Analysis::Electron &elec)
TauJet_v3 TauJet
Definition of the current "tau version".
Definition TauJet.h:17
Muon_v1 Muon
Reference the current persistent version:
Electron_v1 Electron
Definition of the current "egamma version".