ATLAS Offline Software
TRT_ToT_dEdx.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRT_TOT_DEDX_H
6 #define TRT_TOT_DEDX_H
7 
8 #include "GaudiKernel/AlgTool.h"
9 #include "GaudiKernel/ToolHandle.h"
10 #include "AthenaBaseComps/AthAlgTool.h" //MJ
11 #include "GaudiKernel/IToolSvc.h" //MJ
14 
16 
17 #include "TrkTrack/Track.h"
18 
19 //gas type selection
21 
27 
30 
31 /*
32  Tool to calculate dE/dx variable for PID
33  o Variable is based on ToT of hits
34  o ToT is calculated from bitpattern using the largest island
35  o Two version availlable (ToT and ToT/L averaged over used hits)
36  o Corrections availlable for Data and MC for both versions defined above
37  o Parameters for correction are currently stored in TRT_ToT_Corrections namespace
38  should probably go to a database
39 */
40 
41 class TRT_ID;
42 class IChronoStatSvc;
43 
44 namespace InDet {
45  class ITRT_LocalOccupancy;
46 }
47 
48 class TRT_ToT_dEdx final : virtual public ITRT_ToT_dEdx, public AthAlgTool
49 {
50 public:
52  // enums
58 
59 private:
60 
62  , "averageInteractionsPerCrossingKey"
63  , "EventInfo.averageInteractionsPerCrossing"
64  , "Decoration for Average Interaction Per Crossing"};
65  const TRT_ID* m_trtId{nullptr}; // ID TRT helper
66 
67  ToolHandle<ITRT_StrawStatusSummaryTool> m_TRTStrawSummaryTool
68  {this, "TRTStrawSummaryTool", "TRT_StrawStatusSummaryTool"};
69 
70  ToolHandle< Trk::IPRD_AssociationTool > m_assoTool{this, "AssociationTool","InDet::InDetPRD_AssociationToolGangedPixels","PRD_AssociationTool"};
71  ToolHandle< InDet::ITRT_LocalOccupancy > m_localOccTool{this, "TRT_LocalOccupancyTool","", "Local occupancy tool"};
72 
73  // Algorithm switchers
74 
75  BooleanProperty m_corrected{this, "TRT_dEdx_corrected", true,
76  "If true - make correction using rs-distributions"};
77  BooleanProperty m_divideByL{this, "TRT_dEdx_divideByL", true,
78  "If true - divide ToT to the L of track in straw"};
79 
80  IntegerProperty m_useTrackPartWithGasType
81  {this, "TRT_dEdx_useTrackPartWithGasType", kUnset,
82  "If kUnset - use any gas for dEdX calculation"};
83  IntegerProperty m_toolScenario
84  {this, "TRT_dEdx_toolScenario", kAlgReweightTrunkOne,
85  "Algorithm type for dEdX estimator calculation"};
86  IntegerProperty m_correctionType
87  {this, "TRT_dEdx_correctionType", kTrackBased, "Type of dEdx correction"};
88 
90  // Different cases for correctionType //
91  // kRSOnly: only r-S calibration //
92  // kHitBased: Hit-based occupancy calibration //
93  // kTrackBased: Track-based occupancy calibration //
94  // kGlobal: Global occupancy calibration //
96 
97 
98  // Event info
99  BooleanProperty m_isData{this, "TRT_dEdx_isData", true};
100 
101  // Track info
103  {this, "TRT_dEdx_trackConfig_maxRtrack", 1.85, "maximum track radius"};
105  {this, "TRT_dEdx_trackConfig_minRtrack", 0.15, "maximum track radius"};
106 
107  BooleanProperty m_useZeroRHitCut{this, "TRT_dEdx_useZeroRHitCut", true,
108  "skip tracks with where RHit=0"};
109 
110  unsigned int m_nTrunkateHits = 1;
111 
112 
113 public:
115  TRT_ToT_dEdx(const std::string&,const std::string&,const IInterface*);
116 
118  virtual ~TRT_ToT_dEdx();
120  virtual StatusCode initialize() override;
121 
128  using ITRT_ToT_dEdx::dEdx;
131  virtual double dEdx(const EventContext& ctx,
132  const Trk::Track* track,
133  bool useHThits,
134  std::optional<float> localOccupancy = std::nullopt) const override final;
135 
142  virtual double usedHits(const EventContext& ctx,
143  const Trk::Track* track,
144  bool useHThits = true) const override final;
154  virtual double getTest(const EventContext& ctx,
155  const double dEdx_obs,
156  const double pTrk,
157  Trk::ParticleHypothesis hypothesis,
158  Trk::ParticleHypothesis antihypothesis,
159  int nUsedHits) const override final;
160 
161 protected:
170  bool isGoodHit(const EventContext& ctx,
171  const Trk::TrackStateOnSurface* trackState,
172  bool useHitsHT,
173  double& length) const;
174 
180  double correctNormalization(const EventContext& ctx, double nVtx = -1) const;
181 
190  double getProb(const EventContext& ctx,
191  const Trk::TrackStateOnSurface* itr,
192  const double dEdx_obs,
193  const double pTrk,
194  Trk::ParticleHypothesis hypothesis,
195  int nUsedHits) const;
196  double getProb(const EventContext& ctx,
197  EGasType gasType,
198  const double dEdx_obs,
199  const double pTrk,
200  Trk::ParticleHypothesis hypothesis,
201  int nUsedHits) const;
202 
209  double predictdEdx(const EventContext& ctx,
210  const Trk::TrackStateOnSurface* itr,
211  const double pTrk,
212  Trk::ParticleHypothesis hypothesis) const;
213 
214  double predictdEdx(const EventContext& ctx,
215  EGasType gasType,
216  const double pTrk,
217  Trk::ParticleHypothesis hypothesis) const;
218 
225  double mass(const EventContext& ctx,
226  const Trk::TrackStateOnSurface* itr,
227  const double pTrk,
228  double dEdx) const;
229 
239  double correctToT_corrRZ(const EventContext& ctx,
240  const Trk::TrackStateOnSurface* itr,
241  double length) const;
242 
248  EGasType gasTypeInStraw(const EventContext& ctx,
249  const Trk::TrackStateOnSurface* itr) const;
251  const EventContext& ctx,
252  const InDet::TRT_DriftCircleOnTrack* driftcircle) const;
253 
254 private:
255 
256  SG::ReadCondHandleKey<TRTDedxcorrection> m_ReadKey{this,"Dedxcorrection","Dedxcorrection","Dedx constants in-key"};
257 
267  double fitFuncEndcap_corrRZ(const EventContext& ctx,
268  EGasType gas,
269  double driftRadius,
270  double rPosition,
271  int Layer,
272  int sign) const;
282  double fitFuncBarrel_corrRZ(const EventContext& ctx,
283  EGasType gas,
284  double driftRadius,
285  double zPosition,
286  int Layer,
287  int StrawLayer) const;
288 
292  double fitFuncBarrelLong_corrRZ(const EventContext& ctx,
293  EGasType gasType,
294  double driftRadius,
295  double zPosition,
296  int Layer,
297  int StrawLayer) const;
298 
302  double fitFuncBarrelShort_corrRZ(const EventContext& ctx,
303  EGasType gasType,
304  double driftRadius,
305  double zPosition,
306  int StrawLayer) const;
307 
311  double fitFuncPol_corrRZ(const EventContext& ctx,
312  EGasType gasType,
313  int parameter,
314  double driftRadius,
315  int Layer,
316  int Strawlayer,
317  int sign,
318  int set) const;
319 
329  double fitFuncEndcap_corrRZL(const EventContext& ctx,
330  EGasType gasType,
331  double driftRadius,
332  double radialPosition,
333  int Layer,
334  int sign) const;
335 
346  double fitFuncBarrel_corrRZL(const EventContext& ctx,
347  EGasType gasType,
348  double driftRadius,
349  double zPosition,
350  int Layer,
351  int StrawLayer) const;
352 
353  /* Calibration functions for occupancy corrections */
354  double hitOccupancyCorrection(const EventContext& ctx,
355  const Trk::TrackStateOnSurface* itr) const;
356  double trackOccupancyCorrection(const EventContext& ctx,
357  const Trk::Track* track,
358  bool useHThits,
359  std::optional<float> localOccupancy) const;
360 
361 public:
362  // Setters and getters
363 
365  bool getStatusCorrection() const { return m_corrected; }
366 
368  bool getCorrectionType() const { return m_correctionType; }
369 
370  void setMinRtrack(float minRtrack) { m_trackConfig_minRtrack=minRtrack;}
371  float getMinRtrack() const { return m_trackConfig_minRtrack; }
372 
373  void setMaxRtrack(float maxRtrack) { m_trackConfig_maxRtrack=maxRtrack;}
374  float getMaxRtrack() const { return m_trackConfig_maxRtrack; }
375 
377  bool getStatusUseZeroRHitCut() const { return m_useZeroRHitCut; }
378 
381 
383  int getAlgorithm() const { return m_toolScenario; }
384 
385 // static methods
386 static double calculateTrackLengthInStraw(const Trk::TrackStateOnSurface* trackState, const TRT_ID* identifier);
387 
388 };
389 
390 #endif // TRT_TOT_DEDX_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TRT_ToT_dEdx::m_TRTStrawSummaryTool
ToolHandle< ITRT_StrawStatusSummaryTool > m_TRTStrawSummaryTool
Definition: TRT_ToT_dEdx.h:68
TRT_ToT_dEdx::usedHits
virtual double usedHits(const EventContext &ctx, const Trk::Track *track, bool useHThits=true) const override final
function to calculate number of used hits
Definition: TRT_ToT_dEdx.cxx:320
TRT_ToT_dEdx::setMinRtrack
void setMinRtrack(float minRtrack)
Definition: TRT_ToT_dEdx.h:370
TRT_ToT_dEdx::isGoodHit
bool isGoodHit(const EventContext &ctx, const Trk::TrackStateOnSurface *trackState, bool useHitsHT, double &length) const
function to define what is a good hit to be used for dEdx calculation cuts on track level can be made...
Definition: TRT_ToT_dEdx.cxx:78
TRT_ToT_dEdx::setStatusCorrection
void setStatusCorrection(bool value)
Definition: TRT_ToT_dEdx.h:364
TRT_ToT_dEdx::kTrackBased
@ kTrackBased
Definition: TRT_ToT_dEdx.h:56
SGout2dot.alg
alg
Definition: SGout2dot.py:243
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
TRT_ToT_dEdx::getProb
double getProb(const EventContext &ctx, const Trk::TrackStateOnSurface *itr, const double dEdx_obs, const double pTrk, Trk::ParticleHypothesis hypothesis, int nUsedHits) const
function to calculate likelihood from prediction and resolution
Definition: TRT_ToT_dEdx.cxx:399
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
TRT_ToT_dEdx::~TRT_ToT_dEdx
virtual ~TRT_ToT_dEdx()
Virtual destructor.
Trk::Track
The ATLAS Track class.
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
TRT_ToT_dEdx::EGasType
EGasType
Definition: TRT_ToT_dEdx.h:57
ITRT_LocalOccupancy
TRT_DetElementContainer.h
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
TRT_ToT_dEdx::fitFuncBarrelShort_corrRZ
double fitFuncBarrelShort_corrRZ(const EventContext &ctx, EGasType gasType, double driftRadius, double zPosition, int StrawLayer) const
function called by fitFuncBarrel_corrRZ for short straws
Definition: TRT_ToT_dEdx.cxx:839
TRT_ToT_dEdx::kKrypton
@ kKrypton
Definition: TRT_ToT_dEdx.h:57
TRTDedxcorrection.h
TRT_ToT_dEdx::getTest
virtual double getTest(const EventContext &ctx, const double dEdx_obs, const double pTrk, Trk::ParticleHypothesis hypothesis, Trk::ParticleHypothesis antihypothesis, int nUsedHits) const override final
function to calculate likelihood ratio test
Definition: TRT_ToT_dEdx.cxx:467
TRT_ToT_dEdx::dEdx
virtual double dEdx(const EventContext &ctx, const Trk::Track *track, bool useHThits, std::optional< float > localOccupancy=std::nullopt) const override final
function to calculate sum ToT normalised to number of used hits
Definition: TRT_ToT_dEdx.cxx:133
athena.value
value
Definition: athena.py:124
ITRT_ToT_dEdx::usedHits
virtual double usedHits(const EventContext &ctx, const Trk::Track *track, bool useHitsHT=true) const =0
function to calculate number of used hits
ITRT_ToT_dEdx::dEdx
virtual double dEdx(const EventContext &ctx, const Trk::Track *track, bool useHitsHT, std::optional< float > localOccupancy=std::nullopt) const =0
function to calculate sum ToT normalised to number of used hits
TRT_ToT_dEdx::trackOccupancyCorrection
double trackOccupancyCorrection(const EventContext &ctx, const Trk::Track *track, bool useHThits, std::optional< float > localOccupancy) const
Definition: TRT_ToT_dEdx.cxx:1149
TRT_ToT_dEdx::getCorrectionType
bool getCorrectionType() const
Definition: TRT_ToT_dEdx.h:368
xAOD::identifier
identifier
Definition: UncalibratedMeasurement_v1.cxx:15
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
ITRT_LocalOccupancy.h
TRT_ToT_dEdx::getStatusCorrection
bool getStatusCorrection() const
Definition: TRT_ToT_dEdx.h:365
TRT_ToT_dEdx::EDataBaseType
EDataBaseType
Definition: TRT_ToT_dEdx.h:54
ITRT_ToT_dEdx.h
TRT_ToT_dEdx::kNewDB
@ kNewDB
Definition: TRT_ToT_dEdx.h:54
python.RingerConstants.Layer
Layer
Definition: RingerConstants.py:42
protected
#define protected
Definition: DetDescrConditionsDict_dict_fixes.cxx:14
TRT_ToT_dEdx::fitFuncBarrelLong_corrRZ
double fitFuncBarrelLong_corrRZ(const EventContext &ctx, EGasType gasType, double driftRadius, double zPosition, int Layer, int StrawLayer) const
function called by fitFuncBarrel_corrRZ for long straws
Definition: TRT_ToT_dEdx.cxx:809
TRT_ToT_dEdx::kRSOnly
@ kRSOnly
Definition: TRT_ToT_dEdx.h:56
Track.h
TRT_ToT_dEdx::correctToT_corrRZ
double correctToT_corrRZ(const EventContext &ctx, const Trk::TrackStateOnSurface *itr, double length) const
main function to correct ToT values on hit level as a function of track radius and z-position
Definition: TRT_ToT_dEdx.cxx:708
TRT_ToT_dEdx::fitFuncBarrel_corrRZL
double fitFuncBarrel_corrRZL(const EventContext &ctx, EGasType gasType, double driftRadius, double zPosition, int Layer, int StrawLayer) const
function to compute correction factor in barrel region
Definition: TRT_ToT_dEdx.cxx:990
TRT_ToT_dEdx::kArgon
@ kArgon
Definition: TRT_ToT_dEdx.h:57
TRT_ToT_dEdx::kUnset
@ kUnset
Definition: TRT_ToT_dEdx.h:57
TRT_ToT_dEdx
Definition: TRT_ToT_dEdx.h:49
TRT_ToT_dEdx::fitFuncBarrel_corrRZ
double fitFuncBarrel_corrRZ(const EventContext &ctx, EGasType gas, double driftRadius, double zPosition, int Layer, int StrawLayer) const
function to compute correction factor in barrel region
Definition: TRT_ToT_dEdx.cxx:779
ITRT_StrawStatusSummaryTool.h
abstract interface to TRT straw status constants
TRT_ToT_dEdx::m_assoTool
ToolHandle< Trk::IPRD_AssociationTool > m_assoTool
Definition: TRT_ToT_dEdx.h:70
TRT_ToT_dEdx::getMinRtrack
float getMinRtrack() const
Definition: TRT_ToT_dEdx.h:371
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TRT_ToT_dEdx::EOccupancyCorrection
EOccupancyCorrection
Definition: TRT_ToT_dEdx.h:56
Trk::driftRadius
@ driftRadius
trt, straws
Definition: ParamDefs.h:53
AthAlgTool.h
TRT_ToT_dEdx::kHitBased
@ kHitBased
Definition: TRT_ToT_dEdx.h:56
TRT_ToT_dEdx::initialize
virtual StatusCode initialize() override
AlgTool initailize method.
Definition: TRT_ToT_dEdx.cxx:47
ITRT_ToT_dEdx::getTest
virtual double getTest(const EventContext &ctx, const double dEdx_obs, const double pTrk, Trk::ParticleHypothesis hypothesis, Trk::ParticleHypothesis antihypothesis, int nUsedHits) const =0
function to calculate likelihood ratio test
sign
int sign(int a)
Definition: TRT_StrawNeighbourSvc.h:107
TRTDedxcorrection
Definition: TRTDedxcorrection.h:9
TRT_ToT_dEdx::getMaxRtrack
float getMaxRtrack() const
Definition: TRT_ToT_dEdx.h:374
TRT_ToT_dEdx::getAlgorithm
int getAlgorithm() const
Definition: TRT_ToT_dEdx.h:383
TRT_ToT_dEdx::mass
double mass(const EventContext &ctx, const Trk::TrackStateOnSurface *itr, const double pTrk, double dEdx) const
function to extract most likely mass in bg [0,3]
Definition: TRT_ToT_dEdx.cxx:570
TRT_ToT_dEdx::kAlgStandard
@ kAlgStandard
Definition: TRT_ToT_dEdx.h:55
TRT_ToT_dEdx::kXenon
@ kXenon
Definition: TRT_ToT_dEdx.h:57
TRT_ToT_dEdx::kGlobal
@ kGlobal
Definition: TRT_ToT_dEdx.h:56
ParticleHypothesis.h
TRT_ToT_dEdx::m_useZeroRHitCut
BooleanProperty m_useZeroRHitCut
Definition: TRT_ToT_dEdx.h:107
TRT_ToT_dEdx::m_rdhkEvtInfo
SG::ReadDecorHandleKey< xAOD::EventInfo > m_rdhkEvtInfo
Definition: TRT_ToT_dEdx.h:61
CxxUtils::set
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.
Definition: bitmask.h:232
IPRD_AssociationTool.h
ReadCondHandleKey.h
TRT_ToT_dEdx::m_trtId
const TRT_ID * m_trtId
Definition: TRT_ToT_dEdx.h:65
TRT_ToT_dEdx::m_ReadKey
SG::ReadCondHandleKey< TRTDedxcorrection > m_ReadKey
Definition: TRT_ToT_dEdx.h:256
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
TRT_ToT_dEdx::setAlgorithm
void setAlgorithm(EstCalc alg)
Definition: TRT_ToT_dEdx.h:382
TRT_ToT_dEdx::fitFuncEndcap_corrRZ
double fitFuncEndcap_corrRZ(const EventContext &ctx, EGasType gas, double driftRadius, double rPosition, int Layer, int sign) const
function to compute correction factor in endcap region
Definition: TRT_ToT_dEdx.cxx:793
TRT_ToT_dEdx::predictdEdx
double predictdEdx(const EventContext &ctx, const Trk::TrackStateOnSurface *itr, const double pTrk, Trk::ParticleHypothesis hypothesis) const
function to calculate expectation value for dEdx using BB fit
Definition: TRT_ToT_dEdx.cxx:490
Trk::TrackStateOnSurface
represents the track state (measurement, material, fit parameters and quality) at a surface.
Definition: TrackStateOnSurface.h:71
TRT_ToT_dEdx::kOldDB
@ kOldDB
Definition: TRT_ToT_dEdx.h:54
TRT_ToT_dEdx::setStatusUseZeroRHitCut
void setStatusUseZeroRHitCut(bool value)
Definition: TRT_ToT_dEdx.h:376
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
TRT_ToT_dEdx::correctNormalization
double correctNormalization(const EventContext &ctx, double nVtx=-1) const
correct overall dEdx normalization on track level
Definition: TRT_ToT_dEdx.cxx:684
TRT_ToT_dEdx::setMaxRtrack
void setMaxRtrack(float maxRtrack)
Definition: TRT_ToT_dEdx.h:373
xAOD::ParticleHypothesis
ParticleHypothesis
Definition: TrackingPrimitives.h:192
TRT_ToT_dEdx::calculateTrackLengthInStraw
static double calculateTrackLengthInStraw(const Trk::TrackStateOnSurface *trackState, const TRT_ID *identifier)
Definition: TRT_ToT_dEdx.cxx:1185
TRT_ToT_dEdx::getStatusUseZeroRHitCut
bool getStatusUseZeroRHitCut() const
Definition: TRT_ToT_dEdx.h:377
TRT_ToT_dEdx::m_correctionType
IntegerProperty m_correctionType
Definition: TRT_ToT_dEdx.h:87
TRT_ToT_dEdx::m_localOccTool
ToolHandle< InDet::ITRT_LocalOccupancy > m_localOccTool
Definition: TRT_ToT_dEdx.h:71
EventInfo.h
ITRT_ToT_dEdx
Definition: ITRT_ToT_dEdx.h:21
TRT_ToT_dEdx::fitFuncPol_corrRZ
double fitFuncPol_corrRZ(const EventContext &ctx, EGasType gasType, int parameter, double driftRadius, int Layer, int Strawlayer, int sign, int set) const
function called by fitFuncBarrel_corrRZ and fitFuncEndcap_corrRZ
Definition: TRT_ToT_dEdx.cxx:857
TRT_ToT_dEdx::fitFuncEndcap_corrRZL
double fitFuncEndcap_corrRZL(const EventContext &ctx, EGasType gasType, double driftRadius, double radialPosition, int Layer, int sign) const
function to compute correction factor in endcap region
Definition: TRT_ToT_dEdx.cxx:939
TRT_ID
Definition: TRT_ID.h:84
TRT_ToT_dEdx::setGasTypeFordEdXCalculation
void setGasTypeFordEdXCalculation(EGasType gasType)
Definition: TRT_ToT_dEdx.h:379
TRT_ToT_dEdx::hitOccupancyCorrection
double hitOccupancyCorrection(const EventContext &ctx, const Trk::TrackStateOnSurface *itr) const
Definition: TRT_ToT_dEdx.cxx:1059
TRT_ToT_dEdx::kAlgReweight
@ kAlgReweight
Definition: TRT_ToT_dEdx.h:55
TRT_ToT_dEdx::m_isData
BooleanProperty m_isData
Definition: TRT_ToT_dEdx.h:99
TRT_ToT_dEdx::m_useTrackPartWithGasType
IntegerProperty m_useTrackPartWithGasType
Definition: TRT_ToT_dEdx.h:81
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
TRT_ToT_dEdx::setCorrectionType
void setCorrectionType(EOccupancyCorrection value)
Definition: TRT_ToT_dEdx.h:367
AthAlgTool
Definition: AthAlgTool.h:26
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition: StoreGate/StoreGate/ReadDecorHandleKey.h:85
TRT_ToT_dEdx::m_corrected
BooleanProperty m_corrected
Definition: TRT_ToT_dEdx.h:75
TRT_ToT_dEdx::m_toolScenario
IntegerProperty m_toolScenario
Definition: TRT_ToT_dEdx.h:84
TRT_ToT_dEdx::TRT_ToT_dEdx
TRT_ToT_dEdx(const std::string &, const std::string &, const IInterface *)
AlgTool like constructor.
Definition: TRT_ToT_dEdx.cxx:35
TRT_ToT_dEdx::getGasTypeFordEdXCalculation
int getGasTypeFordEdXCalculation() const
Definition: TRT_ToT_dEdx.h:380
TRT_ToT_dEdx::kAlgReweightTrunkOne
@ kAlgReweightTrunkOne
Definition: TRT_ToT_dEdx.h:55
length
double length(const pvec &v)
Definition: FPGATrackSimLLPDoubletHoughTransformTool.cxx:26
TRT_ToT_dEdx::gasTypeInStraw
EGasType gasTypeInStraw(const EventContext &ctx, const Trk::TrackStateOnSurface *itr) const
return gas type for that hit
Definition: TRT_ToT_dEdx.cxx:622
TRT_ToT_dEdx::m_divideByL
BooleanProperty m_divideByL
Definition: TRT_ToT_dEdx.h:77
TRT_ToT_dEdx::EstCalc
EstCalc
Definition: TRT_ToT_dEdx.h:55
TRT_ToT_dEdx::m_trackConfig_minRtrack
FloatProperty m_trackConfig_minRtrack
Definition: TRT_ToT_dEdx.h:105
TRT_ToT_dEdx::m_nTrunkateHits
unsigned int m_nTrunkateHits
Definition: TRT_ToT_dEdx.h:110
TRT_ToT_dEdx::m_trackConfig_maxRtrack
FloatProperty m_trackConfig_maxRtrack
Definition: TRT_ToT_dEdx.h:103