HighLAND
|
This class defines a correction that affects the reconstructed TPC Momentum of an. More...
#include <TPCPIDPullMCCorrection.hxx>
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. | |
![]() | |
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) |
![]() | |
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. | |
![]() | |
BinnedParams * | _mean [kNPULLS] |
BinnedParams * | _sigma [kNPULLS] |
![]() | |
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 | |
![]() | |
enum | HypEnum { kMuon = 0, kElectron, kProton, kPion, kKaon, kNPULLS } |
Enum for particle hypothesis. | |
This class defines a correction that affects the reconstructed TPC Momentum of an.
Definition at line 11 of file TPCPIDPullMCCorrection.hxx.
|
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.