An algorithm that rejects events with the polar angle greather than a threshold.
More...
#include <algorithms/geometry/PolarAngleCut.h>
An algorithm that rejects events with the polar angle greather than a threshold.
Needed event objects:
| name | type | store | optional | description |
| mcTruth | MCTruth | evStore | no | Info about MC truth |
Parameters:
| name | type | optional | default value | description |
| maxTheta | float | no | 0 | Set the maximum polar angle [degree]. |
◆ PolarAngleCut()
| Herd::PolarAngleCut::PolarAngleCut |
( |
const std::string & |
name | ) |
|
Constructor.
- Parameters
-
| name | The name of the algorithm object. |
◆ Finalize()
| bool Herd::PolarAngleCut::Finalize |
( |
| ) |
|
|
override |
Do nothing.
- Returns
- true if no error occurs during finalization, false otherwise.
◆ Initialize()
| bool Herd::PolarAngleCut::Initialize |
( |
| ) |
|
|
override |
Initializes the algo.
- Returns
- true if initialization is done without errors, false otherwise.
◆ Process()
| bool Herd::PolarAngleCut::Process |
( |
| ) |
|
|
override |
Applies the cut.
- Returns
- true if no error occurs during processing, false otherwise.
◆ m_evStore
| EA::observer_ptr<EA::EventDataStore> Herd::PolarAngleCut::m_evStore |
|
private |
Pointer to the event data store.
◆ m_maxTheta
| float Herd::PolarAngleCut::m_maxTheta |
|
private |
The documentation for this class was generated from the following files:
- /builds/herd/HerdSoftware/include/herd/analysis/algorithms/geometry/PolarAngleCut.h
- /builds/herd/HerdSoftware/src/analysis/algorithms/geometry/PolarAngleCut.cpp