![]() |
ATLAS Offline Software
|
#include "TrackAnalysisStore.h"#include "xAODTracking/TrackParticleContainer.h"#include "xAODTruth/TruthParticleContainer.h"#include "TrackParticleTraits.h"#include "TruthParticleTraits.h"#include "ElectronTraits.h"#include "MuonTraits.h"#include "TauJetTraits.h"#include "TrackView.h"#include "xAODTracking/VertexContainer.h"#include "xAODTruth/TruthVertexContainer.h"#include "xAODVertexTraits.h"#include "VertexView.h"#include <algorithm>Go to the source code of this file.
Functions | |
| template<> | |
| bool | IDTPM2::TrackAnalysisStore::isGoodOffline< xAOD::Electron > (const xAOD::Electron &elec, const std::string &quality, const std::string &) |
| FIXME: the checks whether these are of the right quality are done using strings at the moment so these should be converted to use our own custom enum to get round all the different enums for the different actual EDM types. | |
| template<> | |
| bool | IDTPM2::TrackAnalysisStore::isGoodOffline< xAOD::Muon > (const xAOD::Muon &muon, const std::string &quality, const std::string &) |
| check if it is an good muon ... it is a shame this can't be as simple as the electron code ... | |
| template<> | |
| bool | IDTPM2::TrackAnalysisStore::isGoodOffline< xAOD::TauJet > (const xAOD::TauJet &tau, const std::string &quality, const std::string &prongs) |
| and check if it is a good tau | |
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
Definition in file TrackAnalysisStore.cxx.
| bool IDTPM2::TrackAnalysisStore::isGoodOffline< xAOD::Electron > | ( | const xAOD::Electron & | elec, |
| const std::string & | quality, | ||
| const std::string & | ) |
FIXME: the checks whether these are of the right quality are done using strings at the moment so these should be converted to use our own custom enum to get round all the different enums for the different actual EDM types.
check if this is a good Electron - do we want this in the ElectronTraits some how ?? probably not at the moment
Definition at line 145 of file TrackAnalysisStore.cxx.
| bool IDTPM2::TrackAnalysisStore::isGoodOffline< xAOD::Muon > | ( | const xAOD::Muon & | muon, |
| const std::string & | quality, | ||
| const std::string & | ) |
check if it is an good muon ... it is a shame this can't be as simple as the electron code ...
should allow this to be set also
hmmm - it looks like if it passed "Tight" selection, then it does not pass medium selection, as the goups are exclusive - this is onsensical !
std::cout << "isGoodOffline: muon " << quality << "\t" << good_muon << std::endl;
Definition at line 158 of file TrackAnalysisStore.cxx.
| bool IDTPM2::TrackAnalysisStore::isGoodOffline< xAOD::TauJet > | ( | const xAOD::TauJet & | tau, |
| const std::string & | quality, | ||
| const std::string & | prongs ) |
and check if it is a good tau
run 3 selection
do we want to build this in as well ?? bool not_a_electron = !( tauisTau(xAOD::TauJetParameters::EleBDTMedium) ); bool not_a_muon = !( tauisTau(xAOD::TauJetParameters::MuonVeto) ); bool best_tau = good_tau && not_a_electron && not_a_muon;
Definition at line 185 of file TrackAnalysisStore.cxx.