ATLAS Offline Software
ALFA_ODHit_p1.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ALFA_ODHit_p1_h
6 #define ALFA_ODHit_p1_h
7 
8 //#include "GeneratorObjectsTPCnv/HepMcParticleLink_p1.h"
9 
10 
12 {
13  public:
14  // needed by athenaRoot
16  {
17  hitID=-1;
18  trackID=-1;
19 
21  kineticEnergy=-9999.0;
22  energyDeposit=-9999.0;
23  preStepX=-9999.0;
24  preStepY=-9999.0;
25  preStepZ=-9999.0;
26  postStepX=-9999.0;
27  postStepY=-9999.0;
28  postStepZ=-9999.0;
29  globalTime=-9999.0;
30 
31  sign_fiber=-1;
32  OD_side=-1;
33  n_plate=-1;
34  n_fiber=-1;
35  n_station=-1;
36  };
37  friend class ALFA_ODHitCnv_p1;
38 
39  private:
40  int hitID; // To identify the hit
41  int trackID;
42 // HepMcParticleLink_p1 m_partLink; // link to the particle generating the hit
43  int particleEncoding; // PDG id
44  float kineticEnergy; // kin energy of the particle
45  float energyDeposit; // energy deposit by the hit
46  float preStepX;
47  float preStepY;
48  float preStepZ;
49  float postStepX;
50  float postStepY;
51  float postStepZ;
52  float globalTime;
53 
55  int OD_side;
56  int n_plate;
57  int n_fiber;
58  int n_station;
59 };
60 
61 
62 #endif
63 
ALFA_ODHit_p1::trackID
int trackID
Definition: ALFA_ODHit_p1.h:41
ALFA_ODHit_p1::n_station
int n_station
Definition: ALFA_ODHit_p1.h:58
ALFA_ODHit_p1::preStepX
float preStepX
Definition: ALFA_ODHit_p1.h:46
ALFA_ODHit_p1::preStepZ
float preStepZ
Definition: ALFA_ODHit_p1.h:48
ALFA_ODHit_p1::postStepY
float postStepY
Definition: ALFA_ODHit_p1.h:50
ALFA_ODHit_p1::kineticEnergy
float kineticEnergy
Definition: ALFA_ODHit_p1.h:44
ALFA_ODHit_p1::hitID
int hitID
Definition: ALFA_ODHit_p1.h:40
ALFA_ODHit_p1::sign_fiber
int sign_fiber
Definition: ALFA_ODHit_p1.h:54
ALFA_ODHit_p1::globalTime
float globalTime
Definition: ALFA_ODHit_p1.h:52
ALFA_ODHit_p1::postStepX
float postStepX
Definition: ALFA_ODHit_p1.h:49
ALFA_ODHitCnv_p1
Definition: ALFA_ODHitCnv_p1.h:19
ALFA_ODHit_p1::n_fiber
int n_fiber
Definition: ALFA_ODHit_p1.h:57
ALFA_ODHit_p1::n_plate
int n_plate
Definition: ALFA_ODHit_p1.h:56
ALFA_ODHit_p1::particleEncoding
int particleEncoding
Definition: ALFA_ODHit_p1.h:43
ALFA_ODHit_p1::preStepY
float preStepY
Definition: ALFA_ODHit_p1.h:47
ALFA_ODHit_p1::energyDeposit
float energyDeposit
Definition: ALFA_ODHit_p1.h:45
ALFA_ODHit_p1::postStepZ
float postStepZ
Definition: ALFA_ODHit_p1.h:51
ALFA_ODHit_p1
Definition: ALFA_ODHit_p1.h:12
ALFA_ODHit_p1::OD_side
int OD_side
Definition: ALFA_ODHit_p1.h:55
ALFA_ODHit_p1::ALFA_ODHit_p1
ALFA_ODHit_p1()
Definition: ALFA_ODHit_p1.h:15