ATLAS Offline Software
Loading...
Searching...
No Matches
SimpleScintillatorHit.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
6// SimpleScintillatorHit.h
7// Header file for class ScintillatorHit
8//
9// Author Andrea Di Simone. Based on ScintillatorHit by Thomas Kittelmann <kittel@nbi.dk>
11
12#ifndef SIMPLESCINTILLATORHIT_H
13#define SIMPLESCINTILLATORHIT_H
14
16#include "CLHEP/Vector/ThreeVector.h"
17
19
20public:
21
22 SimpleScintillatorHit( const int particleEncoding,
23 const float kineticEnergy,
24 const float energyDeposit,
25 const CLHEP::Hep3Vector& position,
26 const float globalTime,
27 const int copyNo,
28 const int track);
29
30 // Needed by athenaRoot apparently
32 // Destructor:
33 virtual ~SimpleScintillatorHit(); //temporary make it virtual for Pool!
34
36 float GetKineticEnergy() const;
37 float GetEnergyDeposit() const;
38 CLHEP::Hep3Vector GetPosition() const;
39 float GetGlobalTime() const;
40 int GetCopyNo() const;
41 int truthBarcode() const;
42 int truthID() const;
43 // link to the particle generating the hit
45
46private:
47
48 // Forbidden. (TK: why should the copy cons. be forbidden?
49 // SimpleScintillatorHit(const SimpleScintillatorHit&);
50 // SimpleScintillatorHit &operator=(const SimpleScintillatorHit&);
51
55 CLHEP::Hep3Vector m_position;
59
60};
61
62// Inline definitions:
64
65#endif // SCINTILLATORHIT_H
SimpleScintillatorHit(const int particleEncoding, const float kineticEnergy, const float energyDeposit, const CLHEP::Hep3Vector &position, const float globalTime, const int copyNo, const int track)
float GetEnergyDeposit() const
int GetParticleEncoding() const
float GetKineticEnergy() const
CLHEP::Hep3Vector GetPosition() const
const HepMcParticleLink & particleLink() const
float GetGlobalTime() const