An algorithm that reject events out of Calo acceptance.
More...
#include <algorithms/geometry/CaloAcceptanceCut.h>
An algorithm that reject events out of Calo acceptance.
Needed global objects:
| name | type | store | optional | description |
| caloGeoParams | CaloGeoParams | globStore | no | Geometry parameters for CALO |
Needed event objects:
| name | type | store | optional | description |
| trackInfoForCaloMC | TrackInfoForCalo | evStore | no | Info about the track in calorimeter |
Parameters:
| name | type | default value | description |
| trackLengthCaloCm | float | 0 | The minimum shower length in calo (cm) |
| trackLengthCaloX0 | float | 0 | The minimum shower length in calo (X0) |
| trackLengthLYSOX0 | float | 0 | The minimum shower length in LYSO (X0) |
| exactTrackLengthCaloX0 | float | 0 | The minimum exact shower length in calo (X0) |
| exactTrackLengthLYSOX0 | float | 0 | The minimum exact shower length in LYSO (X0) |
| trackMaxDistanceFromEnvelope | float | 0 | The minimum threshold distance from envelope (cm) |
| selectTOPcalo | bool | true | Activate the TOP surface |
| selectBOTTOMcalo | bool | false | Activate the BOTTOM surface |
| selectXNEGcalo | bool | true | Activate the XNEG surface |
| selectXPOScalo | bool | true | Activate the XPOS surface |
| selectYNEGcalo | bool | true | Activate the YNEG surface |
| selectYPOScalo | bool | true | Activate the YPOS surface |
| selectXNEGYNEGcalo | bool | true | Activate the XNEGYNEG surface |
| selectXNEGYPOScalo | bool | true | Activate the XNEGYPOS surface |
| selectXPOSYNEGcalo | bool | true | Activate the XPOSYNEG surface |
| selectXPOSYPOScalo | bool | true | Activate the XPOSYPOS surface |
◆ CaloAcceptanceCut()
| Herd::CaloAcceptanceCut::CaloAcceptanceCut |
( |
const std::string & |
name | ) |
|
Constructor.
- Parameters
-
| name | The name of the algorithm object. |
◆ _GetAcceptanceType()
| bool Herd::CaloAcceptanceCut::_GetAcceptanceType |
( |
const TrackInfoForCalo & |
trackInfo | ) |
|
|
private |
Returns true if the particle is inside the Calo acceptance.
- Parameters
-
| trackInfo | object which contains the information about the track inside the Calo. |
- Returns
- true, if event is inside the acceptance, false otherwise.
◆ Finalize()
| bool Herd::CaloAcceptanceCut::Finalize |
( |
| ) |
|
|
override |
Puts the histogram on the event store.
- Returns
- true if no error occurs during finalization, false otherwise.
◆ Initialize()
| bool Herd::CaloAcceptanceCut::Initialize |
( |
| ) |
|
|
override |
Initializes the histogram.
- Returns
- true if initialization is done without errors, false otherwise.
◆ Process()
| bool Herd::CaloAcceptanceCut::Process |
( |
| ) |
|
|
override |
Fills the histogram.
- Returns
- true if no error occurs during processing, false otherwise.
◆ m_caloGeoParams
| EA::observer_ptr<CaloGeoParams> Herd::CaloAcceptanceCut::m_caloGeoParams |
|
private |
◆ m_evStore
| EA::observer_ptr<EA::EventDataStore> Herd::CaloAcceptanceCut::m_evStore |
|
private |
Pointer to the event data store.
◆ m_mcAccOpt
Container of options for the cut.
The documentation for this class was generated from the following files: