|
| MomRangeCorrection (SubDetId::SubDetEnum det=SubDetId::kFGD1) |
|
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) |
|
|
bool | IsRelevantTrack (const AnaTrackB &track) const |
|
Definition at line 9 of file MomRangeCorrection.hxx.
§ Apply()
void MomRangeCorrection::Apply |
( |
AnaSpillC & |
spill | ) |
|
|
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 18 of file MomRangeCorrection.cxx.
23 for (UInt_t i = 0; i < spill.
Bunches.size(); i++) {
25 for (UInt_t j = 0; j < bunch->
Particles.size(); j++) {
31 if (!IsRelevantTrack(*track))
continue;
36 if (ND::tman().GetMomentumFromRangeLinear(*track, mom_range, ParticleId::kMuon))
std::vector< AnaBunchC * > Bunches
The reconstructed objects, split into timing bunches.
Float_t RangeMomentumMuon
Momentum by range calculated with muon hypothesis.
Representation of a global track.
std::vector< AnaParticleB * > Particles
The documentation for this class was generated from the following files:
- /hep/T2K/nd280rep/ANALYSIS/HIGHLAND2/ANAPARTICLE/highland2/highlandCorrections/v2r8/src/MomRangeCorrection.hxx
- /hep/T2K/nd280rep/ANALYSIS/HIGHLAND2/ANAPARTICLE/highland2/highlandCorrections/v2r8/src/MomRangeCorrection.cxx