2 #ifndef RIVET_ProjectionHandler_HH 3 #define RIVET_ProjectionHandler_HH 5 #include "Rivet/Rivet.hh" 6 #include "Rivet/RivetBoost.hh" 7 #include "Rivet/Tools/Logging.fhh" 8 #include "Rivet/Projection.fhh" 62 typedef map<const ProjectionApplier*, NamedProjs> NamedProjsMap;
66 NamedProjsMap _namedprojs;
141 string _getStatus()
const;
146 const string& name)
const;
161 const string& name)
const;
Definition: MC_JetAnalysis.hh:9
set< const Projection * > getChildProjections(const ProjectionApplier &parent, ProjDepth depth=SHALLOW) const
Definition: ProjectionHandler.cc:233
const Projection & registerProjection(const ProjectionApplier &parent, const Projection &proj, const string &name)
Attach and retrieve a projection as a reference.
Definition: ProjectionHandler.cc:47
ProjDepth
Enum to specify depth of projection search.
Definition: ProjectionHandler.hh:55
map< const string, ProjHandle > NamedProjs
Typedef for the structure used to contain named projections for a particular containing Analysis or P...
Definition: ProjectionHandler.hh:52
set< ProjHandle > ProjHandles
Typedef for a vector of Projection pointers.
Definition: ProjectionHandler.hh:48
The projection handler is a central repository for projections to be used in a Rivet analysis run...
Definition: ProjectionHandler.hh:41
void clear()
Definition: ProjectionHandler.cc:31
const Projection & getProjection(const ProjectionApplier &parent, const string &name) const
Definition: ProjectionHandler.cc:258
Common base class for Projection and Analysis, used for internal polymorphism.
Definition: ProjectionApplier.hh:18
shared_ptr< const Projection > ProjHandle
Typedef for Projection (smart) pointer.
Definition: ProjectionHandler.hh:14
static ProjectionHandler & getInstance()
Singleton creation function.
Definition: ProjectionHandler.cc:14
Base class for all Rivet projections.
Definition: Projection.hh:28