HighLAND
|
#include <EventVariationManager.hxx>
Public Member Functions | |
void | ApplyEventVariations (const ToyExperiment &toy, AnaEventC &event) |
Apply all EventVariations. | |
bool | UndoEventVariations (AnaEventC &event) |
Undo the event variation (Undo the variation, that is, go back to the previous values of modified observables) | |
EventVariationBase * | GetEventVariation (const std::string &name) const |
Get the EventVariation registered with the given name. | |
EventVariationBase * | GetEventVariation (Int_t index) const |
Get the EventVariation registered with the given index. | |
Int_t | GetEventVariationIndex (const std::string &name) |
Get the index of a EventVariation registered with the given name. | |
std::vector< EventVariationBase * > & | GetEventVariations () |
Get the vector of EventVariations. | |
std::vector< EventVariationBase * > | GetEventVariations (const std::vector< Int_t > &indices) const |
Get the vector containing EventVariations with specific indices. | |
void | EnableEventVariation (Int_t index) |
Enable the EventVariation registered with the given index. | |
void | DisableEventVariation (Int_t index) |
Disable the EventVariation registered with the given index. | |
void | EnableEventVariations (const std::vector< Int_t > &systs) |
Enable the EventVariations registered with the given indices. | |
void | DisableEventVariations (const std::vector< Int_t > &systs) |
Disable the EventVariations registered with the given indices. | |
void | DisableAllEventVariations () |
Disable all eventVariations. | |
void | EnableAllEventVariations () |
Enable all EventVariation eventVariations. | |
void | AddEventVariation (Int_t index, EventVariationBase *sys) |
Add a new Event Variation provided its index in the manager and a pointer to it. | |
void | AddEventVariation (Int_t index, const std::string &name, EventVariationBase *sys) |
Add a new Event Variation provided its index in the manager, its name and a pointer to it. | |
void | ReplaceEventVariation (Int_t index, EventVariationBase *sys) |
Replace one of the existing EventVariationBase. | |
void | InitializeEvent (SelectionManager &sel, AnaEventC &event) |
Fill the SystBox for the enabled EventVariations. | |
void | FinalizeEvent (AnaEventC &event) |
Delete the SystBox for all EventVariations. | |
void | Initialize (Int_t nevents) |
bool | HasEventVariations () const |
Is there any EventVariation added ? | |
UInt_t | GetNEventVariations () const |
Returns the number of EventVariations. | |
const Int_t * | GetEnabledEventVariations (int &nSys) |
Returns the vector of indices for all enabled EventVariations. | |
UInt_t | GetNEnabledEventVariations () |
Returns the number of enabled EventVariations. | |
void | DumpEventVariations () |
Dump all eventVariations. | |
bool | HasEventVariation (const std::string &name) |
Check if an EventVariation with a given name already exists in the manager. | |
Protected Attributes | |
std::vector< EventVariationBase * > | _eventVariations |
The systematics that were registered as eventVariations. | |
std::vector< EventVariationBase * > | _eventVariationsWithNull |
The systematics that were registered as eventVariations. | |
Int_t | _eventVariationsEnabled [NMAXEVENTVARIATIONS] |
The variation systematics that are enabled. | |
int | _nEventVariationsEnabled |
Manager for EventVariations This manager handles the registration, enabling and disabling of the EventVariations.
Definition at line 15 of file EventVariationManager.hxx.