SEvent/ScintillatorSimData.h
Go to the documentation of this file.
1 #ifndef _sevt_ScintillatorSimData_h_
2 #define _sevt_ScintillatorSimData_h_
3 
4 #include <utl/ShadowPtr.h>
5 #include <utl/Particle.h>
6 
7 
8 namespace sevt {
9 
19 
20  private:
22 
23  public:
24  unsigned int GetNumberOfMuons() const { return fNumberOfMuons; }
25 
26  void SetNumberOfMuons(const unsigned int n) { fNumberOfMuons = n; }
27 
28  unsigned int GetNumberOfElectrons() const { return fNumberOfElectrons; }
29 
30  void SetNumberOfElectrons(const unsigned int n) { fNumberOfElectrons = n; }
31 
32  unsigned int GetNumberOfPhotons() const { return fNumberOfPhotons; }
33 
34  void SetNumberOfPhotons(const unsigned int n) { fNumberOfPhotons = n; }
35 
36  unsigned int GetTotalParticleCount() const { return fTotalParticleCount; }
37 
38  void SetTotalParticleCount(const unsigned int n) { fTotalParticleCount = n; }
39 
40  private:
41  ScintillatorSimData() = default;
42  ~ScintillatorSimData() = default;
43 
44  unsigned int fNumberOfMuons = 0;
45  unsigned int fNumberOfElectrons = 0;
46  unsigned int fNumberOfPhotons = 0;
47  unsigned int fTotalParticleCount = 0;
48 
49  friend class Station;
50  friend class Scintillator;
52 
53  };
54 
55 }
56 
57 
58 #endif
pointer with built-in initialization, deletion, deep copying
Definition: ShadowPtr.h:163
void SetNumberOfMuons(const unsigned int n)
Describes a particle for Simulation.
Definition: Particle.h:26
void CountParticle(const utl::Particle &particle)
void SetTotalParticleCount(const unsigned int n)
unsigned int GetNumberOfMuons() const
class to hold data at Station level
unsigned int GetNumberOfElectrons() const
unsigned int GetTotalParticleCount() const
void SetNumberOfElectrons(const unsigned int n)
void SetNumberOfPhotons(const unsigned int n)
class to hold data for station Scintillator
Station Scintillator Level Simulated Data
struct particle_info particle[80]
unsigned int GetNumberOfPhotons() const

, generated on Tue Sep 26 2023.