simple-tof-analysis
 All Classes Namespaces Functions Variables Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
TSEvent Class Reference
Inheritance diagram for TSEvent:
TSNamed TSNamed

Public Member Functions

 TSEvent (TString name, TString tag, TString title)
 
 TSEvent (const TSEvent &)
 
void AddResponseFunctionToParam (const TSRespFunc &, const TSNuiParam &)
 
double ComputeOscillProb ()
 
double ComputeWeight ()
 
void Fill ()
 
std::map< const TSVariable
*, double > & 
FillValues ()
 
TSCategoryCardGetCategoryCard ()
 
int GetId () const
 
int GetNumOfVars () const
 
TSNuiParamSetGetNuiParamSet ()
 
double GetOscillProb () const
 
TSOscProbGetOscillProbFunction ()
 
TSPOTMgrGetPOTMgr ()
 
TString GetTag () const
 
const TSVariableGetVariable (int) const
 
const TSVariableGetVarLink (int) const
 
double GetVarValue (int) const
 
double GetVarValue (const TSVariable &)
 
double GetWeight () const
 
double GetWeightNative () const
 
double GetWeightPosition (int position)
 
std::vector< double > & GetSavedWeights ()
 
bool HasVariable (const TSVariable &) const
 
bool HasCategoryCard () const
 
bool HasOscillProbFunction () const
 
bool HasWeightParams () const
 
void Init ()
 
double Oscillate (int opt=1)
 
virtual void Process ()
 
void ProcessWith (double(TSEvent::*p)())
 
void Print () const
 
double RestoreWeightNative ()
 
double ReWeightWith (double)
 
double ReWeightWithSavedPosition (int postion)
 
double ReWeightNativeWith (double)
 
double ReWeightWithNuiParams (int opt=0)
 
double SaveWeightPosition (int position)
 
void SetCategoryCard (const TSCategoryCard &)
 
void SetId (int i)
 
void SetNativePOT (float POT, float Power=20)
 
void ScaleToPOT (float POT, float Power=20)
 
void ScaleToNativePOT ()
 
int SetOscillProbFunction (TSOscProb *)
 
void SetTag (TString tag)
 
void SetVariables (const TSArgList &)
 
void SetVarValue (int, double)
 
void SetWeightNative (double w)
 
void SetWeight (double w)
 
int SetWeightParams (const TSNuiParamSet &)
 
 TSEvent (TString name, TString tag, TString title)
 
 TSEvent (const TSEvent &)
 
void AddResponseFunctionToParam (const TSRespFunc &, const TSNuiParam &)
 
double ComputeOscillProb ()
 
double ComputeWeight ()
 
void Fill ()
 
std::map< const TSVariable
*, double > & 
FillValues ()
 
TSCategoryCardGetCategoryCard ()
 
int GetId () const
 
int GetNumOfVars () const
 
TSNuiParamSetGetNuiParamSet ()
 
double GetOscillProb () const
 
TSOscProbGetOscillProbFunction ()
 
TSPOTMgrGetPOTMgr ()
 
TString GetTag () const
 
const TSVariableGetVariable (int) const
 
const TSVariableGetVarLink (int) const
 
double GetVarValue (int) const
 
double GetVarValue (const TSVariable &)
 
double GetWeight () const
 
double GetWeightNative () const
 
double GetWeightPosition (int position)
 
std::vector< double > & GetSavedWeights ()
 
bool HasVariable (const TSVariable &) const
 
bool HasCategoryCard () const
 
bool HasOscillProbFunction () const
 
bool HasWeightParams () const
 
void Init ()
 
double Oscillate (int opt=1)
 
virtual void Process ()
 
void ProcessWith (double(TSEvent::*p)())
 
void Print () const
 
double RestoreWeightNative ()
 
double ReWeightWith (double)
 
double ReWeightWithSavedPosition (int postion)
 
double ReWeightNativeWith (double)
 
double ReWeightWithNuiParams (int opt=0)
 
double SaveWeightPosition (int position)
 
void SetCategoryCard (const TSCategoryCard &)
 
void SetId (int i)
 
void SetNativePOT (float POT, float Power=20)
 
void ScaleToPOT (float POT, float Power=20)
 
void ScaleToNativePOT ()
 
int SetOscillProbFunction (TSOscProb *)
 
void SetTag (TString tag)
 
void SetVariables (const TSArgList &)
 
void SetVarValue (int, double)
 
void SetWeightNative (double w)
 
void SetWeight (double w)
 
int SetWeightParams (const TSNuiParamSet &)
 
- Public Member Functions inherited from TSNamed
 TSNamed (TString name, TString label, TString title)
 
void Clear ()
 
virtual TString GetDescription () const
 
TString GetLabel () const
 
TString Label () const
 
TString Name () const
 
TString Title () const
 
const char * GetName () const
 
const char * GetTitle () const
 
virtual void SetLabel (TString)
 
virtual void SetName (TString)
 
virtual void SetTitle (TString)
 
 TSNamed (TString name, TString label, TString title)
 
void Clear ()
 
virtual TString GetDescription () const
 
TString GetLabel () const
 
TString Label () const
 
TString Name () const
 
TString Title () const
 
const char * GetName () const
 
const char * GetTitle () const
 
virtual void SetLabel (TString)
 
virtual void SetName (TString)
 
virtual void SetTitle (TString)
 

Static Public Member Functions

static void ClearProcessChain ()
 
static void ClearProcessChain ()
 

Member Function Documentation

void TSEvent::ScaleToPOT ( float  POT,
float  Power = 20 
)

With this function also the native wieght is scaled accordingly to the ratio between the the native pot and the new input values (i.e.: native weights and native pot are not aligned and have in general different meaning: native weight is what is multiplied for when a ReWeight method is invoked)

int TSEvent::SetWeightParams ( const TSNuiParamSet list)

The documentation for this class was generated from the following files: