HighLAND
Public Types | Public Member Functions | Protected Attributes | List of all members
SystematicBase Class Reference

#include <SystematicBase.hxx>

Inheritance diagram for SystematicBase:
EventVariationBase EventWeightBase BFieldDistortionSystematics ECalEMEnergySystematicsBase FGDPIDSystematics MomentumResolSystematics MomentumScaleSystematics MomRangeResolSystematics P0DELossResolSystematics P0DELossScaleSystematics ToFResolSystematics TPCPIDSystematics tutorialVariationSystematics ChargeIDEffSystematics ECalEmHipPIDSystematics ECalPIDSystematics ECalTrackEffSystematics FGD2ShowerSystematics FGDECalMatchEffSystematics FGDHybridTrackEffSystematics FGDMassSystematics FGDTrackEffSystematics FluxWeightSystematics MichelElectronEffSystematics nueECalPileUpSystematics nueOOFVSystematics nueP0DPileUpSystematics nueTPCPileUpSystematics OOFVSystematics p0dCCQEOOFVSystematics P0dMassSystematics P0dTrackerOOFVSystematics P0DVetoSystematics PileUpSystematics SandMuonsSystematics SIPionSystematics SIProtonSystematics TPCClusterEffSystematics TPCECalMatchEffSystematics TPCFGDMatchEffSystematics TPCP0DMatchEffSystematics TPCTrackEffSystematics tutorialWeightSystematics

Public Types

enum  TypeEnum { kVariation = 0, kWeight, kFlux, kUnknown }
 Enumerator describing the values that _type member can take.
 
enum  PDFEnum {
  kGaussian = 0, kUniform, kBinomial, kMultinomial,
  kUnknownPDF
}
 Enumerator describing the values that _PDF member can take.
 

Public Member Functions

 SystematicBase ()
 Create the systematic, with one parameter.
 
 SystematicBase (UInt_t npar)
 Create the systematic, specifying the number of systematic parameters.
 
virtual ~SystematicBase ()
 Everyone should have a destructor.
 
UInt_t GetNParameters () const
 Returns the number of systematic parameters associated to this systematic.
 
void SetNParameters (int N)
 Set the number of systematic parameters associated to this systematic.
 
virtual const char * GetName () const
 Return the name of this systematic. This overrides the TObject::GetName() interface.
 
const std::string & Name () const
 Return the name of this systematic.
 
void SetName (const std::string &name)
 Set the name of this systematic.
 
Int_t GetIndex () const
 Return the index of this systematic.
 
void SetIndex (Int_t index)
 Set the index of this systematic.
 
TypeEnum Type () const
 Return the type of this systematic.
 
std::string ConvertType ()
 Return the type of this systematic.
 
void SetType (TypeEnum type)
 Set the type of this systematic.
 
PDFEnum PDF () const
 Return the PDF of this systematic.
 
std::string ConvertPDF ()
 Return the PDF of this systematic.
 
void SetPDF (PDFEnum PDF)
 Set the PDF of this systematic.
 
void SetEnabled (bool ena)
 Set the enable bit.
 
bool IsEnabled () const
 Returns the enable bit.
 
virtual void FinalizeEvent (const AnaEventC &event)
 Delete the SystBox for this event.
 
SystBoxBGetSystBox (const AnaEventC &event, Int_t isel=0, Int_t ibranch=0) const
 Get the SystBox corresponding to a selection, branch and event.
 
virtual void Initialize (Int_t nsel, Int_t isel, Int_t nbranch, Int_t nevents)
 Create the array of SystBox.
 
 ClassDef (SystematicBase, 2)
 

Protected Attributes

std::string _name
 The name of this systematic.
 
Int_t _index
 The index of this systematic (needed by SystematicsManager);.
 
TypeEnum _type
 The type of this systematic (variation, weight or flux)
 
bool _enabled
 Is this systematic enabled ?
 
PDFEnum _PDF
 The PDF use for the systematic parameter scan.
 
UInt_t _nParameters
 the number of systematic parameters
 
SystBoxB **** _systBoxes
 ----—— Relevant objects for this systematic ------------—— More...
 
Int_t _systBoxesNSel
 
Int_t _systBoxesNBranches [NMAXSELECTIONS]
 
Int_t _systBoxesNEvents [NMAXSELECTIONS][NMAXBRANCHES]
 

Detailed Description

This is the base class that all systematics should inherit from.

Definition at line 19 of file SystematicBase.hxx.

Member Data Documentation

§ _systBoxes

SystBoxB**** SystematicBase::_systBoxes
protected

----—— Relevant objects for this systematic ------------——

The triple array of SystBox (selection:branch:event)

Definition at line 131 of file SystematicBase.hxx.


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