HerdSoftware  0.2.3
FitFarHitsRemoverAlgo.h
Go to the documentation of this file.
1 /*
2  * FitFarHitsRemoverAlgo.h
3  *
4  * Created on: 23 Aug 2021
5  * Author: Nicola Mori
6  */
7 
8 #ifndef HERD_FITFARHITSREMOVERALGO_H_
9 #define HERD_FITFARHITSREMOVERALGO_H_
10 
11 // HerdSoftware headers
13 
14 // EventAnalysis headers
15 #include "algorithm/Algorithm.h"
16 using namespace EA;
17 
18 // C/C++ headers
19 
20 namespace Herd {
21 
22 // clang-format off
75 // clang-format on
76 class FitFarHitsRemoverAlgo : public Algorithm {
77 public:
82  FitFarHitsRemoverAlgo(const std::string &name);
83 
88  bool Initialize();
89 
94  bool Process();
95 
96 private:
97  // Parameters
98  float _maxDistance;
99  std::string _trackType, _entranceSideReco, _fitHitsCollName, _fitGeoParCollName, _nearHitsAlias;
100 
101  StorePtr _evStore, _globStore;
104  enum class EntranceRecoMethod { NONE, MC, CALO };
106 };
107 
108 } // namespace Herd
109 
110 #endif // HERD_FITFARHITSREMOVERALGO_H_
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:24
Algorithm that removes the FIT hits lying far away from a given track.
Definition: FitFarHitsRemoverAlgo.h:76
StorePtr _globStore
Definition: FitFarHitsRemoverAlgo.h:101
float _maxDistance
Definition: FitFarHitsRemoverAlgo.h:98
EntranceRecoMethod
Definition: FitFarHitsRemoverAlgo.h:104
EntranceRecoMethod _entranceRecoMethod
Definition: FitFarHitsRemoverAlgo.h:105
bool _useMCTrack
Definition: FitFarHitsRemoverAlgo.h:103
std::string _trackType
Definition: FitFarHitsRemoverAlgo.h:99
Herd::FitHitsColl _nearHits
Definition: FitFarHitsRemoverAlgo.h:102