HerdSoftware  0.1.1
PolarAngleCut.h
Go to the documentation of this file.
1 /*
2  * PolarAngleCut.h
3  *
4  * Created on: 03 June 2019
5  * Author: Lorenzo Pacini
6  */
7 
8 #ifndef HERD_POLARANGLECUT_H_
9 #define HERD_POLARANGLECUT_H_
10 
11 #include "algorithm/Algorithm.h"
12 using namespace EA;
13 
14 namespace Herd {
15 
32 class PolarAngleCut : public Algorithm {
33 public:
38  PolarAngleCut(const std::string &name);
39 
44  bool Initialize();
45 
50  bool Process();
51 
56  bool Finalize();
57 
58 private:
59  observer_ptr<EventDataStore> _evStore;
60 
61  float _maxTheta;
62 };
63 
64 } // namespace Herd
65 
66 #endif /* HERD_POLARANGLECUT_H_ */
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:24
float _maxTheta
Cut threshold.
Definition: PolarAngleCut.h:61
observer_ptr< EventDataStore > _evStore
Pointer to the event data store.
Definition: PolarAngleCut.h:59
An algorithm that rejects events with the polar angle greather than a threshold.
Definition: PolarAngleCut.h:32