|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef EVENTSELECTIONMANAGER_H_
6 #define EVENTSELECTIONMANAGER_H_
21 class SystematicEvent;
27 class ParticleLevelEvent;
51 TFile*
outputFile,
const std::string& toolLoaderNames,
71 virtual void countInitial(
const float mcEventWeight,
const float pileupWeight);
75 virtual void countGRL(
const float mcEventWeight,
const float pileupWeight);
79 virtual void countGoodCalo(
const float mcEventWeight,
const float pileupWeight);
virtual void addExtraBranches(std::vector< std::string > &extraBranchList)
To get the mini xAOD really small we need to tell it which branches to save.
TopConfig A simple configuration that is NOT a singleton.
virtual bool apply(top::Event &event, const xAOD::SystematicEvent ¤tSystematic)
Run through the event selections for each event.
Maybe you want to run multiple selections (e+jets, mu+jets) on the same input files at the same time.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
EventSelectionManager(const EventSelectionManager &rhs)=delete
virtual ~EventSelectionManager()
Does not need to do anything.
virtual bool applyParticleLevel(const top::ParticleLevelEvent &plEvent)
Execute the event selection using the Particle Level data.
virtual void countPrimaryVertex(const float mcEventWeight, const float pileupWeight)
Count the number of events passing Primary Vertex.
POOL::TEvent event(POOL::TEvent::kClassAccess)
This module defines the arguments passed from the BATCH driver to the BATCH worker.
virtual void countGoodCalo(const float mcEventWeight, const float pileupWeight)
Count the number of events passing Good Calo.
virtual void finalise()
Call finalise on each tool.
virtual void countGRL(const float mcEventWeight, const float pileupWeight)
Count the number of events passing GRL.
std::vector< std::string > GetFakesMMConfigs(const std::string &selection) const
Gives you the lists of the Fakes MM configurations associated to a selection.
EventSelectionManager()=delete
std::vector< top::EventSelection > m_selections
A vector of EventSelection objects, for doing fancy things.
EventSelectionManager & operator=(const EventSelectionManager &rhs)=delete
SystematicEvent A simple xAOD class which we can persist into a mini-xAOD The xAOD EDM is way too com...
virtual void countInitial(const float mcEventWeight, const float pileupWeight)
Count the number of initial events.
Very simple class to hold event data after reading from a file.