ATLAS Offline Software
LArG4H6SD/src/LArG4TBECBeamChHit.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // LArG4TBECBeamChHit.hh
6 
7 #ifndef __LArG4TBECBeamChHit_H__
8 #define __LArG4TBECBeamChHit_H__
9 
10 #include "G4VHit.hh"
11 #include "G4THitsCollection.hh"
12 #include "G4Allocator.hh"
13 
14 
15 class LArG4TBECBeamChHit : public G4VHit
16 {
17 public:
18 
19  // Constructors and destructors.
21  LArG4TBECBeamChHit(G4int c = 0, G4double energy = 0., G4double time = 0.);
22  virtual ~LArG4TBECBeamChHit();
23 
24  void Draw();
25  void Print();
26 
27 private:
28  G4int m_Chamber;
29  G4double m_X;
30  G4double m_Y;
31 
32 public:
33  // Note the lack of "Set" methods. Once you've defined the position
34  // of a hit, you can't change it.
35  // 01-Feb-2001 WGS: Add accessor methods for calorID, zSideID, and region.
36  inline G4int getIdentifier() const { return m_Chamber; }
37  inline G4double X() const { return m_X; }
38  inline G4double Y() const { return m_Y; }
39 };
40 
41 
42 typedef G4THitsCollection<LArG4TBECBeamChHit> LArG4TBECBeamChHitsCollection;
43 
44 #endif // _LArG4TBECBeamChHit_H_
LArG4TBECBeamChHit::Draw
void Draw()
Definition: LArG4TBECBeamChHit.cxx:25
LArG4TBECBeamChHit::m_Chamber
G4int m_Chamber
Definition: LArG4H6SD/src/LArG4TBECBeamChHit.h:28
LArG4TBECBeamChHit::m_X
G4double m_X
Definition: LArG4H6SD/src/LArG4TBECBeamChHit.h:29
LArG4TBECBeamChHit::Print
void Print()
Definition: LArG4TBECBeamChHit.cxx:27
ParticleGun_FastCalo_ChargeFlip_Config.energy
energy
Definition: ParticleGun_FastCalo_ChargeFlip_Config.py:78
LArG4TBECBeamChHit::Y
G4double Y() const
Definition: LArG4H6SD/src/LArG4TBECBeamChHit.h:38
LArG4TBECBeamChHit::LArG4TBECBeamChHit
LArG4TBECBeamChHit(G4int c=0, G4double energy=0., G4double time=0.)
LArG4TBECBeamChHit::LArG4TBECBeamChHit
LArG4TBECBeamChHit()
Definition: LArG4TBECBeamChHit.cxx:11
LArG4TBECBeamChHit::X
G4double X() const
Definition: LArG4H6SD/src/LArG4TBECBeamChHit.h:37
LArG4TBECBeamChHit::m_Y
G4double m_Y
Definition: LArG4H6SD/src/LArG4TBECBeamChHit.h:30
CaloSwCorrections.time
def time(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:242
LArG4TBECBeamChHit::getIdentifier
G4int getIdentifier() const
Definition: LArG4H6SD/src/LArG4TBECBeamChHit.h:36
LArG4TBECBeamChHit
Definition: LArG4H6SD/src/LArG4TBECBeamChHit.h:16
python.compressB64.c
def c
Definition: compressB64.py:93
LArG4TBECBeamChHitsCollection
G4THitsCollection< LArG4TBECBeamChHit > LArG4TBECBeamChHitsCollection
Definition: LArG4H6SD/src/LArG4TBECBeamChHit.h:42
LArG4TBECBeamChHit::~LArG4TBECBeamChHit
virtual ~LArG4TBECBeamChHit()
Definition: LArG4TBECBeamChHit.cxx:23