BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
ScintSingle Class Reference

#include <ScintSingle.hh>

Public Member Functions

 ScintSingle ()
 
 ScintSingle (const ScintSingle &right)
 
const ScintSingleoperator= (const ScintSingle &right)
 
 ~ScintSingle ()
 
G4int GetPartId ()
 
G4int GetScinNb ()
 
G4double GetEdep ()
 
vector< G4int > * GetHitIndexes ()
 
vector< G4int > * GetHitIndexes_mrpc ()
 
G4int GetModule_mrpc ()
 
void SetPartId (G4int id)
 
void SetScinNb (G4int nb)
 
void SetEdep (G4double e)
 
void AddEdep (G4double e)
 
 ScintSingle ()
 
 ScintSingle (const ScintSingle &right)
 
const ScintSingleoperator= (const ScintSingle &right)
 
 ~ScintSingle ()
 
G4int GetPartId ()
 
G4int GetScinNb ()
 
G4double GetEdep ()
 
vector< G4int > * GetHitIndexes ()
 
vector< G4int > * GetHitIndexes_mrpc ()
 
G4int GetModule_mrpc ()
 
void SetPartId (G4int id)
 
void SetScinNb (G4int nb)
 
void SetEdep (G4double e)
 
void AddEdep (G4double e)
 

Detailed Description

Constructor & Destructor Documentation

◆ ScintSingle() [1/4]

ScintSingle::ScintSingle ( )
inline

Definition at line 22 of file InstallArea/include/TofSim/TofSim/ScintSingle.hh.

23 {
24 hitIndexes = new vector<G4int>;
25 }

◆ ScintSingle() [2/4]

ScintSingle::ScintSingle ( const ScintSingle right)
inline

Definition at line 26 of file InstallArea/include/TofSim/TofSim/ScintSingle.hh.

27 {
28 partId = right.partId;
29 scinNb = right.scinNb;
30 hitIndexes =right.hitIndexes;
31 }

◆ ~ScintSingle() [1/2]

ScintSingle::~ScintSingle ( )
inline

Definition at line 39 of file InstallArea/include/TofSim/TofSim/ScintSingle.hh.

40 {
41 delete hitIndexes;
42 }

◆ ScintSingle() [3/4]

ScintSingle::ScintSingle ( )
inline

Definition at line 22 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/ScintSingle.hh.

23 {
24 hitIndexes = new vector<G4int>;
25 }

◆ ScintSingle() [4/4]

ScintSingle::ScintSingle ( const ScintSingle right)
inline

Definition at line 26 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/ScintSingle.hh.

27 {
28 partId = right.partId;
29 scinNb = right.scinNb;
30 hitIndexes =right.hitIndexes;
31 }

◆ ~ScintSingle() [2/2]

ScintSingle::~ScintSingle ( )
inline

Definition at line 39 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/ScintSingle.hh.

40 {
41 delete hitIndexes;
42 }

Member Function Documentation

◆ AddEdep() [1/2]

void ScintSingle::AddEdep ( G4double  e)
inline

Definition at line 54 of file InstallArea/include/TofSim/TofSim/ScintSingle.hh.

54{edep += e;}

Referenced by BesTofDigitizer::GroupHits().

◆ AddEdep() [2/2]

void ScintSingle::AddEdep ( G4double  e)
inline

Definition at line 54 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/ScintSingle.hh.

54{edep += e;}

◆ GetEdep() [1/2]

G4double ScintSingle::GetEdep ( )
inline

◆ GetEdep() [2/2]

G4double ScintSingle::GetEdep ( )
inline

Definition at line 46 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/ScintSingle.hh.

46{return edep;}

◆ GetHitIndexes() [1/2]

◆ GetHitIndexes() [2/2]

vector< G4int > * ScintSingle::GetHitIndexes ( )
inline

Definition at line 47 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/ScintSingle.hh.

47{return hitIndexes;}

◆ GetHitIndexes_mrpc() [1/2]

vector< G4int > * ScintSingle::GetHitIndexes_mrpc ( )
inline

Definition at line 48 of file InstallArea/include/TofSim/TofSim/ScintSingle.hh.

48{return hitIndexes;}

Referenced by BesTofDigitizerEcV4::Digitize().

◆ GetHitIndexes_mrpc() [2/2]

vector< G4int > * ScintSingle::GetHitIndexes_mrpc ( )
inline

Definition at line 48 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/ScintSingle.hh.

48{return hitIndexes;}

◆ GetModule_mrpc() [1/2]

G4int ScintSingle::GetModule_mrpc ( )
inline

Definition at line 49 of file InstallArea/include/TofSim/TofSim/ScintSingle.hh.

49{return scinNb;}

Referenced by BesTofDigitizerEcV4::Digitize().

◆ GetModule_mrpc() [2/2]

G4int ScintSingle::GetModule_mrpc ( )
inline

Definition at line 49 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/ScintSingle.hh.

49{return scinNb;}

◆ GetPartId() [1/2]

◆ GetPartId() [2/2]

G4int ScintSingle::GetPartId ( )
inline

Definition at line 44 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/ScintSingle.hh.

44{return partId;}

◆ GetScinNb() [1/2]

◆ GetScinNb() [2/2]

G4int ScintSingle::GetScinNb ( )
inline

Definition at line 45 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/ScintSingle.hh.

45{return scinNb;}

◆ operator=() [1/2]

const ScintSingle & ScintSingle::operator= ( const ScintSingle right)
inline

Definition at line 32 of file InstallArea/include/TofSim/TofSim/ScintSingle.hh.

33 {
34 partId = right.partId;
35 scinNb = right.scinNb;
36 hitIndexes =right.hitIndexes;
37 return *this;
38 }

◆ operator=() [2/2]

const ScintSingle & ScintSingle::operator= ( const ScintSingle right)
inline

Definition at line 32 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/ScintSingle.hh.

33 {
34 partId = right.partId;
35 scinNb = right.scinNb;
36 hitIndexes =right.hitIndexes;
37 return *this;
38 }

◆ SetEdep() [1/2]

void ScintSingle::SetEdep ( G4double  e)
inline

Definition at line 53 of file InstallArea/include/TofSim/TofSim/ScintSingle.hh.

53{edep = e;}

Referenced by BesTofDigitizer::GroupHits().

◆ SetEdep() [2/2]

void ScintSingle::SetEdep ( G4double  e)
inline

Definition at line 53 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/ScintSingle.hh.

53{edep = e;}

◆ SetPartId() [1/2]

void ScintSingle::SetPartId ( G4int  id)
inline

Definition at line 51 of file InstallArea/include/TofSim/TofSim/ScintSingle.hh.

51{partId = id;}

Referenced by BesTofDigitizer::GroupHits().

◆ SetPartId() [2/2]

void ScintSingle::SetPartId ( G4int  id)
inline

Definition at line 51 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/ScintSingle.hh.

51{partId = id;}

◆ SetScinNb() [1/2]

void ScintSingle::SetScinNb ( G4int  nb)
inline

Definition at line 52 of file InstallArea/include/TofSim/TofSim/ScintSingle.hh.

52{scinNb = nb;}

Referenced by BesTofDigitizer::GroupHits().

◆ SetScinNb() [2/2]

void ScintSingle::SetScinNb ( G4int  nb)
inline

Definition at line 52 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/ScintSingle.hh.

52{scinNb = nb;}

The documentation for this class was generated from the following files: