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 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 | Set the minimum shower length [cm] |
trackLengthCaloX0 | float | 0 | Set the minimum shower length [X0] |
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 |
( |
| ) |
|
Puts the histogram on the event store.
- Returns
- true if no error occurs during finalization, false otherwise.
◆ Initialize()
bool Herd::CaloAcceptanceCut::Initialize |
( |
| ) |
|
Initializes the histogram.
- Returns
- true if initialization is done without errors, false otherwise.
◆ Process()
bool Herd::CaloAcceptanceCut::Process |
( |
| ) |
|
Fills the histogram.
- Returns
- true if no error occurs during processing, false otherwise.
◆ _evStore
observer_ptr<EventDataStore> Herd::CaloAcceptanceCut::_evStore |
|
private |
Pointer to the event data store.
◆ _mcAccOpt
Container of options for the cut.
The documentation for this class was generated from the following files: