HighLAND
|
Public Member Functions | |
ConfigurationBase (Int_t index, const std::string &conf_name, UInt_t ntoys=1, Int_t randomSeed=-1, ToyMaker *toyMaker=NULL) | |
void | EnableSystematic (Int_t index) |
Enable the systematic registered with the given name. | |
void | EnableSystematics (const std::vector< Int_t > &indices) |
Enable the systematic registered with the given name. | |
void | DisableSystematic (Int_t index) |
Disable the systematic registered with the given name. | |
void | DisableAllSystematics () |
Disable the systematic registered with the given name. | |
const std::vector< Int_t > & | GetEnabledSystematics () |
Get the systematics enabled for this configuration. | |
void | EnableEventWeight (Int_t index) |
Enable the systematic registered with the given name. | |
void | EnableEventWeights (const std::vector< Int_t > &indices) |
Enable the systematic registered with the given name. | |
void | DisableEventWeight (Int_t index) |
Disable the systematic registered with the given name. | |
void | DisableAllEventWeights () |
Disable the systematic registered with the given name. | |
const std::vector< Int_t > & | GetEnabledEventWeights () |
Get the weights enabled for this configuration. | |
void | EnableEventVariation (Int_t index) |
Enable the systematic registered with the given name. | |
void | EnableEventVariations (const std::vector< Int_t > &indices) |
Enable the systematic registered with the given name. | |
void | DisableEventVariation (Int_t index) |
Disable the systematic registered with the given name. | |
void | DisableAllEventVariations () |
Disable the systematic registered with the given name. | |
const std::vector< Int_t > & | GetEnabledEventVariations () |
Get the variations enabled for this configuration. | |
void | SetEnabled (bool ena) |
Is this configuration enabled ? | |
bool | IsEnabled () const |
void | SetToyEnabled (Int_t n, bool ena) |
Set and gets enable flags for a given toy. | |
bool | GetToyEnabled (Int_t n) const |
Int_t | GetNToys () const |
Get and sets the number of toys. | |
void | SetNToys (Int_t ntoys) |
Int_t | GetRefToyIndex () const |
Returns the refernce toy experiment index. | |
Int_t | GetToyRandomSeed () const |
Get and sets the random seed used to generate the toys. | |
void | SetToyRandomSeed (UInt_t seed) |
void | SetToyMaker (ToyMaker *toyMaker) |
Sets the ToyMaker. | |
ToyMaker & | GetToyMaker () |
Returns the ToyMaker. | |
Int_t | GetIndex () const |
Returns the configuration index (should match the one in the Configuration Manager) | |
void | SetIndex (Int_t index) |
Sets the configuration index. | |
Int_t | GetTreeIndex () const |
Returns the index of the tree associated to this configuration in the TreeManager. | |
void | SetTreeIndex (Int_t index) |
Sets the tree index. | |
const std::string & | Name () const |
Returns the name of this configuration. | |
void | Dump (SystematicManager &syst) |
void | CreateToyExperiments (const SystematicManager &syst) |
Create the ToyExperiments using the ToyMaker and the SystematicManager. | |
ClassDef (ConfigurationBase, 1) | |
Public Attributes | |
std::vector< ToyVariationWrite > | _toys |
The variations for each of the toys. | |
Protected Attributes | |
std::string | _name |
Name of the configuration. | |
Int_t | _conf_index |
Configuration index. | |
Int_t | _tree_index |
the index of the tree associated to this configuration in the TreeManager | |
Int_t | _ntoys |
Number of Toy experiments or virtual analyses. | |
Int_t | _toy_ref |
The reference toy with the nominal selection. | |
Int_t | _toy_randomSeed |
The random seed used to generate the toys. | |
bool | _enabled |
Is this configuration enabled ? | |
std::vector< bool > | _toyEnabled |
Tell wether a toy is enabled or not. | |
std::vector< Int_t > | _systematicsEnabled |
Vector of indices of the systematics enabled in this configuration. | |
std::vector< Int_t > | _weightsEnabled |
Vector of indices of the weights enabled in this configuration. | |
std::vector< Int_t > | _variationsEnabled |
Vector of indices of the variations enabled in this configuration. | |
ToyMaker * | _toyMaker |
The ToyMaker, which fills the toy. | |
Definition at line 33 of file ConfigurationBase.hxx.