HerdSoftware  0.1.1
CaloPDZeroSuppressionAlgo.h
Go to the documentation of this file.
1 /*
2  * CaloPDZeroSuppressionAlgo.h
3  *
4  * Created on: 13 Oct.. 2020
5  * Author: Lorenzo Pacini
6  */
7 
8 #ifndef HERD_CALOPDZEROSUPPRESSIONALGO_H_
9 #define HERD_CALOPDZEROSUPPRESSIONALGO_H_
10 
11 // HerdSoftware headers
12 #include "dataobjects/CaloHits.h"
15 
16 // EventAnalysis headers
17 #include "algorithm/Algorithm.h"
18 
19 // C++ header
20 #include <random>
21 
22 using namespace EA;
23 
24 namespace Herd {
25 
26 // clang-format off
64 // clang-format on
65 class CaloPDZeroSuppressionAlgo : public Algorithm {
66 public:
71  CaloPDZeroSuppressionAlgo(const std::string &name);
72 
77  bool Initialize() override;
78 
83  bool Process() override;
84 
85 private:
86  // produced objects
87  std::unique_ptr<CaloHits> _caloLPDHitsZeroSup;
88  std::unique_ptr<CaloHits> _caloSPDHitsZeroSup;
89  std::shared_ptr<CaloPDEventChannelInfo> _caloLPDEventChannelInfoZeroSup;
90  std::shared_ptr<CaloPDEventChannelInfo> _caloSPDEventChannelInfoZeroSup;
91 
92  float _nSigmaNoise;
93 
94  StorePtr _evStore, _globStore;
95 };
96 
97 } // namespace Herd
98 
99 #endif /* HERD_CALOPDZEROSUPPRESSIONALGO_H_ */
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:24
Algorithm which remove Calo PD hit with small energy deposit.
Definition: CaloPDZeroSuppressionAlgo.h:65
StorePtr _globStore
Definition: CaloPDZeroSuppressionAlgo.h:94
std::unique_ptr< CaloHits > _caloSPDHitsZeroSup
Definition: CaloPDZeroSuppressionAlgo.h:88
std::shared_ptr< CaloPDEventChannelInfo > _caloLPDEventChannelInfoZeroSup
Definition: CaloPDZeroSuppressionAlgo.h:89
std::unique_ptr< CaloHits > _caloLPDHitsZeroSup
Definition: CaloPDZeroSuppressionAlgo.h:87
std::shared_ptr< CaloPDEventChannelInfo > _caloSPDEventChannelInfoZeroSup
Definition: CaloPDZeroSuppressionAlgo.h:90
float _nSigmaNoise
Definition: CaloPDZeroSuppressionAlgo.h:92