ScintSingle Class Reference

#include <ScintSingle.hh>

List of all members.

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)

Private Attributes

G4int partId
G4int scinNb
G4double edep
vector< G4int > * hitIndexes


Detailed Description

Definition at line 18 of file ScintSingle.hh.


Constructor & Destructor Documentation

ScintSingle::ScintSingle (  )  [inline]

Definition at line 22 of file ScintSingle.hh.

References hitIndexes.

00023     {
00024       hitIndexes = new vector<G4int>;
00025     }

ScintSingle::ScintSingle ( const ScintSingle right  )  [inline]

Definition at line 26 of file ScintSingle.hh.

References hitIndexes, partId, and scinNb.

00027     {
00028       partId = right.partId;
00029       scinNb = right.scinNb;
00030       hitIndexes =right.hitIndexes;
00031     }

ScintSingle::~ScintSingle (  )  [inline]

Definition at line 39 of file ScintSingle.hh.

References hitIndexes.

00040     {
00041       delete hitIndexes;
00042     } 


Member Function Documentation

void ScintSingle::AddEdep ( G4double  e  )  [inline]

Definition at line 54 of file ScintSingle.hh.

References edep.

Referenced by BesTofDigitizer::GroupHits().

00054 {edep += e;}

G4double ScintSingle::GetEdep (  )  [inline]

Definition at line 46 of file ScintSingle.hh.

References edep.

Referenced by BesTofDigitizerEcV3::Digitize(), BesTofDigitizerEcV2::Digitize(), and BesTofDigitizerBrV2::Digitize().

00046 {return edep;}

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

Definition at line 47 of file ScintSingle.hh.

References hitIndexes.

Referenced by BesTofDigitizerEcV3::Digitize(), BesTofDigitizerEcV2::Digitize(), BesTofDigitizerEcV1::Digitize(), BesTofDigitizerBrV2::Digitize(), BesTofDigitizerBrV1::Digitize(), and BesTofDigitizer::GroupHits().

00047 {return hitIndexes;}

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

Definition at line 48 of file ScintSingle.hh.

References hitIndexes.

Referenced by BesTofDigitizerEcV4::Digitize().

00048 {return hitIndexes;}

G4int ScintSingle::GetModule_mrpc (  )  [inline]

Definition at line 49 of file ScintSingle.hh.

References scinNb.

Referenced by BesTofDigitizerEcV4::Digitize().

00049 {return scinNb;}

G4int ScintSingle::GetPartId (  )  [inline]

Definition at line 44 of file ScintSingle.hh.

References partId.

Referenced by BesTofDigitizerEcV4::Digitize(), BesTofDigitizerEcV3::Digitize(), BesTofDigitizerEcV2::Digitize(), BesTofDigitizerEcV1::Digitize(), BesTofDigitizerBrV2::Digitize(), BesTofDigitizerBrV1::Digitize(), BesTofDigitizer::Digitize(), and BesTofDigitizer::GroupHits().

00044 {return partId;}  

G4int ScintSingle::GetScinNb (  )  [inline]

Definition at line 45 of file ScintSingle.hh.

References scinNb.

Referenced by BesTofDigitizerEcV3::Digitize(), BesTofDigitizerEcV2::Digitize(), BesTofDigitizerEcV1::Digitize(), BesTofDigitizerBrV2::Digitize(), BesTofDigitizerBrV1::Digitize(), and BesTofDigitizer::GroupHits().

00045 {return scinNb;}

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

Definition at line 32 of file ScintSingle.hh.

References hitIndexes, partId, and scinNb.

00033     {
00034       partId = right.partId;
00035       scinNb = right.scinNb;
00036       hitIndexes =right.hitIndexes;
00037       return *this;
00038     }

void ScintSingle::SetEdep ( G4double  e  )  [inline]

Definition at line 53 of file ScintSingle.hh.

References edep.

Referenced by BesTofDigitizer::GroupHits().

00053 {edep = e;}

void ScintSingle::SetPartId ( G4int  id  )  [inline]

Definition at line 51 of file ScintSingle.hh.

References partId.

Referenced by BesTofDigitizer::GroupHits().

00051 {partId = id;}

void ScintSingle::SetScinNb ( G4int  nb  )  [inline]

Definition at line 52 of file ScintSingle.hh.

References scinNb.

Referenced by BesTofDigitizer::GroupHits().

00052 {scinNb = nb;}


Member Data Documentation

G4double ScintSingle::edep [private]

Definition at line 59 of file ScintSingle.hh.

Referenced by AddEdep(), GetEdep(), and SetEdep().

vector<G4int>* ScintSingle::hitIndexes [private]

Definition at line 60 of file ScintSingle.hh.

Referenced by GetHitIndexes(), GetHitIndexes_mrpc(), operator=(), ScintSingle(), and ~ScintSingle().

G4int ScintSingle::partId [private]

Definition at line 57 of file ScintSingle.hh.

Referenced by GetPartId(), operator=(), ScintSingle(), and SetPartId().

G4int ScintSingle::scinNb [private]

Definition at line 58 of file ScintSingle.hh.

Referenced by GetModule_mrpc(), GetScinNb(), operator=(), ScintSingle(), and SetScinNb().


Generated on Tue Nov 29 23:35:53 2016 for BOSS_7.0.2 by  doxygen 1.4.7