HighLAND
|
#include <FlipKinematicsCorrection.hxx>
Public Member Functions | |
FlipKinematicsCorrection (SubDetId::SubDetEnum det=SubDetId::kFGD) | |
void | Apply (AnaSpillC &spill) |
![]() | |
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 | IsRelevantTrack (const AnaTrackB &track) const |
Protected Attributes | |
SubDetId::SubDetEnum | _det |
![]() | |
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. | |
Each track that has a TPC component present together with a segment in other detector should have an "alternate" re-fit with a reversed charge and direction Sometimes it happens that this reverse fit fails on oaRecon level, hence the info is not available, this correction "fixes" the problem by taking the closest (to the end point) TPC momentum and applying a "reversed" dEdX correction up to the end point
Definition at line 17 of file FlipKinematicsCorrection.hxx.
|
virtual |
This is the function that applies the correction to the input data. This MUST be overridden in the derived class.
Reimplemented from CorrectionBase.
Definition at line 19 of file FlipKinematicsCorrection.cxx.
|
protected |
A correction is supposed to be relevant for the tracks that have a potential to be reversed (should have a TOF) and for which B field + eloss momentum estimation is crucial: TPC should be present
Definition at line 62 of file FlipKinematicsCorrection.cxx.
|
protected |
A detector bit that defines which ToFs should be present to consider the object for correction
Definition at line 35 of file FlipKinematicsCorrection.hxx.