An algorithm which computes information about the track inside the Calo.
More...
#include <algorithms/geometry/CaloTrackInfoAlgo.h>
An algorithm which computes information about the track inside the Calo.
Needed event objects:
name | type | store | optional | description |
mcTruth | MCTruth | evStore | no | Info about MC truth |
Produced event objects:
name | type | store | description |
trackInfoForCaloMC | TrackInfoForCalo | evStore | Container of information about the track for the Calo. |
◆ CaloTrackInfoAlgo()
Herd::CaloTrackInfoAlgo::CaloTrackInfoAlgo |
( |
const std::string & |
name | ) |
|
|
explicit |
Constructor.
- Parameters
-
name | The name of the algorithm object. |
◆ _CalculateExactTrackLength()
bool Herd::CaloTrackInfoAlgo::_CalculateExactTrackLength |
( |
const Point |
startingPoint, |
|
|
Vec3D |
direction, |
|
|
float & |
length, |
|
|
float & |
lengthAfterInteraction |
|
) |
| |
|
private |
Computes the exact track length in LYSO and the remaining length after the first inelastic interaction if present.
- Parameters
-
startingPoint | The starting point. |
direction | The direction. |
length | The total length in LYSO (return value). |
lengthAfterInteraction | The total length in LYSO after first inelastic interaction (return value). |
- Returns
- true Always (to be reworked).
◆ _ComputeTrackInfoForCalo()
bool Herd::CaloTrackInfoAlgo::_ComputeTrackInfoForCalo |
( |
const Line & |
track | ) |
|
|
private |
Computes the information about he track in Calo.
- Parameters
-
- Returns
- true if the track intercept the Calo and errors do not occur, false otherwise.
◆ _PntDistance()
float Herd::CaloTrackInfoAlgo::_PntDistance |
( |
Point |
p1, |
|
|
Point |
p2 |
|
) |
| |
|
private |
Computes the distance between two points (To be removed from here).
- Parameters
-
p1 | the first point. |
p2 | the second point. |
- Returns
- the distance.
◆ Finalize()
bool Herd::CaloTrackInfoAlgo::Finalize |
( |
| ) |
|
|
override |
Do nothing.
- Returns
- true if no error occurs during finalization, false otherwise.
◆ Initialize()
bool Herd::CaloTrackInfoAlgo::Initialize |
( |
| ) |
|
|
override |
Initializes the planes used to compute the track calo information.
- Returns
- true if initialization is done without errors, false otherwise.
◆ Process()
bool Herd::CaloTrackInfoAlgo::Process |
( |
| ) |
|
|
override |
Computes the track information, so far it use the MC truth.
- Returns
- true if no error occurs during processing, false otherwise.
◆ m_caloGeoParams
EA::observer_ptr<CaloGeoParams> Herd::CaloTrackInfoAlgo::m_caloGeoParams |
|
private |
◆ m_evStore
EA::observer_ptr<EA::EventDataStore> Herd::CaloTrackInfoAlgo::m_evStore |
|
private |
Pointer to the event data store.
◆ m_globStore
EA::observer_ptr<EA::GlobalDataStore> Herd::CaloTrackInfoAlgo::m_globStore |
|
private |
Pointer to the global data store.
◆ m_mcTruth
EA::observer_ptr<MCTruth> Herd::CaloTrackInfoAlgo::m_mcTruth |
|
private |
◆ m_meanVolumeActiveFraction
float Herd::CaloTrackInfoAlgo::m_meanVolumeActiveFraction |
|
private |
◆ m_trackInfoCalo
The documentation for this class was generated from the following files: