HerdSoftware  0.4.0
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
15 
16 // EventAnalysis headers
17 #include "algorithm/Algorithm.h"
18 
19 // C++ header
20 #include <random>
21 
22 namespace Herd {
23 
24 // clang-format off
62 // clang-format on
63 class CaloPDZeroSuppressionAlgo : public EA::Algorithm {
64 public:
69  CaloPDZeroSuppressionAlgo(const std::string &name);
70 
75  bool Initialize() override;
76 
81  bool Process() override;
82 
83 private:
84  // produced objects
85  std::unique_ptr<CaloHits> m_caloLPDHitsZeroSup;
86  std::unique_ptr<CaloHits> m_caloSPDHitsZeroSup;
87  std::shared_ptr<CaloPDEventChannelInfo> m_caloLPDEventChannelInfoZeroSup;
88  std::shared_ptr<CaloPDEventChannelInfo> m_caloSPDEventChannelInfoZeroSup;
89 
91 
92  EA::StorePtr m_evStore, m_globStore;
93 };
94 
95 } // namespace Herd
96 
97 #endif /* HERD_CALOPDZEROSUPPRESSIONALGO_H_ */
Herd::CaloPDZeroSuppressionAlgo::m_globStore
EA::StorePtr m_globStore
Definition: CaloPDZeroSuppressionAlgo.h:92
Herd::CaloPDZeroSuppressionAlgo::CaloPDZeroSuppressionAlgo
CaloPDZeroSuppressionAlgo(const std::string &name)
Constructor.
Definition: CaloPDZeroSuppressionAlgo.cpp:18
Herd::CaloPDZeroSuppressionAlgo::m_nSigmaNoise
float m_nSigmaNoise
Definition: CaloPDZeroSuppressionAlgo.h:90
Herd::CaloPDZeroSuppressionAlgo::m_evStore
EA::StorePtr m_evStore
Definition: CaloPDZeroSuppressionAlgo.h:92
Herd
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:22
CaloPDEventChannelInfo.h
Herd::CaloPDZeroSuppressionAlgo::Process
bool Process() override
Process a single event.
Definition: CaloPDZeroSuppressionAlgo.cpp:53
Herd::CaloPDZeroSuppressionAlgo::m_caloSPDEventChannelInfoZeroSup
std::shared_ptr< CaloPDEventChannelInfo > m_caloSPDEventChannelInfoZeroSup
Definition: CaloPDZeroSuppressionAlgo.h:88
Herd::CaloPDZeroSuppressionAlgo::m_caloLPDEventChannelInfoZeroSup
std::shared_ptr< CaloPDEventChannelInfo > m_caloLPDEventChannelInfoZeroSup
Definition: CaloPDZeroSuppressionAlgo.h:87
Herd::CaloPDZeroSuppressionAlgo::m_caloLPDHitsZeroSup
std::unique_ptr< CaloHits > m_caloLPDHitsZeroSup
Definition: CaloPDZeroSuppressionAlgo.h:85
Herd::CaloPDZeroSuppressionAlgo
Algorithm which remove Calo PD hit with small energy deposit.
Definition: CaloPDZeroSuppressionAlgo.h:63
CaloHits.h
CaloPDChannelInfo.h
Herd::CaloPDZeroSuppressionAlgo::Initialize
bool Initialize() override
Initialization of the algorithm.
Definition: CaloPDZeroSuppressionAlgo.cpp:22
Herd::CaloPDZeroSuppressionAlgo::m_caloSPDHitsZeroSup
std::unique_ptr< CaloHits > m_caloSPDHitsZeroSup
Definition: CaloPDZeroSuppressionAlgo.h:86