1 #ifndef RESOLUTIONPERFORMANCEPROCESSOR_H
2 #define RESOLUTIONPERFORMANCEPROCESSOR_H
4 #include <marlin/Processor.h>
5 #include "marlin/Global.h"
9 #include "TrackFitterBase.h"
10 #include <EVENT/TrackerHit.h>
13 #include "ModuleDistortionCalculator.h"
16 #include "gear/TPCParameters.h"
67 virtual void processRunHeader(lcio::LCRunHeader* run);
69 virtual void processEvent(lcio::LCEvent* evt);
71 virtual void check(lcio::LCEvent* evt);
82 double calcHitPhi(TrackerHit * firstHit, TrackerHit * secondHit);
84 double _bfieldScaleFactor;
85 int _xyResolutionBins;
86 float _xyResolutionRange;
88 float _zResolutionRange;
90 int _chargeUpperBound;
91 bool _useHitsWithOverflow;
96 std::map< std::pair<int,int>, TH1*> _zDistanceRow;
97 std::map< std::pair<int,int>, TH1*> _xyDistanceRow;
98 std::map< std::pair<int,int>, TH1*> _zResidualRow;
99 std::map< std::pair<int,int>, TH1*> _xyResidualRow;
100 std::map< std::pair<int,int>, TH1*> _phiRow;
102 std::map< std::pair<int,int>, TH2*> _zResidualVSChargeRow;
108 TH1 * _xyDistanceAll;
110 TH1 * _xyResidualAll;
112 TH2 * _zResidualVSChargeAllRows;
113 TH2 * _xyResidualVSChargeAllRows;
115 TNtuple * _allRowsTuple;
116 TNtuple * _singleRowsTuple;
117 TNtuple * _bestRowTuple;
119 TNtuple * _zResidualVSChargeAllRowsTuple;
120 TNtuple * _zResidualVSChargeSingleRowsTuple;
129 const gear::TPCParameters* _gearParameters;
133 int _minBinsRiseTimeCut;
136 #endif // RESOLUTIONPERFORMANCEPROCESSOR_H
The TrackFitterBase is a virtual class from which the actual track fitters are derived.
Definition: TrackFitterBase.h:44
Class to calculate distortions per row along the row.
Definition: ModuleDistortionCalculator.h:28