1 ////////////////////////////////////////////////////////////////////////////////
3 // Author: Artur Szostak
4 // Email: artur@alice.phy.uct.ac.za | artursz@iafrica.com
6 ////////////////////////////////////////////////////////////////////////////////
8 #ifndef ALIHLTMUONCORETRIGGERRECORD_H
9 #define ALIHLTMUONCORETRIGGERRECORD_H
11 #include "BasicTypes.hpp"
15 /* The sign of the particle as given by L0.
17 enum AliHLTMUONCoreParticleSign
25 typedef UInt AliHLTMUONCoreTriggerRecordID;
28 /* Data structure containing information about L0 validated trigger hit.
30 struct AliHLTMUONCoreTriggerRecord
32 AliHLTMUONCoreParticleSign fSign; // The sign of the particle.
33 Float fPt; // Transverse momentum of the particle.
34 AliHLTMUONCorePoint fStation1impact; // Impact point of particle on trigger station 1.
35 AliHLTMUONCorePoint fStation2impact; // Impact point of particle on trigger station 2.
38 /* Default constructor.
39 Sets the fSign to UnknownSign, fPt to -1 and the impact points are set to zero.
41 AliHLTMUONCoreTriggerRecord()
42 : fStation1impact(), fStation2impact()
48 /* Creates a trigger record with the specifed particle sign, pt and impact points.
49 The impactpoint1 corresponds to trigger station 1 and simmilarly impactpoint2
50 corresponds to station 2.
52 AliHLTMUONCoreTriggerRecord(
53 const AliHLTMUONCoreParticleSign sign, const Float pt,
54 const AliHLTMUONCorePoint impactpoint1, const AliHLTMUONCorePoint impactpoint2
59 fStation1impact = impactpoint1;
60 fStation2impact = impactpoint2;
65 #endif // ALIHLTMUONCORETRIGGERRECORD_H