CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
EVENT Class Reference

#include <AsciiData.hh>

+ Inheritance diagram for EVENT:

Public Member Functions

 EVENT ()
 
 EVENT ()
 
 EVENT ()
 
 EVENT ()
 
- Public Member Functions inherited from Tagged
 Tagged ()
 
bool initialized () const
 
void set_initialized ()
 
void unset_initalized ()
 
 Tagged ()
 
bool initialized () const
 
void set_initialized ()
 
void unset_initalized ()
 
 Tagged ()
 
bool initialized () const
 
void set_initialized ()
 
void unset_initalized ()
 
 Tagged ()
 
bool initialized () const
 
void set_initialized ()
 
void unset_initalized ()
 

Public Attributes

EVHEAD header
 
DECAYMODE decayMode
 
TRACKTRUTH trackTruth
 
VERTEXTRUTH vertexTruth
 
MDCTRUTH mdcTruth
 
MDCDIGI mdcDigi
 
CGEMTRUTH cgemTruth
 
CGEMDIGI cgemDigi
 
TOFTRUTH tofTruth
 
TOFDIGI tofDigi
 
EMCTRUTH emcTruth
 
EMCDIGI emcDigi
 
MUCTRUTH mucTruth
 
MUCDIGI mucDigi
 

Friends

std::istream & operator>> (std::istream &, EVENT &x)
 
std::ostream & operator<< (std::ostream &, const EVENT &x)
 
std::istream & operator>> (std::istream &, EVENT &x)
 
std::ostream & operator<< (std::ostream &, const EVENT &x)
 
std::istream & operator>> (std::istream &, EVENT &x)
 
std::ostream & operator<< (std::ostream &, const EVENT &x)
 
std::istream & operator>> (std::istream &, EVENT &x)
 
std::ostream & operator<< (std::ostream &, const EVENT &x)
 

Additional Inherited Members

- Protected Member Functions inherited from Tagged
void check_start_tag (std::istream &is, const char *tag)
 
void check_end_tag (std::istream &is, const char *tag)
 
void check_start_tag (std::istream &is, const char *tag)
 
void check_end_tag (std::istream &is, const char *tag)
 
void check_start_tag (std::istream &is, const char *tag)
 
void check_end_tag (std::istream &is, const char *tag)
 
void check_start_tag (std::istream &is, const char *tag)
 
void check_end_tag (std::istream &is, const char *tag)
 

Detailed Description

Constructor & Destructor Documentation

◆ EVENT() [1/4]

EVENT::EVENT ( )
inline

Definition at line 516 of file Event/AsciiDmp/AsciiDmp-01-04-03/AsciiDmp/AsciiData.hh.

516{};

◆ EVENT() [2/4]

EVENT::EVENT ( )
inline

Definition at line 516 of file InstallArea/include/AsciiDmp/AsciiDmp/AsciiData.hh.

516{};

◆ EVENT() [3/4]

EVENT::EVENT ( )
inline

Definition at line 304 of file InstallArea/include/Trigger/Trigger/AsciiData.h.

304{};

◆ EVENT() [4/4]

EVENT::EVENT ( )
inline

Definition at line 304 of file Trigger/Trigger/Trigger-00-01-05/Trigger/AsciiData.h.

304{};

Friends And Related Function Documentation

◆ operator<< [1/4]

std::ostream & operator<< ( std::ostream &  os,
const EVENT x 
)
friend

Definition at line 1129 of file AsciiData.cc.

1130{
1131 os << std::endl << "{ EVENT" << std::endl;
1132 if(x.initialized()) {
1133 os << " " << x.header;
1134 os << " " << x.decayMode;
1135 os << " " << x.trackTruth;
1136 os << " " << x.vertexTruth;
1137 os << " " << x.mdcTruth;
1138 os << " " << x.mdcDigi;
1139 os << " " << x.cgemTruth;
1140 os << " " << x.cgemDigi;
1141 os << " " << x.tofTruth;
1142 os << " " << x.tofDigi;
1143 os << " " << x.emcTruth;
1144 os << " " << x.emcDigi;
1145 os << " " << x.mucTruth;
1146 os << " " << x.mucDigi;
1147 }
1148 os << std::endl << "} EVENT" << std::endl;
1149 return os;
1150}
Double_t x[10]

◆ operator<< [2/4]

std::ostream & operator<< ( std::ostream &  os,
const EVENT x 
)
friend

Definition at line 1129 of file AsciiData.cc.

1130{
1131 os << std::endl << "{ EVENT" << std::endl;
1132 if(x.initialized()) {
1133 os << " " << x.header;
1134 os << " " << x.decayMode;
1135 os << " " << x.trackTruth;
1136 os << " " << x.vertexTruth;
1137 os << " " << x.mdcTruth;
1138 os << " " << x.mdcDigi;
1139 os << " " << x.cgemTruth;
1140 os << " " << x.cgemDigi;
1141 os << " " << x.tofTruth;
1142 os << " " << x.tofDigi;
1143 os << " " << x.emcTruth;
1144 os << " " << x.emcDigi;
1145 os << " " << x.mucTruth;
1146 os << " " << x.mucDigi;
1147 }
1148 os << std::endl << "} EVENT" << std::endl;
1149 return os;
1150}

◆ operator<< [3/4]

std::ostream & operator<< ( std::ostream &  os,
const EVENT x 
)
friend

Definition at line 1129 of file AsciiData.cc.

1130{
1131 os << std::endl << "{ EVENT" << std::endl;
1132 if(x.initialized()) {
1133 os << " " << x.header;
1134 os << " " << x.decayMode;
1135 os << " " << x.trackTruth;
1136 os << " " << x.vertexTruth;
1137 os << " " << x.mdcTruth;
1138 os << " " << x.mdcDigi;
1139 os << " " << x.cgemTruth;
1140 os << " " << x.cgemDigi;
1141 os << " " << x.tofTruth;
1142 os << " " << x.tofDigi;
1143 os << " " << x.emcTruth;
1144 os << " " << x.emcDigi;
1145 os << " " << x.mucTruth;
1146 os << " " << x.mucDigi;
1147 }
1148 os << std::endl << "} EVENT" << std::endl;
1149 return os;
1150}

◆ operator<< [4/4]

std::ostream & operator<< ( std::ostream &  os,
const EVENT x 
)
friend

Definition at line 1129 of file AsciiData.cc.

1130{
1131 os << std::endl << "{ EVENT" << std::endl;
1132 if(x.initialized()) {
1133 os << " " << x.header;
1134 os << " " << x.decayMode;
1135 os << " " << x.trackTruth;
1136 os << " " << x.vertexTruth;
1137 os << " " << x.mdcTruth;
1138 os << " " << x.mdcDigi;
1139 os << " " << x.cgemTruth;
1140 os << " " << x.cgemDigi;
1141 os << " " << x.tofTruth;
1142 os << " " << x.tofDigi;
1143 os << " " << x.emcTruth;
1144 os << " " << x.emcDigi;
1145 os << " " << x.mucTruth;
1146 os << " " << x.mucDigi;
1147 }
1148 os << std::endl << "} EVENT" << std::endl;
1149 return os;
1150}

◆ operator>> [1/4]

std::istream & operator>> ( std::istream &  is,
EVENT x 
)
friend

Definition at line 1037 of file AsciiData.cc.

1038{
1039 x.check_start_tag(is,"EVENT");
1040 if(!x.initialized()) return is;
1041
1042 try {
1043 is >> x.header;
1044 } catch(AsciiDumpException& ) {
1045 std::cerr << "Got AsciiDumpException eror while reading header block !!!" << std::endl;
1046 }
1047
1048 try {
1049 is >> x.decayMode;
1050 } catch(AsciiDumpException& ) {
1051 std::cerr << "Got AsciiDumpException eror while reading decay mode block !!!" << std::endl;
1052 }
1053
1054 try {
1055 is >> x.trackTruth;
1056 } catch(AsciiDumpException& ) {
1057 std::cerr << "Got AsciiDumpException eror while reading track truth block !!!" << std::endl;
1058 }
1059
1060 try {
1061 is >> x.vertexTruth;
1062 } catch (AsciiDumpException& ) {
1063 std::cerr << "Got AsciiDumpException eror while reading vertex truth block !!!" << std::endl;
1064 }
1065
1066 try {
1067 is >> x.mdcTruth;
1068 } catch (AsciiDumpException& ) {
1069 std::cerr << "Got AsciiDumpException eror while reading mdc truth block !!!" << std::endl;
1070 }
1071
1072 try {
1073 is >> x.mdcDigi;
1074 } catch (AsciiDumpException& ) {
1075 std::cerr << "Got AsciiDumpException eror while reading mdc digi block !!!" << std::endl;
1076 }
1077
1078 try {
1079 is >> x.cgemTruth;
1080 } catch (AsciiDumpException& ) {
1081 std::cerr << "Got AsciiDumpException eror while reading cgem truth block !!!" << std::endl;
1082 }
1083
1084 try {
1085 is >> x.cgemDigi;
1086 } catch (AsciiDumpException& ) {
1087 std::cerr << "Got AsciiDumpException eror while reading cgem digi block !!!" << std::endl;
1088 }
1089
1090 try {
1091 is >> x.tofTruth;
1092 } catch (AsciiDumpException& ) {
1093 std::cerr << "Got AsciiDumpException eror while reading tof truth block !!!" << std::endl;
1094 }
1095
1096 try {
1097 is >> x.tofDigi;
1098 } catch (AsciiDumpException& ) {
1099 std::cerr << "Got AsciiDumpException eror while reading tof digi block !!!" << std::endl;
1100 }
1101
1102 try {
1103 is >> x.emcTruth;
1104 } catch (AsciiDumpException& ) {
1105 std::cerr << "Got AsciiDumpException eror while reading emc truth block !!!" << std::endl;
1106 }
1107
1108 try {
1109 is >> x.emcDigi;
1110 } catch (AsciiDumpException& ) {
1111 std::cerr << "Got AsciiDumpException eror while reading emc digi block !!!" << std::endl;
1112 }
1113
1114 try {
1115 is >> x.mucTruth;
1116 } catch (AsciiDumpException& ) {
1117 std::cerr << "Got AsciiDumpException eror while reading muc truth block !!!" << std::endl;
1118 }
1119
1120 try {
1121 is >> x.mucDigi;
1122 } catch (AsciiDumpException& ) {
1123 std::cerr << "Got AsciiDumpException eror while reading muc digi block !!!" << std::endl;
1124 }
1125 x.check_end_tag(is, "EVENT");
1126 return is;
1127}

◆ operator>> [2/4]

std::istream & operator>> ( std::istream &  is,
EVENT x 
)
friend

Definition at line 1037 of file AsciiData.cc.

1038{
1039 x.check_start_tag(is,"EVENT");
1040 if(!x.initialized()) return is;
1041
1042 try {
1043 is >> x.header;
1044 } catch(AsciiDumpException& ) {
1045 std::cerr << "Got AsciiDumpException eror while reading header block !!!" << std::endl;
1046 }
1047
1048 try {
1049 is >> x.decayMode;
1050 } catch(AsciiDumpException& ) {
1051 std::cerr << "Got AsciiDumpException eror while reading decay mode block !!!" << std::endl;
1052 }
1053
1054 try {
1055 is >> x.trackTruth;
1056 } catch(AsciiDumpException& ) {
1057 std::cerr << "Got AsciiDumpException eror while reading track truth block !!!" << std::endl;
1058 }
1059
1060 try {
1061 is >> x.vertexTruth;
1062 } catch (AsciiDumpException& ) {
1063 std::cerr << "Got AsciiDumpException eror while reading vertex truth block !!!" << std::endl;
1064 }
1065
1066 try {
1067 is >> x.mdcTruth;
1068 } catch (AsciiDumpException& ) {
1069 std::cerr << "Got AsciiDumpException eror while reading mdc truth block !!!" << std::endl;
1070 }
1071
1072 try {
1073 is >> x.mdcDigi;
1074 } catch (AsciiDumpException& ) {
1075 std::cerr << "Got AsciiDumpException eror while reading mdc digi block !!!" << std::endl;
1076 }
1077
1078 try {
1079 is >> x.cgemTruth;
1080 } catch (AsciiDumpException& ) {
1081 std::cerr << "Got AsciiDumpException eror while reading cgem truth block !!!" << std::endl;
1082 }
1083
1084 try {
1085 is >> x.cgemDigi;
1086 } catch (AsciiDumpException& ) {
1087 std::cerr << "Got AsciiDumpException eror while reading cgem digi block !!!" << std::endl;
1088 }
1089
1090 try {
1091 is >> x.tofTruth;
1092 } catch (AsciiDumpException& ) {
1093 std::cerr << "Got AsciiDumpException eror while reading tof truth block !!!" << std::endl;
1094 }
1095
1096 try {
1097 is >> x.tofDigi;
1098 } catch (AsciiDumpException& ) {
1099 std::cerr << "Got AsciiDumpException eror while reading tof digi block !!!" << std::endl;
1100 }
1101
1102 try {
1103 is >> x.emcTruth;
1104 } catch (AsciiDumpException& ) {
1105 std::cerr << "Got AsciiDumpException eror while reading emc truth block !!!" << std::endl;
1106 }
1107
1108 try {
1109 is >> x.emcDigi;
1110 } catch (AsciiDumpException& ) {
1111 std::cerr << "Got AsciiDumpException eror while reading emc digi block !!!" << std::endl;
1112 }
1113
1114 try {
1115 is >> x.mucTruth;
1116 } catch (AsciiDumpException& ) {
1117 std::cerr << "Got AsciiDumpException eror while reading muc truth block !!!" << std::endl;
1118 }
1119
1120 try {
1121 is >> x.mucDigi;
1122 } catch (AsciiDumpException& ) {
1123 std::cerr << "Got AsciiDumpException eror while reading muc digi block !!!" << std::endl;
1124 }
1125 x.check_end_tag(is, "EVENT");
1126 return is;
1127}

◆ operator>> [3/4]

std::istream & operator>> ( std::istream &  is,
EVENT x 
)
friend

Definition at line 1037 of file AsciiData.cc.

1038{
1039 x.check_start_tag(is,"EVENT");
1040 if(!x.initialized()) return is;
1041
1042 try {
1043 is >> x.header;
1044 } catch(AsciiDumpException& ) {
1045 std::cerr << "Got AsciiDumpException eror while reading header block !!!" << std::endl;
1046 }
1047
1048 try {
1049 is >> x.decayMode;
1050 } catch(AsciiDumpException& ) {
1051 std::cerr << "Got AsciiDumpException eror while reading decay mode block !!!" << std::endl;
1052 }
1053
1054 try {
1055 is >> x.trackTruth;
1056 } catch(AsciiDumpException& ) {
1057 std::cerr << "Got AsciiDumpException eror while reading track truth block !!!" << std::endl;
1058 }
1059
1060 try {
1061 is >> x.vertexTruth;
1062 } catch (AsciiDumpException& ) {
1063 std::cerr << "Got AsciiDumpException eror while reading vertex truth block !!!" << std::endl;
1064 }
1065
1066 try {
1067 is >> x.mdcTruth;
1068 } catch (AsciiDumpException& ) {
1069 std::cerr << "Got AsciiDumpException eror while reading mdc truth block !!!" << std::endl;
1070 }
1071
1072 try {
1073 is >> x.mdcDigi;
1074 } catch (AsciiDumpException& ) {
1075 std::cerr << "Got AsciiDumpException eror while reading mdc digi block !!!" << std::endl;
1076 }
1077
1078 try {
1079 is >> x.cgemTruth;
1080 } catch (AsciiDumpException& ) {
1081 std::cerr << "Got AsciiDumpException eror while reading cgem truth block !!!" << std::endl;
1082 }
1083
1084 try {
1085 is >> x.cgemDigi;
1086 } catch (AsciiDumpException& ) {
1087 std::cerr << "Got AsciiDumpException eror while reading cgem digi block !!!" << std::endl;
1088 }
1089
1090 try {
1091 is >> x.tofTruth;
1092 } catch (AsciiDumpException& ) {
1093 std::cerr << "Got AsciiDumpException eror while reading tof truth block !!!" << std::endl;
1094 }
1095
1096 try {
1097 is >> x.tofDigi;
1098 } catch (AsciiDumpException& ) {
1099 std::cerr << "Got AsciiDumpException eror while reading tof digi block !!!" << std::endl;
1100 }
1101
1102 try {
1103 is >> x.emcTruth;
1104 } catch (AsciiDumpException& ) {
1105 std::cerr << "Got AsciiDumpException eror while reading emc truth block !!!" << std::endl;
1106 }
1107
1108 try {
1109 is >> x.emcDigi;
1110 } catch (AsciiDumpException& ) {
1111 std::cerr << "Got AsciiDumpException eror while reading emc digi block !!!" << std::endl;
1112 }
1113
1114 try {
1115 is >> x.mucTruth;
1116 } catch (AsciiDumpException& ) {
1117 std::cerr << "Got AsciiDumpException eror while reading muc truth block !!!" << std::endl;
1118 }
1119
1120 try {
1121 is >> x.mucDigi;
1122 } catch (AsciiDumpException& ) {
1123 std::cerr << "Got AsciiDumpException eror while reading muc digi block !!!" << std::endl;
1124 }
1125 x.check_end_tag(is, "EVENT");
1126 return is;
1127}

◆ operator>> [4/4]

std::istream & operator>> ( std::istream &  is,
EVENT x 
)
friend

Definition at line 1037 of file AsciiData.cc.

1038{
1039 x.check_start_tag(is,"EVENT");
1040 if(!x.initialized()) return is;
1041
1042 try {
1043 is >> x.header;
1044 } catch(AsciiDumpException& ) {
1045 std::cerr << "Got AsciiDumpException eror while reading header block !!!" << std::endl;
1046 }
1047
1048 try {
1049 is >> x.decayMode;
1050 } catch(AsciiDumpException& ) {
1051 std::cerr << "Got AsciiDumpException eror while reading decay mode block !!!" << std::endl;
1052 }
1053
1054 try {
1055 is >> x.trackTruth;
1056 } catch(AsciiDumpException& ) {
1057 std::cerr << "Got AsciiDumpException eror while reading track truth block !!!" << std::endl;
1058 }
1059
1060 try {
1061 is >> x.vertexTruth;
1062 } catch (AsciiDumpException& ) {
1063 std::cerr << "Got AsciiDumpException eror while reading vertex truth block !!!" << std::endl;
1064 }
1065
1066 try {
1067 is >> x.mdcTruth;
1068 } catch (AsciiDumpException& ) {
1069 std::cerr << "Got AsciiDumpException eror while reading mdc truth block !!!" << std::endl;
1070 }
1071
1072 try {
1073 is >> x.mdcDigi;
1074 } catch (AsciiDumpException& ) {
1075 std::cerr << "Got AsciiDumpException eror while reading mdc digi block !!!" << std::endl;
1076 }
1077
1078 try {
1079 is >> x.cgemTruth;
1080 } catch (AsciiDumpException& ) {
1081 std::cerr << "Got AsciiDumpException eror while reading cgem truth block !!!" << std::endl;
1082 }
1083
1084 try {
1085 is >> x.cgemDigi;
1086 } catch (AsciiDumpException& ) {
1087 std::cerr << "Got AsciiDumpException eror while reading cgem digi block !!!" << std::endl;
1088 }
1089
1090 try {
1091 is >> x.tofTruth;
1092 } catch (AsciiDumpException& ) {
1093 std::cerr << "Got AsciiDumpException eror while reading tof truth block !!!" << std::endl;
1094 }
1095
1096 try {
1097 is >> x.tofDigi;
1098 } catch (AsciiDumpException& ) {
1099 std::cerr << "Got AsciiDumpException eror while reading tof digi block !!!" << std::endl;
1100 }
1101
1102 try {
1103 is >> x.emcTruth;
1104 } catch (AsciiDumpException& ) {
1105 std::cerr << "Got AsciiDumpException eror while reading emc truth block !!!" << std::endl;
1106 }
1107
1108 try {
1109 is >> x.emcDigi;
1110 } catch (AsciiDumpException& ) {
1111 std::cerr << "Got AsciiDumpException eror while reading emc digi block !!!" << std::endl;
1112 }
1113
1114 try {
1115 is >> x.mucTruth;
1116 } catch (AsciiDumpException& ) {
1117 std::cerr << "Got AsciiDumpException eror while reading muc truth block !!!" << std::endl;
1118 }
1119
1120 try {
1121 is >> x.mucDigi;
1122 } catch (AsciiDumpException& ) {
1123 std::cerr << "Got AsciiDumpException eror while reading muc digi block !!!" << std::endl;
1124 }
1125 x.check_end_tag(is, "EVENT");
1126 return is;
1127}

Member Data Documentation

◆ cgemDigi

◆ cgemTruth

◆ decayMode

◆ emcDigi

◆ emcTruth

◆ header

◆ mdcDigi

◆ mdcTruth

◆ mucDigi

◆ mucTruth

◆ tofDigi

◆ tofTruth

◆ trackTruth

◆ vertexTruth


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