BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
BesEventHeader Class Reference

#include <BesEventHeader.h>

Inheritance diagram for BesEventHeader:

Public Member Functions

 BesEventHeader ()
virtual ~BesEventHeader ()
virtual void SetEventHeaderGeneral (Long64_t run, Long64_t event, Int_t time1, Int_t time2)
virtual void SetEventTrig (Int_t timeType, vector< Int_t > &trigConditionVector, vector< Int_t > &trigChannelVector)
virtual void SetEventMC (Bool_t mc)
virtual void SetEventRec (Bool_t rec)
virtual void SetEventEvTime (Double_t time, Int_t status, Double_t quality)
virtual void SetEventMdc (Double_t p, Double_t pt, Double_t px, Double_t py, Double_t pz)
virtual void SetEventTof (Double_t t)
virtual void SetEventEmc (Double_t e)
void PrintWord (TString &word, Int_t nbits, Int_t trigger, Int_t trigger2=0) const
Long64_t GetRunNumber ()
Long64_t GetEventNumber ()
Bool_t GetEventMC ()
Int_t GetTimeType ()
vector< Int_t > & GetTrigChannelVector ()
vector< Int_t > & GetTrigConditionVector ()
Int_t GetEventYear ()
Int_t GetEventMonth ()
Int_t GetEventDay ()
Int_t GetEventHour ()
Int_t GetEventMin ()
Int_t GetEventSec ()
Bool_t GetEventRec ()
Double_t GetEvTime ()
Int_t GetEvTimeStatus ()
Double_t GetEvTimeQuality ()
virtual Float_t GetP ()
virtual Float_t GetPt ()
virtual Float_t GetPx ()
virtual Float_t GetPy ()
virtual Float_t GetPz ()
virtual Float_t GetT ()
virtual Float_t GetE ()
 BesEventHeader ()
virtual ~BesEventHeader ()
virtual void SetEventHeaderGeneral (Long64_t run, Long64_t event, Int_t time1, Int_t time2)
virtual void SetEventTrig (Int_t timeType, vector< Int_t > &trigConditionVector, vector< Int_t > &trigChannelVector)
virtual void SetEventMC (Bool_t mc)
virtual void SetEventRec (Bool_t rec)
virtual void SetEventEvTime (Double_t time, Int_t status, Double_t quality)
virtual void SetEventMdc (Double_t p, Double_t pt, Double_t px, Double_t py, Double_t pz)
virtual void SetEventTof (Double_t t)
virtual void SetEventEmc (Double_t e)
void PrintWord (TString &word, Int_t nbits, Int_t trigger, Int_t trigger2=0) const
Long64_t GetRunNumber ()
Long64_t GetEventNumber ()
Bool_t GetEventMC ()
Int_t GetTimeType ()
vector< Int_t > & GetTrigChannelVector ()
vector< Int_t > & GetTrigConditionVector ()
Int_t GetEventYear ()
Int_t GetEventMonth ()
Int_t GetEventDay ()
Int_t GetEventHour ()
Int_t GetEventMin ()
Int_t GetEventSec ()
Bool_t GetEventRec ()
Double_t GetEvTime ()
Int_t GetEvTimeStatus ()
Double_t GetEvTimeQuality ()
virtual Float_t GetP ()
virtual Float_t GetPt ()
virtual Float_t GetPx ()
virtual Float_t GetPy ()
virtual Float_t GetPz ()
virtual Float_t GetT ()
virtual Float_t GetE ()
 BesEventHeader ()
virtual ~BesEventHeader ()
virtual void SetEventHeaderGeneral (Long64_t run, Long64_t event, Int_t time1, Int_t time2)
virtual void SetEventTrig (Int_t timeType, vector< Int_t > &trigConditionVector, vector< Int_t > &trigChannelVector)
virtual void SetEventMC (Bool_t mc)
virtual void SetEventRec (Bool_t rec)
virtual void SetEventEvTime (Double_t time, Int_t status, Double_t quality)
virtual void SetEventMdc (Double_t p, Double_t pt, Double_t px, Double_t py, Double_t pz)
virtual void SetEventTof (Double_t t)
virtual void SetEventEmc (Double_t e)
void PrintWord (TString &word, Int_t nbits, Int_t trigger, Int_t trigger2=0) const
Long64_t GetRunNumber ()
Long64_t GetEventNumber ()
Bool_t GetEventMC ()
Int_t GetTimeType ()
vector< Int_t > & GetTrigChannelVector ()
vector< Int_t > & GetTrigConditionVector ()
Int_t GetEventYear ()
Int_t GetEventMonth ()
Int_t GetEventDay ()
Int_t GetEventHour ()
Int_t GetEventMin ()
Int_t GetEventSec ()
Bool_t GetEventRec ()
Double_t GetEvTime ()
Int_t GetEvTimeStatus ()
Double_t GetEvTimeQuality ()
virtual Float_t GetP ()
virtual Float_t GetPt ()
virtual Float_t GetPx ()
virtual Float_t GetPy ()
virtual Float_t GetPz ()
virtual Float_t GetT ()
virtual Float_t GetE ()

Detailed Description

Constructor & Destructor Documentation

◆ BesEventHeader() [1/3]

BesEventHeader::BesEventHeader ( )

◆ ~BesEventHeader() [1/3]

BesEventHeader::~BesEventHeader ( )
virtual

Definition at line 51 of file BesEventHeader.cxx.

51 {
52 //
53 // BesEventHeader default destructor
54 if ( gDebug ) cout << "BesEventHeader dtor called" << endl;
55}

◆ BesEventHeader() [2/3]

BesEventHeader::BesEventHeader ( )

◆ ~BesEventHeader() [2/3]

virtual BesEventHeader::~BesEventHeader ( )
virtual

◆ BesEventHeader() [3/3]

BesEventHeader::BesEventHeader ( )

◆ ~BesEventHeader() [3/3]

virtual BesEventHeader::~BesEventHeader ( )
virtual

Member Function Documentation

◆ GetE() [1/3]

virtual Float_t BesEventHeader::GetE ( )
inlinevirtual

Definition at line 89 of file EventDisplay/BesVisLib/include/BesVisLib/BesEventHeader.h.

89{ return fE; }

◆ GetE() [2/3]

virtual Float_t BesEventHeader::GetE ( )
inlinevirtual

Definition at line 89 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/BesEventHeader.h.

89{ return fE; }

◆ GetE() [3/3]

virtual Float_t BesEventHeader::GetE ( )
inlinevirtual

Definition at line 89 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/BesEventHeader.h.

89{ return fE; }

◆ GetEventDay() [1/3]

Int_t BesEventHeader::GetEventDay ( )
inline

Definition at line 71 of file EventDisplay/BesVisLib/include/BesVisLib/BesEventHeader.h.

71{ return fDay; }

◆ GetEventDay() [2/3]

Int_t BesEventHeader::GetEventDay ( )
inline

Definition at line 71 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/BesEventHeader.h.

71{ return fDay; }

◆ GetEventDay() [3/3]

Int_t BesEventHeader::GetEventDay ( )
inline

Definition at line 71 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/BesEventHeader.h.

71{ return fDay; }

◆ GetEventHour() [1/3]

Int_t BesEventHeader::GetEventHour ( )
inline

Definition at line 72 of file EventDisplay/BesVisLib/include/BesVisLib/BesEventHeader.h.

72{ return fHour; }

◆ GetEventHour() [2/3]

Int_t BesEventHeader::GetEventHour ( )
inline

Definition at line 72 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/BesEventHeader.h.

72{ return fHour; }

◆ GetEventHour() [3/3]

Int_t BesEventHeader::GetEventHour ( )
inline

Definition at line 72 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/BesEventHeader.h.

72{ return fHour; }

◆ GetEventMC() [1/3]

Bool_t BesEventHeader::GetEventMC ( )
inline

Definition at line 63 of file EventDisplay/BesVisLib/include/BesVisLib/BesEventHeader.h.

63{ return fMC; }

◆ GetEventMC() [2/3]

Bool_t BesEventHeader::GetEventMC ( )
inline

Definition at line 63 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/BesEventHeader.h.

63{ return fMC; }

◆ GetEventMC() [3/3]

Bool_t BesEventHeader::GetEventMC ( )
inline

Definition at line 63 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/BesEventHeader.h.

63{ return fMC; }

◆ GetEventMin() [1/3]

Int_t BesEventHeader::GetEventMin ( )
inline

Definition at line 73 of file EventDisplay/BesVisLib/include/BesVisLib/BesEventHeader.h.

73{ return fMin; }

◆ GetEventMin() [2/3]

Int_t BesEventHeader::GetEventMin ( )
inline

Definition at line 73 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/BesEventHeader.h.

73{ return fMin; }

◆ GetEventMin() [3/3]

Int_t BesEventHeader::GetEventMin ( )
inline

Definition at line 73 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/BesEventHeader.h.

73{ return fMin; }

◆ GetEventMonth() [1/3]

Int_t BesEventHeader::GetEventMonth ( )
inline

Definition at line 70 of file EventDisplay/BesVisLib/include/BesVisLib/BesEventHeader.h.

70{ return fMonth; }

◆ GetEventMonth() [2/3]

Int_t BesEventHeader::GetEventMonth ( )
inline

Definition at line 70 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/BesEventHeader.h.

70{ return fMonth; }

◆ GetEventMonth() [3/3]

Int_t BesEventHeader::GetEventMonth ( )
inline

Definition at line 70 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/BesEventHeader.h.

70{ return fMonth; }

◆ GetEventNumber() [1/3]

Long64_t BesEventHeader::GetEventNumber ( )
inline

Definition at line 62 of file EventDisplay/BesVisLib/include/BesVisLib/BesEventHeader.h.

62{ return fEvent; }

◆ GetEventNumber() [2/3]

Long64_t BesEventHeader::GetEventNumber ( )
inline

Definition at line 62 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/BesEventHeader.h.

62{ return fEvent; }

◆ GetEventNumber() [3/3]

Long64_t BesEventHeader::GetEventNumber ( )
inline

Definition at line 62 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/BesEventHeader.h.

62{ return fEvent; }

◆ GetEventRec() [1/3]

Bool_t BesEventHeader::GetEventRec ( )
inline

Definition at line 76 of file EventDisplay/BesVisLib/include/BesVisLib/BesEventHeader.h.

76{ return fRec; } // Long Peixun's update: Rec flag

◆ GetEventRec() [2/3]

Bool_t BesEventHeader::GetEventRec ( )
inline

Definition at line 76 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/BesEventHeader.h.

76{ return fRec; } // Long Peixun's update: Rec flag

◆ GetEventRec() [3/3]

Bool_t BesEventHeader::GetEventRec ( )
inline

Definition at line 76 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/BesEventHeader.h.

76{ return fRec; } // Long Peixun's update: Rec flag

◆ GetEventSec() [1/3]

Int_t BesEventHeader::GetEventSec ( )
inline

Definition at line 74 of file EventDisplay/BesVisLib/include/BesVisLib/BesEventHeader.h.

74{ return fSec; }

◆ GetEventSec() [2/3]

Int_t BesEventHeader::GetEventSec ( )
inline

Definition at line 74 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/BesEventHeader.h.

74{ return fSec; }

◆ GetEventSec() [3/3]

Int_t BesEventHeader::GetEventSec ( )
inline

Definition at line 74 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/BesEventHeader.h.

74{ return fSec; }

◆ GetEventYear() [1/3]

Int_t BesEventHeader::GetEventYear ( )
inline

Definition at line 69 of file EventDisplay/BesVisLib/include/BesVisLib/BesEventHeader.h.

69{ return fYear; }

◆ GetEventYear() [2/3]

Int_t BesEventHeader::GetEventYear ( )
inline

Definition at line 69 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/BesEventHeader.h.

69{ return fYear; }

◆ GetEventYear() [3/3]

Int_t BesEventHeader::GetEventYear ( )
inline

Definition at line 69 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/BesEventHeader.h.

69{ return fYear; }

◆ GetEvTime() [1/3]

Double_t BesEventHeader::GetEvTime ( )
inline

Definition at line 77 of file EventDisplay/BesVisLib/include/BesVisLib/BesEventHeader.h.

77{ return fEvTime; }

◆ GetEvTime() [2/3]

Double_t BesEventHeader::GetEvTime ( )
inline

Definition at line 77 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/BesEventHeader.h.

77{ return fEvTime; }

◆ GetEvTime() [3/3]

Double_t BesEventHeader::GetEvTime ( )
inline

Definition at line 77 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/BesEventHeader.h.

77{ return fEvTime; }

◆ GetEvTimeQuality() [1/3]

Double_t BesEventHeader::GetEvTimeQuality ( )
inline

Definition at line 79 of file EventDisplay/BesVisLib/include/BesVisLib/BesEventHeader.h.

79{ return fEvTimeQuality; }

◆ GetEvTimeQuality() [2/3]

Double_t BesEventHeader::GetEvTimeQuality ( )
inline

Definition at line 79 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/BesEventHeader.h.

79{ return fEvTimeQuality; }

◆ GetEvTimeQuality() [3/3]

Double_t BesEventHeader::GetEvTimeQuality ( )
inline

Definition at line 79 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/BesEventHeader.h.

79{ return fEvTimeQuality; }

◆ GetEvTimeStatus() [1/3]

Int_t BesEventHeader::GetEvTimeStatus ( )
inline

Definition at line 78 of file EventDisplay/BesVisLib/include/BesVisLib/BesEventHeader.h.

78{ return fEvTimeStatus; }

◆ GetEvTimeStatus() [2/3]

Int_t BesEventHeader::GetEvTimeStatus ( )
inline

Definition at line 78 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/BesEventHeader.h.

78{ return fEvTimeStatus; }

◆ GetEvTimeStatus() [3/3]

Int_t BesEventHeader::GetEvTimeStatus ( )
inline

Definition at line 78 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/BesEventHeader.h.

78{ return fEvTimeStatus; }

◆ GetP() [1/3]

virtual Float_t BesEventHeader::GetP ( )
inlinevirtual

Definition at line 81 of file EventDisplay/BesVisLib/include/BesVisLib/BesEventHeader.h.

81{ return fP; }

◆ GetP() [2/3]

virtual Float_t BesEventHeader::GetP ( )
inlinevirtual

Definition at line 81 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/BesEventHeader.h.

81{ return fP; }

◆ GetP() [3/3]

virtual Float_t BesEventHeader::GetP ( )
inlinevirtual

Definition at line 81 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/BesEventHeader.h.

81{ return fP; }

◆ GetPt() [1/3]

virtual Float_t BesEventHeader::GetPt ( )
inlinevirtual

Definition at line 82 of file EventDisplay/BesVisLib/include/BesVisLib/BesEventHeader.h.

82{ return fPt; }

◆ GetPt() [2/3]

virtual Float_t BesEventHeader::GetPt ( )
inlinevirtual

Definition at line 82 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/BesEventHeader.h.

82{ return fPt; }

◆ GetPt() [3/3]

virtual Float_t BesEventHeader::GetPt ( )
inlinevirtual

Definition at line 82 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/BesEventHeader.h.

82{ return fPt; }

◆ GetPx() [1/3]

virtual Float_t BesEventHeader::GetPx ( )
inlinevirtual

Definition at line 83 of file EventDisplay/BesVisLib/include/BesVisLib/BesEventHeader.h.

83{ return fPx; }

◆ GetPx() [2/3]

virtual Float_t BesEventHeader::GetPx ( )
inlinevirtual

Definition at line 83 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/BesEventHeader.h.

83{ return fPx; }

◆ GetPx() [3/3]

virtual Float_t BesEventHeader::GetPx ( )
inlinevirtual

Definition at line 83 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/BesEventHeader.h.

83{ return fPx; }

◆ GetPy() [1/3]

virtual Float_t BesEventHeader::GetPy ( )
inlinevirtual

Definition at line 84 of file EventDisplay/BesVisLib/include/BesVisLib/BesEventHeader.h.

84{ return fPy; }

◆ GetPy() [2/3]

virtual Float_t BesEventHeader::GetPy ( )
inlinevirtual

Definition at line 84 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/BesEventHeader.h.

84{ return fPy; }

◆ GetPy() [3/3]

virtual Float_t BesEventHeader::GetPy ( )
inlinevirtual

Definition at line 84 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/BesEventHeader.h.

84{ return fPy; }

◆ GetPz() [1/3]

virtual Float_t BesEventHeader::GetPz ( )
inlinevirtual

Definition at line 85 of file EventDisplay/BesVisLib/include/BesVisLib/BesEventHeader.h.

85{ return fPz; }

◆ GetPz() [2/3]

virtual Float_t BesEventHeader::GetPz ( )
inlinevirtual

Definition at line 85 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/BesEventHeader.h.

85{ return fPz; }

◆ GetPz() [3/3]

virtual Float_t BesEventHeader::GetPz ( )
inlinevirtual

Definition at line 85 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/BesEventHeader.h.

85{ return fPz; }

◆ GetRunNumber() [1/3]

Long64_t BesEventHeader::GetRunNumber ( )
inline

Definition at line 61 of file EventDisplay/BesVisLib/include/BesVisLib/BesEventHeader.h.

61{ return fRun; }

◆ GetRunNumber() [2/3]

Long64_t BesEventHeader::GetRunNumber ( )
inline

Definition at line 61 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/BesEventHeader.h.

61{ return fRun; }

◆ GetRunNumber() [3/3]

Long64_t BesEventHeader::GetRunNumber ( )
inline

Definition at line 61 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/BesEventHeader.h.

61{ return fRun; }

◆ GetT() [1/3]

virtual Float_t BesEventHeader::GetT ( )
inlinevirtual

Definition at line 87 of file EventDisplay/BesVisLib/include/BesVisLib/BesEventHeader.h.

87{ return fT; }

◆ GetT() [2/3]

virtual Float_t BesEventHeader::GetT ( )
inlinevirtual

Definition at line 87 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/BesEventHeader.h.

87{ return fT; }

◆ GetT() [3/3]

virtual Float_t BesEventHeader::GetT ( )
inlinevirtual

Definition at line 87 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/BesEventHeader.h.

87{ return fT; }

◆ GetTimeType() [1/3]

Int_t BesEventHeader::GetTimeType ( )
inline

Definition at line 65 of file EventDisplay/BesVisLib/include/BesVisLib/BesEventHeader.h.

65{ return fTimeType; }

◆ GetTimeType() [2/3]

Int_t BesEventHeader::GetTimeType ( )
inline

Definition at line 65 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/BesEventHeader.h.

65{ return fTimeType; }

◆ GetTimeType() [3/3]

Int_t BesEventHeader::GetTimeType ( )
inline

Definition at line 65 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/BesEventHeader.h.

65{ return fTimeType; }

◆ GetTrigChannelVector() [1/3]

vector< Int_t > & BesEventHeader::GetTrigChannelVector ( )
inline

Definition at line 66 of file EventDisplay/BesVisLib/include/BesVisLib/BesEventHeader.h.

66{ return fTrigChannelVector; }

◆ GetTrigChannelVector() [2/3]

vector< Int_t > & BesEventHeader::GetTrigChannelVector ( )
inline

Definition at line 66 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/BesEventHeader.h.

66{ return fTrigChannelVector; }

◆ GetTrigChannelVector() [3/3]

vector< Int_t > & BesEventHeader::GetTrigChannelVector ( )
inline

Definition at line 66 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/BesEventHeader.h.

66{ return fTrigChannelVector; }

◆ GetTrigConditionVector() [1/3]

vector< Int_t > & BesEventHeader::GetTrigConditionVector ( )
inline

Definition at line 67 of file EventDisplay/BesVisLib/include/BesVisLib/BesEventHeader.h.

67{ return fTrigConditionVector; }

◆ GetTrigConditionVector() [2/3]

vector< Int_t > & BesEventHeader::GetTrigConditionVector ( )
inline

Definition at line 67 of file InstallArea/x86_64-el9-gcc13-dbg/include/BesVisLib/BesEventHeader.h.

67{ return fTrigConditionVector; }

◆ GetTrigConditionVector() [3/3]

vector< Int_t > & BesEventHeader::GetTrigConditionVector ( )
inline

Definition at line 67 of file InstallArea/x86_64-el9-gcc13-opt/include/BesVisLib/BesEventHeader.h.

67{ return fTrigConditionVector; }

◆ PrintWord() [1/3]

void BesEventHeader::PrintWord ( TString & word,
Int_t nbits,
Int_t trigger,
Int_t trigger2 = 0 ) const

Definition at line 149 of file BesEventHeader.cxx.

150 {
151 Int_t j;
152 if ( trigger != 0 )
153 {
154 for ( j = 0; j < nbits; j++ )
155 {
156 if ( ( trigger >> j ) & 0x1 ) word += Form( " %.2d", j + 1 );
157 }
158 }
159 if ( trigger2 != 0 )
160 {
161 for ( j = 0; j < nbits; j++ )
162 {
163 if ( ( trigger2 >> j ) & 0x1 ) word += Form( " %.2d", j + 17 );
164 }
165 }
166}
short int word(short i, const _T &v)

◆ PrintWord() [2/3]

void BesEventHeader::PrintWord ( TString & word,
Int_t nbits,
Int_t trigger,
Int_t trigger2 = 0 ) const

◆ PrintWord() [3/3]

void BesEventHeader::PrintWord ( TString & word,
Int_t nbits,
Int_t trigger,
Int_t trigger2 = 0 ) const

◆ SetEventEmc() [1/3]

void BesEventHeader::SetEventEmc ( Double_t e)
virtual

Definition at line 146 of file BesEventHeader.cxx.

146{ fE = e; }

◆ SetEventEmc() [2/3]

virtual void BesEventHeader::SetEventEmc ( Double_t e)
virtual

◆ SetEventEmc() [3/3]

virtual void BesEventHeader::SetEventEmc ( Double_t e)
virtual

◆ SetEventEvTime() [1/3]

void BesEventHeader::SetEventEvTime ( Double_t time,
Int_t status,
Double_t quality )
virtual

Definition at line 123 of file BesEventHeader.cxx.

123 {
124 fEvTime = time;
125 fEvTimeStatus = status;
126 fEvTimeQuality = quality;
127}
Double_t time

◆ SetEventEvTime() [2/3]

virtual void BesEventHeader::SetEventEvTime ( Double_t time,
Int_t status,
Double_t quality )
virtual

◆ SetEventEvTime() [3/3]

virtual void BesEventHeader::SetEventEvTime ( Double_t time,
Int_t status,
Double_t quality )
virtual

◆ SetEventHeaderGeneral() [1/3]

void BesEventHeader::SetEventHeaderGeneral ( Long64_t run,
Long64_t event,
Int_t time1,
Int_t time2 )
virtual

Definition at line 79 of file BesEventHeader.cxx.

80 {
81 //
82 // Set general event header
83 fRun = run;
84 fEvent = event;
85
86 // modify date
87 if ( time1 > 0 )
88 {
89 int a, b;
90 a = time1 % 100;
91 fDay = a;
92
93 b = ( time1 - a ) % 10000;
94 fMonth = b / 100;
95
96 fYear = ( time1 - a - b ) / 10000;
97 }
98
99 // modify time
100 if ( time2 > 0 )
101 {
102 int c, d;
103 c = time2 % 100;
104 fSec = c;
105
106 d = ( time2 - c ) % 10000;
107 fMin = d / 100;
108
109 fHour = ( time2 - c - d ) / 10000;
110 }
111}

◆ SetEventHeaderGeneral() [2/3]

virtual void BesEventHeader::SetEventHeaderGeneral ( Long64_t run,
Long64_t event,
Int_t time1,
Int_t time2 )
virtual

◆ SetEventHeaderGeneral() [3/3]

virtual void BesEventHeader::SetEventHeaderGeneral ( Long64_t run,
Long64_t event,
Int_t time1,
Int_t time2 )
virtual

◆ SetEventMC() [1/3]

void BesEventHeader::SetEventMC ( Bool_t mc)
virtual

Definition at line 115 of file BesEventHeader.cxx.

115{ fMC = mc; }

◆ SetEventMC() [2/3]

virtual void BesEventHeader::SetEventMC ( Bool_t mc)
virtual

◆ SetEventMC() [3/3]

virtual void BesEventHeader::SetEventMC ( Bool_t mc)
virtual

◆ SetEventMdc() [1/3]

void BesEventHeader::SetEventMdc ( Double_t p,
Double_t pt,
Double_t px,
Double_t py,
Double_t pz )
virtual

Definition at line 131 of file BesEventHeader.cxx.

132 {
133 fP = p;
134 fPt = pt;
135 fPx = px;
136 fPy = py;
137 fPz = pz;
138}

◆ SetEventMdc() [2/3]

virtual void BesEventHeader::SetEventMdc ( Double_t p,
Double_t pt,
Double_t px,
Double_t py,
Double_t pz )
virtual

◆ SetEventMdc() [3/3]

virtual void BesEventHeader::SetEventMdc ( Double_t p,
Double_t pt,
Double_t px,
Double_t py,
Double_t pz )
virtual

◆ SetEventRec() [1/3]

void BesEventHeader::SetEventRec ( Bool_t rec)
virtual

Definition at line 119 of file BesEventHeader.cxx.

119{ fRec = rec; }

◆ SetEventRec() [2/3]

virtual void BesEventHeader::SetEventRec ( Bool_t rec)
virtual

◆ SetEventRec() [3/3]

virtual void BesEventHeader::SetEventRec ( Bool_t rec)
virtual

◆ SetEventTof() [1/3]

void BesEventHeader::SetEventTof ( Double_t t)
virtual

Definition at line 142 of file BesEventHeader.cxx.

142{ fT = t; }
int t()
Definition t.c:1

◆ SetEventTof() [2/3]

virtual void BesEventHeader::SetEventTof ( Double_t t)
virtual

◆ SetEventTof() [3/3]

virtual void BesEventHeader::SetEventTof ( Double_t t)
virtual

◆ SetEventTrig() [1/3]

virtual void BesEventHeader::SetEventTrig ( Int_t timeType,
vector< Int_t > & trigConditionVector,
vector< Int_t > & trigChannelVector )
virtual

◆ SetEventTrig() [2/3]

virtual void BesEventHeader::SetEventTrig ( Int_t timeType,
vector< Int_t > & trigConditionVector,
vector< Int_t > & trigChannelVector )
virtual

◆ SetEventTrig() [3/3]

void BesEventHeader::SetEventTrig ( Int_t timeType,
vector< Int_t > & trigConditionVector,
vector< Int_t > & trigChannelVector )
virtual

Definition at line 58 of file BesEventHeader.cxx.

59 {
60
61 fTimeType = timeType;
62 fTrigChannelVector.clear();
63 fTrigConditionVector.clear();
64 fTrigChannelVector = trigChannelVector;
65 fTrigConditionVector = trigConditionVector;
66 //************************************
67 cout << "BesEventHeader::time Type: " << timeType << endl;
68 vector<Int_t>::iterator pTrigVector;
69 for ( pTrigVector = trigConditionVector.begin(); pTrigVector != trigConditionVector.end();
70 pTrigVector++ )
71 { cout << "BesEventHeader::trigCondition: " << *pTrigVector << endl; }
72 for ( pTrigVector = trigChannelVector.begin(); pTrigVector != trigChannelVector.end();
73 pTrigVector++ )
74 { cout << "BesEventHeader::trigChannel: " << *pTrigVector << endl; }
75 //************************************
76}

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