BOSS 7.0.9
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)
 

Detailed Description

Definition at line 18 of file ScintSingle.hh.

Constructor & Destructor Documentation

◆ ScintSingle() [1/2]

ScintSingle::ScintSingle ( )
inline

Definition at line 22 of file ScintSingle.hh.

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

◆ ScintSingle() [2/2]

ScintSingle::ScintSingle ( const ScintSingle right)
inline

Definition at line 26 of file ScintSingle.hh.

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

◆ ~ScintSingle()

ScintSingle::~ScintSingle ( )
inline

Definition at line 39 of file ScintSingle.hh.

40 {
41 delete hitIndexes;
42 }

Member Function Documentation

◆ AddEdep()

void ScintSingle::AddEdep ( G4double  e)
inline

Definition at line 54 of file ScintSingle.hh.

54{edep += e;}

Referenced by BesTofDigitizer::GroupHits().

◆ GetEdep()

G4double ScintSingle::GetEdep ( )
inline

◆ GetHitIndexes()

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

◆ GetHitIndexes_mrpc()

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

Definition at line 48 of file ScintSingle.hh.

48{return hitIndexes;}

Referenced by BesTofDigitizerEcV4::Digitize().

◆ GetModule_mrpc()

G4int ScintSingle::GetModule_mrpc ( )
inline

Definition at line 49 of file ScintSingle.hh.

49{return scinNb;}

Referenced by BesTofDigitizerEcV4::Digitize().

◆ GetPartId()

◆ GetScinNb()

◆ operator=()

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

Definition at line 32 of file ScintSingle.hh.

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

◆ SetEdep()

void ScintSingle::SetEdep ( G4double  e)
inline

Definition at line 53 of file ScintSingle.hh.

53{edep = e;}

Referenced by BesTofDigitizer::GroupHits().

◆ SetPartId()

void ScintSingle::SetPartId ( G4int  id)
inline

Definition at line 51 of file ScintSingle.hh.

51{partId = id;}

Referenced by BesTofDigitizer::GroupHits().

◆ SetScinNb()

void ScintSingle::SetScinNb ( G4int  nb)
inline

Definition at line 52 of file ScintSingle.hh.

52{scinNb = nb;}

Referenced by BesTofDigitizer::GroupHits().


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