HighLAND
highland2
highlandCorrections
v2r8
src
TPCdEdxMCCorrection.hxx
1
#ifndef TPCdEdxMCCorrection_h
2
#define TPCdEdxMCCorrection_h
3
4
#include "CorrectionBase.hxx"
5
#include "DataClasses.hxx"
6
7
/// This class defines a correction that affects the measured dE/dx of an
8
/// AnaTpcSegment. This in turn affects the computed pulls (how electron-like a
9
/// track is, for example).
10
///
11
/// This correction is applied to MC, and currently has NO EFFECT.
12
class
TPCdEdxMCCorrection
:
public
CorrectionBase
{
13
public
:
14
15
TPCdEdxMCCorrection
();
16
17
virtual
~
TPCdEdxMCCorrection
() {}
18
19
/// Apply the dE/dx correction to all the AnaTpcSegment members of all
20
/// tracks in the spill. See TPCdEdxMCCorrection class documentation for
21
/// details.
22
void
Apply
(
AnaSpillC
& spill);
23
24
private
:
25
26
/// Get the correction factor for the given true particle type.
27
double
GetCorrection(
int
pdg);
28
29
};
30
31
#endif
AnaSpillC
Definition:
CoreDataClasses.hxx:187
TPCdEdxMCCorrection
Definition:
TPCdEdxMCCorrection.hxx:12
CorrectionBase
All corrections should be registered with the CorrectionManager.
Definition:
CorrectionBase.hxx:15
TPCdEdxMCCorrection::Apply
void Apply(AnaSpillC &spill)
Definition:
TPCdEdxMCCorrection.cxx:30
Generated by
1.8.13