HerdSoftware  0.1.1
TrackInfoForCalo.h
Go to the documentation of this file.
1 /*
2  * TrackInfoForCalo.h
3  *
4  * Created on: 03 June 2019
5  * Author: Lorenzo Pacini
6  */
7 
10 #ifndef HERD_TRACKINFOFORCALO_H_
11 #define HERD_TRACKINFOFORCALO_H_
12 
13 // HerdSoftware headersCalo
14 #include "common/DefaultValues.h"
15 #include "common/Vec3D.h"
16 #include "dataobjects/Point.h"
17 
18 #ifdef HS_USE_ROOT
19 #include "Rtypes.h"
20 #endif
21 
22 namespace Herd {
23 
29 public:
41 
51  : DEFAULT_INIT(entrance), DEFAULT_INIT(exit), DEFAULT_INIT(trackLengthCaloCm), DEFAULT_INIT(trackLengthCaloX0),
52  DEFAULT_INIT(trackLengthLYSOCm), DEFAULT_INIT(trackLengthLYSOX0), DEFAULT_INIT(trackLengthExactLYSOCm),
53  DEFAULT_INIT(trackLengthLYSOAfterInteractionCm), DEFAULT_INIT(entrancePlane), DEFAULT_INIT(exitPlane){};
54 
56  virtual ~TrackInfoForCalo() = default;
57 
62  void Reset();
63 
64 #ifdef HS_USE_ROOT
65  ClassDef(TrackInfoForCalo, 1)
66 #endif
67 };
68 
69 } // namespace Herd
70 
71 #endif /* HERD_TRACKINFOFORCALO_H_ */
float trackLengthExactLYSOCm
Exact track length in LYSO crystals, measured in cm.
Definition: TrackInfoForCalo.h:36
Container of information about the track inside the Calo.
Definition: TrackInfoForCalo.h:28
TrackInfoForCalo()
Default constructor.
Definition: TrackInfoForCalo.h:50
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:24
virtual ~TrackInfoForCalo()=default
Virtual destructor.
float trackLengthLYSOCm
Track length in LYSO crystals, measured in cm.
Definition: TrackInfoForCalo.h:34
#define DEFAULT_INIT(x)
Definition: DefaultValues.h:23
RefFrame::Direction entrancePlane
ID of the entrance plane in Calo.
Definition: TrackInfoForCalo.h:39
Point entrance
Entrance point of the track in Calo.
Definition: TrackInfoForCalo.h:30
Point exit
Exit point of the track in Calo.
Definition: TrackInfoForCalo.h:31
A class describing a vector in 3D space.
Definition: Vec3D.h:33
RefFrame::Direction exitPlane
ID of the exit plane in Calo.
Definition: TrackInfoForCalo.h:40
void Reset()
Set the members to default values.
Definition: TrackInfoForCalo.cpp:12
float trackLengthLYSOX0
Track length in LYSO, measured in X0.
Definition: TrackInfoForCalo.h:35
float trackLengthCaloX0
Track length in Calo, measured in X0, including both passive and active materials.
Definition: TrackInfoForCalo.h:33
float trackLengthCaloCm
Track length in Calo, measured in cm, including both passive and active materials.
Definition: TrackInfoForCalo.h:32
float trackLengthLYSOAfterInteractionCm
Definition: TrackInfoForCalo.h:37
Direction
Aliases for the six axis directions. RefFrame.h common/RefFrame.h.
Definition: RefFrame.h:52