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 |
( |
| ) |
|
Do nothing.
- Returns
- true if no error occurs during finalization, false otherwise.
◆ Initialize()
bool Herd::PolarAngleCut::Initialize |
( |
| ) |
|
Initializes the algo.
- Returns
- true if initialization is done without errors, false otherwise.
◆ Process()
bool Herd::PolarAngleCut::Process |
( |
| ) |
|
Applies the cut.
- Returns
- true if no error occurs during processing, false otherwise.
◆ _evStore
observer_ptr<EventDataStore> Herd::PolarAngleCut::_evStore |
|
private |
Pointer to the event data store.
◆ _maxTheta
float Herd::PolarAngleCut::_maxTheta |
|
private |
The documentation for this class was generated from the following files: