CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
Event::CgemMcHit Class Reference

#include <CgemMcHit.h>

+ Inheritance diagram for Event::CgemMcHit:

Public Member Functions

virtual const CLID & clID () const
 
 CgemMcHit ()
 
 CgemMcHit (int f_ID_track, int f_ID_layer, int pdg, int f_ID_parent, double f_E_deposit, double f_XYZ_pre_x, double f_XYZ_pre_y, double f_XYZ_pre_z, double f_XYZ_post_x, double f_XYZ_post_y, double f_XYZ_post_z, double f_P_pre_x, double f_P_pre_y, double f_P_pre_z, double f_P_post_x, double f_P_post_y, double f_P_post_z)
 
void SetTrackID (int f_ID_track)
 
void SetCurrentTrackID (int f_ID_track)
 
void SetIsSecondary (int isSec)
 
void SetLayerID (int f_ID_layer)
 
void SetPDGCode (int pdg)
 
void SetParentID (int f_ID_parent)
 
void SetTotalEnergyDeposit (double f_E_deposit)
 
void SetPositionXOfPrePoint (double f_XYZ_pre_x)
 
void SetPositionYOfPrePoint (double f_XYZ_pre_y)
 
void SetPositionZOfPrePoint (double f_XYZ_pre_z)
 
void SetPositionXOfPostPoint (double f_XYZ_post_x)
 
void SetPositionYOfPostPoint (double f_XYZ_post_y)
 
void SetPositionZOfPostPoint (double f_XYZ_post_z)
 
void SetMomentumXOfPrePoint (double f_P_pre_x)
 
void SetMomentumYOfPrePoint (double f_P_pre_y)
 
void SetMomentumZOfPrePoint (double f_P_pre_z)
 
void SetMomentumXOfPostPoint (double f_P_post_x)
 
void SetMomentumYOfPostPoint (double f_P_post_y)
 
void SetMomentumZOfPostPoint (double f_P_post_z)
 
void SetFlightLengthPrePoint (double f_len)
 
void SetFlightLengthPostPoint (double f_len)
 
void AddIdentifier (Int_t f_ID_Identifier[2000], Int_t N_dim)
 
void SetCreatorProcess (string creatorProcess)
 
void AddDigiIdx (int id)
 
void AddXclusterIdx (int id)
 
void AddVclusterIdx (int id)
 
void SetDigiIdxVec (const vector< int > &vec)
 
void SetXclusterIdxVec (const vector< int > &vec)
 
void SetVclusterIdxVec (const vector< int > &vec)
 
int GetTrackID () const
 
int GetCurrentTrackID () const
 
int GetIsSecondary () const
 
int GetLayerID () const
 
int GetPDGCode () const
 
int GetParentID () const
 
double GetTotalEnergyDeposit () const
 
double GetPositionXOfPrePoint () const
 
double GetPositionYOfPrePoint () const
 
double GetPositionZOfPrePoint () const
 
double GetPositionXOfPostPoint () const
 
double GetPositionYOfPostPoint () const
 
double GetPositionZOfPostPoint () const
 
double GetMomentumXOfPrePoint () const
 
double GetMomentumYOfPrePoint () const
 
double GetMomentumZOfPrePoint () const
 
double GetMomentumXOfPostPoint () const
 
double GetMomentumYOfPostPoint () const
 
double GetMomentumZOfPostPoint () const
 
double GetFlightLengthPrePoint () const
 
double GetFlightLengthPostPoint () const
 
const vector< int > & GetDigiIdxVec () const
 
const vector< int > & GetXclusterIdxVec () const
 
const vector< int > & GetVclusterIdxVec () const
 
TArrayI GetIdentifier () const
 
string GetCreatorProcess () const
 

Static Public Member Functions

static const CLID & classID ()
 

Detailed Description

Definition at line 20 of file CgemMcHit.h.

Constructor & Destructor Documentation

◆ CgemMcHit() [1/2]

Event::CgemMcHit::CgemMcHit ( )
inline

Definition at line 34 of file CgemMcHit.h.

34{};

◆ CgemMcHit() [2/2]

Event::CgemMcHit::CgemMcHit ( int f_ID_track,
int f_ID_layer,
int pdg,
int f_ID_parent,
double f_E_deposit,
double f_XYZ_pre_x,
double f_XYZ_pre_y,
double f_XYZ_pre_z,
double f_XYZ_post_x,
double f_XYZ_post_y,
double f_XYZ_post_z,
double f_P_pre_x,
double f_P_pre_y,
double f_P_pre_z,
double f_P_post_x,
double f_P_post_y,
double f_P_post_z )

Definition at line 4 of file CgemMcHit.cxx.

16{
17 m_ID_track = f_ID_track ;
18 m_ID_layer = f_ID_layer ;
19 m_pdg = pdg;
20 m_ID_parent = f_ID_parent;
21 m_E_deposit = f_E_deposit ;
22 m_XYZ_pre_x = f_XYZ_pre_x ;
23 m_XYZ_pre_y = f_XYZ_pre_y ;
24 m_XYZ_pre_z = f_XYZ_pre_z ;
25 m_XYZ_post_x = f_XYZ_post_x ;
26 m_XYZ_post_y = f_XYZ_post_y ;
27 m_XYZ_post_z = f_XYZ_post_z ;
28 m_P_pre_x = f_P_pre_x ;
29 m_P_pre_y = f_P_pre_y ;
30 m_P_pre_z = f_P_pre_z ;
31 m_P_post_x = f_P_post_x ;
32 m_P_post_y = f_P_post_y ;
33 m_P_post_z = f_P_post_z ;
34 /*
35 m_Cu_pre_x = f_Cu_pre_x ;
36 m_Cu_pre_y = f_Cu_pre_y ;
37 m_Cu_pre_z = f_Cu_pre_z ;
38 m_Cu_post_x = f_Cu_post_x ;
39 m_Cu_post_y = f_Cu_post_y ;
40 m_Cu_post_z = f_Cu_post_z ;
41 m_P_Cu_pre_x = f_P_Cu_pre_x ;
42 m_P_Cu_pre_y = f_P_Cu_pre_y ;
43 m_P_Cu_pre_z = f_P_Cu_pre_z ;
44 m_P_Cu_post_x = f_P_Cu_post_x ;
45 m_P_Cu_post_y = f_P_Cu_post_y ;
46 m_P_Cu_post_z = f_P_Cu_post_z ;
47 */
48}

Member Function Documentation

◆ AddDigiIdx()

void Event::CgemMcHit::AddDigiIdx ( int id)
inline

Definition at line 75 of file CgemMcHit.h.

75{m_vec_digi_id.push_back(id);};

◆ AddIdentifier()

void Event::CgemMcHit::AddIdentifier ( Int_t f_ID_Identifier[2000],
Int_t N_dim )
inline

Definition at line 73 of file CgemMcHit.h.

73{m_ID_Identifier.Set(N_dim, f_ID_Identifier); };

Referenced by BesMcTruthWriter::SaveCgemTruth(), and CgemMcHitCnv::TObjectToDataObject().

◆ AddVclusterIdx()

void Event::CgemMcHit::AddVclusterIdx ( int id)
inline

Definition at line 77 of file CgemMcHit.h.

77{m_vec_Vcluster_id.push_back(id);};

◆ AddXclusterIdx()

void Event::CgemMcHit::AddXclusterIdx ( int id)
inline

Definition at line 76 of file CgemMcHit.h.

76{m_vec_Xcluster_id.push_back(id);};

◆ classID()

static const CLID & Event::CgemMcHit::classID ( )
inlinestatic

Definition at line 28 of file CgemMcHit.h.

29 {
30 return CLID_CgemMcHit;
31 }
const CLID & CLID_CgemMcHit

Referenced by clID().

◆ clID()

virtual const CLID & Event::CgemMcHit::clID ( ) const
inlinevirtual

Definition at line 23 of file CgemMcHit.h.

24 {
25 return CgemMcHit::classID();
26 }
static const CLID & classID()
Definition CgemMcHit.h:28

◆ GetCreatorProcess()

string Event::CgemMcHit::GetCreatorProcess ( ) const
inline

Definition at line 123 of file CgemMcHit.h.

123{return m_creatorProcess;};

◆ GetCurrentTrackID()

int Event::CgemMcHit::GetCurrentTrackID ( ) const
inline

Definition at line 98 of file CgemMcHit.h.

98{return m_currentTrackID;}

◆ GetDigiIdxVec()

const vector< int > & Event::CgemMcHit::GetDigiIdxVec ( ) const
inline

Definition at line 118 of file CgemMcHit.h.

118{return m_vec_digi_id;}

◆ GetFlightLengthPostPoint()

double Event::CgemMcHit::GetFlightLengthPostPoint ( ) const
inline

Definition at line 117 of file CgemMcHit.h.

117{return m_flightLength_post;}

◆ GetFlightLengthPrePoint()

double Event::CgemMcHit::GetFlightLengthPrePoint ( ) const
inline

Definition at line 116 of file CgemMcHit.h.

116{return m_flightLength_pre;}

◆ GetIdentifier()

TArrayI Event::CgemMcHit::GetIdentifier ( ) const
inline

Definition at line 122 of file CgemMcHit.h.

122{return m_ID_Identifier;};

Referenced by HoughFinder::getMcHitCol().

◆ GetIsSecondary()

int Event::CgemMcHit::GetIsSecondary ( ) const
inline

Definition at line 99 of file CgemMcHit.h.

99{return m_isSecondary;};

◆ GetLayerID()

int Event::CgemMcHit::GetLayerID ( ) const
inline

Definition at line 100 of file CgemMcHit.h.

100{return m_ID_layer ;};

Referenced by HoughHit::HoughHit().

◆ GetMomentumXOfPostPoint()

double Event::CgemMcHit::GetMomentumXOfPostPoint ( ) const
inline

Definition at line 113 of file CgemMcHit.h.

113{return m_P_post_x ;};

◆ GetMomentumXOfPrePoint()

double Event::CgemMcHit::GetMomentumXOfPrePoint ( ) const
inline

Definition at line 110 of file CgemMcHit.h.

110{return m_P_pre_x ;};

◆ GetMomentumYOfPostPoint()

double Event::CgemMcHit::GetMomentumYOfPostPoint ( ) const
inline

Definition at line 114 of file CgemMcHit.h.

114{return m_P_post_y ;};

◆ GetMomentumYOfPrePoint()

double Event::CgemMcHit::GetMomentumYOfPrePoint ( ) const
inline

Definition at line 111 of file CgemMcHit.h.

111{return m_P_pre_y ;};

◆ GetMomentumZOfPostPoint()

double Event::CgemMcHit::GetMomentumZOfPostPoint ( ) const
inline

Definition at line 115 of file CgemMcHit.h.

115{return m_P_post_z ;};

◆ GetMomentumZOfPrePoint()

double Event::CgemMcHit::GetMomentumZOfPrePoint ( ) const
inline

Definition at line 112 of file CgemMcHit.h.

112{return m_P_pre_z ;};

◆ GetParentID()

int Event::CgemMcHit::GetParentID ( ) const
inline

Definition at line 102 of file CgemMcHit.h.

102{return m_ID_parent ;};

◆ GetPDGCode()

int Event::CgemMcHit::GetPDGCode ( ) const
inline

Definition at line 101 of file CgemMcHit.h.

101{return m_pdg ;};

◆ GetPositionXOfPostPoint()

double Event::CgemMcHit::GetPositionXOfPostPoint ( ) const
inline

Definition at line 107 of file CgemMcHit.h.

107{return m_XYZ_post_x ;};

Referenced by HoughHit::HoughHit().

◆ GetPositionXOfPrePoint()

double Event::CgemMcHit::GetPositionXOfPrePoint ( ) const
inline

Definition at line 104 of file CgemMcHit.h.

104{return m_XYZ_pre_x ;};

Referenced by HoughHit::HoughHit().

◆ GetPositionYOfPostPoint()

double Event::CgemMcHit::GetPositionYOfPostPoint ( ) const
inline

Definition at line 108 of file CgemMcHit.h.

108{return m_XYZ_post_y ;};

Referenced by HoughHit::HoughHit().

◆ GetPositionYOfPrePoint()

double Event::CgemMcHit::GetPositionYOfPrePoint ( ) const
inline

Definition at line 105 of file CgemMcHit.h.

105{return m_XYZ_pre_y ;};

Referenced by HoughHit::HoughHit().

◆ GetPositionZOfPostPoint()

double Event::CgemMcHit::GetPositionZOfPostPoint ( ) const
inline

Definition at line 109 of file CgemMcHit.h.

109{return m_XYZ_post_z ;};

Referenced by HoughHit::HoughHit().

◆ GetPositionZOfPrePoint()

double Event::CgemMcHit::GetPositionZOfPrePoint ( ) const
inline

Definition at line 106 of file CgemMcHit.h.

106{return m_XYZ_pre_z ;};

Referenced by HoughHit::HoughHit().

◆ GetTotalEnergyDeposit()

double Event::CgemMcHit::GetTotalEnergyDeposit ( ) const
inline

Definition at line 103 of file CgemMcHit.h.

103{return m_E_deposit ;};

◆ GetTrackID()

int Event::CgemMcHit::GetTrackID ( ) const
inline

Definition at line 97 of file CgemMcHit.h.

97{return m_ID_track ;};

Referenced by HoughHit::HoughHit().

◆ GetVclusterIdxVec()

const vector< int > & Event::CgemMcHit::GetVclusterIdxVec ( ) const
inline

Definition at line 120 of file CgemMcHit.h.

120{return m_vec_Vcluster_id;}

◆ GetXclusterIdxVec()

const vector< int > & Event::CgemMcHit::GetXclusterIdxVec ( ) const
inline

Definition at line 119 of file CgemMcHit.h.

119{return m_vec_Xcluster_id;}

◆ SetCreatorProcess()

void Event::CgemMcHit::SetCreatorProcess ( string creatorProcess)
inline

Definition at line 74 of file CgemMcHit.h.

74{m_creatorProcess = creatorProcess;};

Referenced by BesMcTruthWriter::SaveCgemTruth(), and CgemMcHitCnv::TObjectToDataObject().

◆ SetCurrentTrackID()

void Event::CgemMcHit::SetCurrentTrackID ( int f_ID_track)
inline

Definition at line 50 of file CgemMcHit.h.

50{m_currentTrackID=f_ID_track;};

◆ SetDigiIdxVec()

void Event::CgemMcHit::SetDigiIdxVec ( const vector< int > & vec)
inline

Definition at line 78 of file CgemMcHit.h.

78{m_vec_digi_id=vec ;};
dble_vec_t vec[12]
Definition ranlxd.c:372

Referenced by CgemMcHitCnv::TObjectToDataObject().

◆ SetFlightLengthPostPoint()

void Event::CgemMcHit::SetFlightLengthPostPoint ( double f_len)
inline

Definition at line 69 of file CgemMcHit.h.

69{m_flightLength_post=f_len;};

Referenced by CgemMcHitCnv::TObjectToDataObject().

◆ SetFlightLengthPrePoint()

void Event::CgemMcHit::SetFlightLengthPrePoint ( double f_len)
inline

Definition at line 68 of file CgemMcHit.h.

68{m_flightLength_pre=f_len;}

Referenced by CgemMcHitCnv::TObjectToDataObject().

◆ SetIsSecondary()

void Event::CgemMcHit::SetIsSecondary ( int isSec)
inline

Definition at line 51 of file CgemMcHit.h.

51{m_isSecondary= isSec ;};

Referenced by BesMcTruthWriter::SaveCgemTruth(), and CgemMcHitCnv::TObjectToDataObject().

◆ SetLayerID()

void Event::CgemMcHit::SetLayerID ( int f_ID_layer)
inline

Definition at line 52 of file CgemMcHit.h.

52{m_ID_layer = f_ID_layer ;};

Referenced by CgemMcHitCnv::TObjectToDataObject().

◆ SetMomentumXOfPostPoint()

void Event::CgemMcHit::SetMomentumXOfPostPoint ( double f_P_post_x)
inline

Definition at line 65 of file CgemMcHit.h.

65{m_P_post_x = f_P_post_x ;};

Referenced by CgemMcHitCnv::TObjectToDataObject().

◆ SetMomentumXOfPrePoint()

void Event::CgemMcHit::SetMomentumXOfPrePoint ( double f_P_pre_x)
inline

Definition at line 62 of file CgemMcHit.h.

62{m_P_pre_x = f_P_pre_x ;};

Referenced by CgemMcHitCnv::TObjectToDataObject().

◆ SetMomentumYOfPostPoint()

void Event::CgemMcHit::SetMomentumYOfPostPoint ( double f_P_post_y)
inline

Definition at line 66 of file CgemMcHit.h.

66{m_P_post_y = f_P_post_y ;};

Referenced by CgemMcHitCnv::TObjectToDataObject().

◆ SetMomentumYOfPrePoint()

void Event::CgemMcHit::SetMomentumYOfPrePoint ( double f_P_pre_y)
inline

Definition at line 63 of file CgemMcHit.h.

63{m_P_pre_y = f_P_pre_y ;};

Referenced by CgemMcHitCnv::TObjectToDataObject().

◆ SetMomentumZOfPostPoint()

void Event::CgemMcHit::SetMomentumZOfPostPoint ( double f_P_post_z)
inline

Definition at line 67 of file CgemMcHit.h.

67{m_P_post_z = f_P_post_z ;};

Referenced by CgemMcHitCnv::TObjectToDataObject().

◆ SetMomentumZOfPrePoint()

void Event::CgemMcHit::SetMomentumZOfPrePoint ( double f_P_pre_z)
inline

Definition at line 64 of file CgemMcHit.h.

64{m_P_pre_z = f_P_pre_z ;};

Referenced by CgemMcHitCnv::TObjectToDataObject().

◆ SetParentID()

void Event::CgemMcHit::SetParentID ( int f_ID_parent)
inline

Definition at line 54 of file CgemMcHit.h.

54{m_ID_parent = f_ID_parent ;};

Referenced by CgemMcHitCnv::TObjectToDataObject().

◆ SetPDGCode()

void Event::CgemMcHit::SetPDGCode ( int pdg)
inline

Definition at line 53 of file CgemMcHit.h.

53{m_pdg = pdg ;};

Referenced by CgemMcHitCnv::TObjectToDataObject().

◆ SetPositionXOfPostPoint()

void Event::CgemMcHit::SetPositionXOfPostPoint ( double f_XYZ_post_x)
inline

Definition at line 59 of file CgemMcHit.h.

59{m_XYZ_post_x = f_XYZ_post_x ;};

Referenced by BesMcTruthWriter::SaveCgemTruth(), and CgemMcHitCnv::TObjectToDataObject().

◆ SetPositionXOfPrePoint()

void Event::CgemMcHit::SetPositionXOfPrePoint ( double f_XYZ_pre_x)
inline

Definition at line 56 of file CgemMcHit.h.

56{m_XYZ_pre_x = f_XYZ_pre_x ;};

Referenced by BesMcTruthWriter::SaveCgemTruth(), and CgemMcHitCnv::TObjectToDataObject().

◆ SetPositionYOfPostPoint()

void Event::CgemMcHit::SetPositionYOfPostPoint ( double f_XYZ_post_y)
inline

Definition at line 60 of file CgemMcHit.h.

60{m_XYZ_post_y = f_XYZ_post_y ;};

Referenced by BesMcTruthWriter::SaveCgemTruth(), and CgemMcHitCnv::TObjectToDataObject().

◆ SetPositionYOfPrePoint()

void Event::CgemMcHit::SetPositionYOfPrePoint ( double f_XYZ_pre_y)
inline

Definition at line 57 of file CgemMcHit.h.

57{m_XYZ_pre_y = f_XYZ_pre_y ;};

Referenced by BesMcTruthWriter::SaveCgemTruth(), and CgemMcHitCnv::TObjectToDataObject().

◆ SetPositionZOfPostPoint()

void Event::CgemMcHit::SetPositionZOfPostPoint ( double f_XYZ_post_z)
inline

Definition at line 61 of file CgemMcHit.h.

61{m_XYZ_post_z = f_XYZ_post_z ;};

Referenced by BesMcTruthWriter::SaveCgemTruth(), and CgemMcHitCnv::TObjectToDataObject().

◆ SetPositionZOfPrePoint()

void Event::CgemMcHit::SetPositionZOfPrePoint ( double f_XYZ_pre_z)
inline

Definition at line 58 of file CgemMcHit.h.

58{m_XYZ_pre_z = f_XYZ_pre_z ;};

Referenced by BesMcTruthWriter::SaveCgemTruth(), and CgemMcHitCnv::TObjectToDataObject().

◆ SetTotalEnergyDeposit()

void Event::CgemMcHit::SetTotalEnergyDeposit ( double f_E_deposit)
inline

Definition at line 55 of file CgemMcHit.h.

55{m_E_deposit = f_E_deposit ;};

Referenced by CgemMcHitCnv::TObjectToDataObject().

◆ SetTrackID()

void Event::CgemMcHit::SetTrackID ( int f_ID_track)
inline

Definition at line 49 of file CgemMcHit.h.

49{m_ID_track = f_ID_track ;};

Referenced by CgemMcHitCnv::TObjectToDataObject().

◆ SetVclusterIdxVec()

void Event::CgemMcHit::SetVclusterIdxVec ( const vector< int > & vec)
inline

Definition at line 80 of file CgemMcHit.h.

80{m_vec_Vcluster_id=vec;};

Referenced by CgemMcHitCnv::TObjectToDataObject().

◆ SetXclusterIdxVec()

void Event::CgemMcHit::SetXclusterIdxVec ( const vector< int > & vec)
inline

Definition at line 79 of file CgemMcHit.h.

79{m_vec_Xcluster_id=vec;};

Referenced by CgemMcHitCnv::TObjectToDataObject().


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