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

This class defines a correction that affects the reconstructed TPC Momentum of an. More...

#include <TPCPIDPullMCCorrection.hxx>

Inheritance diagram for TPCPIDPullMCCorrection:
TPCPIDVariation CorrectionBase

Public Member Functions

void Apply (AnaSpillC &spill)
 Apply the correction to all the relevant objects: TPC constituent of an AnaTrack.
 
bool GetVariation (const AnaTPCParticleB &tpcTrack, Float_t &mean_var, Float_t &sigma_var, const AnaTrackB &track)
 Get the variation for a given TPC object.
 
bool GetVariation (const AnaTPCParticleB &tpcTrack, Float_t &mean_var, Float_t &sigma_var, const AnaTrackB &track, const ToyExperiment &exp)
 Get the variation for a given TPC object.
 
- Public Member Functions inherited from TPCPIDVariation
 TPCPIDVariation ()
 Instantiate the PID variation,.
 
virtual void ApplyVariation (AnaTrackB *track, const ToyExperiment &exp)
 Apply variation for a track, the most general case given a certain ToyExperiment.
 
virtual bool GetPIDParams (const AnaTPCParticleB &tpcTrack, Float_t &dEdxExp, Float_t &dEdxSigma, const AnaTrackB &track)
 
- Public Member Functions inherited from CorrectionBase
 CorrectionBase (const CorrectionBase &corr)
 Copy constructor.
 
virtual ~CorrectionBase ()
 Everyone should have a destructor.
 
virtual const char * GetName () const
 Return the name of this correction. This overrides the TObject::GetName() interface.
 
const std::string & Name () const
 Return the name of this correction.
 
void SetName (const std::string &name)
 Set the name of this correction.
 
void Enable ()
 Enable the correction.
 
void Disable ()
 Disable the correction.
 
bool IsEnabled () const
 Is the correction enabled.
 
void SetAppliedInInput (bool ap)
 Set the correction as applied in the input file.
 
bool IsAppliedInInput () const
 Is the correction already applied in the input file ?
 
Int_t GetIndex () const
 Return the index of this correction.
 
void SetIndex (Int_t index)
 Set the index of this correction.
 
 ClassDef (CorrectionBase, 2)
 

Protected Member Functions

bool IsRelevantObject (const AnaRecObjectC *object)
 

Protected Attributes

ToyExperiment _exp
 Some default toy experiment, not used at the moment.
 
- Protected Attributes inherited from TPCPIDVariation
BinnedParams_mean [kNPULLS]
 
BinnedParams_sigma [kNPULLS]
 
- Protected Attributes inherited from CorrectionBase
std::string _name
 The name of this correction.
 
bool _enabled
 Is the correction enabled?
 
bool _appliedInInput
 Is the correction already applied in the input file ?
 
Int_t _index
 The index of the correction.
 

Additional Inherited Members

- Public Types inherited from TPCPIDVariation
enum  HypEnum {
  kMuon = 0, kElectron, kProton, kPion,
  kKaon, kNPULLS
}
 Enum for particle hypothesis.
 

Detailed Description

This class defines a correction that affects the reconstructed TPC Momentum of an.

Definition at line 11 of file TPCPIDPullMCCorrection.hxx.

Member Function Documentation

§ IsRelevantObject()

bool TPCPIDPullMCCorrection::IsRelevantObject ( const AnaRecObjectC object)
inlineprotected

Check whether a track is relevant to apply the correction: e.g. momentum resolution was studied for tracker objects only Probably should be moved to a base class

Definition at line 40 of file TPCPIDPullMCCorrection.hxx.

40 {(void)object; return true;} // all considered for the moment

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