BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
BesMucDigi Class Reference

#include <BesMucDigi.hh>

+ Inheritance diagram for BesMucDigi:

Public Member Functions

 BesMucDigi ()
 
virtual ~BesMucDigi ()
 
 BesMucDigi (const BesMucDigi &)
 
const BesMucDigioperator= (const BesMucDigi &)
 
virtual G4int operator== (const BesMucDigi &) const
 
void * operator new (size_t)
 
void operator delete (void *)
 
virtual void Draw ()
 
virtual void Print ()
 
void SetTrackIndex (G4int index)
 
void SetPartId (G4int partId)
 
void SetSegId (G4int segId)
 
void SetGapId (G4int gapId)
 
void SetStripId (G4int stripId)
 
G4int GetTrackIndex ()
 
G4int GetPartId ()
 
G4int GetSegId ()
 
G4int GetGapId ()
 
G4int GetStripId ()
 

Detailed Description

Definition at line 19 of file BesMucDigi.hh.

Constructor & Destructor Documentation

◆ BesMucDigi() [1/2]

BesMucDigi::BesMucDigi ( )

Definition at line 16 of file BesMucDigi.cc.

17{
18 m_trackIndex = -99;
19 m_partId = -99;
20 m_segId = -99;
21 m_gapId = -99;
22 m_stripId = -99;
23}

◆ ~BesMucDigi()

BesMucDigi::~BesMucDigi ( )
virtual

Definition at line 25 of file BesMucDigi.cc.

25{}

◆ BesMucDigi() [2/2]

BesMucDigi::BesMucDigi ( const BesMucDigi & right)

Definition at line 27 of file BesMucDigi.cc.

28:G4VDigi()
29{
30 m_trackIndex = right.m_trackIndex;
31 m_partId = right.m_partId;
32 m_segId = right.m_segId;
33 m_gapId = right.m_gapId;
34 m_stripId = right.m_stripId;
35}

Member Function Documentation

◆ Draw()

void BesMucDigi::Draw ( )
virtual

Definition at line 55 of file BesMucDigi.cc.

56{ }

◆ GetGapId()

G4int BesMucDigi::GetGapId ( )
inline

Definition at line 45 of file BesMucDigi.hh.

45{ return m_gapId; }

Referenced by BesAsciiIO::SaveMucDigits(), and BesRawDataWriter::SaveMucDigits().

◆ GetPartId()

G4int BesMucDigi::GetPartId ( )
inline

Definition at line 43 of file BesMucDigi.hh.

43{ return m_partId; }

Referenced by BesAsciiIO::SaveMucDigits(), and BesRawDataWriter::SaveMucDigits().

◆ GetSegId()

G4int BesMucDigi::GetSegId ( )
inline

Definition at line 44 of file BesMucDigi.hh.

44{ return m_segId; }

Referenced by BesAsciiIO::SaveMucDigits(), and BesRawDataWriter::SaveMucDigits().

◆ GetStripId()

G4int BesMucDigi::GetStripId ( )
inline

Definition at line 46 of file BesMucDigi.hh.

46{ return m_stripId; }

Referenced by BesAsciiIO::SaveMucDigits(), and BesRawDataWriter::SaveMucDigits().

◆ GetTrackIndex()

G4int BesMucDigi::GetTrackIndex ( )
inline

Definition at line 42 of file BesMucDigi.hh.

42{ return m_trackIndex; }

Referenced by BesAsciiIO::SaveMucDigits(), and BesRawDataWriter::SaveMucDigits().

◆ operator delete()

void BesMucDigi::operator delete ( void * aDigi)
inline

Definition at line 67 of file BesMucDigi.hh.

68{
69 BesMucDigiAllocator.FreeSingle((BesMucDigi*) aDigi);
70}
G4Allocator< BesMucDigi > BesMucDigiAllocator
Definition BesMucDigi.cc:14

◆ operator new()

void * BesMucDigi::operator new ( size_t )
inline

Definition at line 60 of file BesMucDigi.hh.

61{
62 void *aDigi;
63 aDigi = (void *) BesMucDigiAllocator.MallocSingle();
64 return aDigi;
65}

◆ operator=()

const BesMucDigi & BesMucDigi::operator= ( const BesMucDigi & right)

Definition at line 38 of file BesMucDigi.cc.

39{
40 m_trackIndex = right.m_trackIndex;
41 m_partId = right.m_partId;
42 m_segId = right.m_segId;
43 m_gapId = right.m_gapId;
44 m_stripId = right.m_stripId;
45
46 return *this;
47}

◆ operator==()

int BesMucDigi::operator== ( const BesMucDigi & right) const
virtual

Definition at line 50 of file BesMucDigi.cc.

51{
52 return (this==&right) ? 1 : 0;
53}

◆ Print()

void BesMucDigi::Print ( )
virtual

Definition at line 58 of file BesMucDigi.cc.

59{ }

◆ SetGapId()

void BesMucDigi::SetGapId ( G4int gapId)
inline

Definition at line 39 of file BesMucDigi.hh.

39{ m_gapId = gapId; }

◆ SetPartId()

void BesMucDigi::SetPartId ( G4int partId)
inline

Definition at line 37 of file BesMucDigi.hh.

37{ m_partId = partId; }

◆ SetSegId()

void BesMucDigi::SetSegId ( G4int segId)
inline

Definition at line 38 of file BesMucDigi.hh.

38{ m_segId = segId; }

◆ SetStripId()

void BesMucDigi::SetStripId ( G4int stripId)
inline

Definition at line 40 of file BesMucDigi.hh.

40{ m_stripId = stripId; }

◆ SetTrackIndex()

void BesMucDigi::SetTrackIndex ( G4int index)
inline

Definition at line 36 of file BesMucDigi.hh.

36{ m_trackIndex = index; }

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