BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
HitEVENT Class Reference

#include <AsciiData.hh>

+ Inheritance diagram for HitEVENT:

Public Member Functions

 HitEVENT ()
 
 HitEVENT ()
 
- 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
 
MDCHIT mdcHit
 
TOFTRUTH tofTruth
 
TOFHIT tofHit
 
EMCTRUTH emcTruth
 
EMCHIT emcHit
 
MUCTRUTH mucTruth
 
MUCHIT mucHit
 

Friends

std::istream & operator>> (std::istream &, HitEVENT &x)
 
std::ostream & operator<< (std::ostream &, const HitEVENT &x)
 
std::istream & operator>> (std::istream &, HitEVENT &x)
 
std::ostream & operator<< (std::ostream &, const HitEVENT &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

◆ HitEVENT() [1/2]

HitEVENT::HitEVENT ( )
inline

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

411{};

◆ HitEVENT() [2/2]

HitEVENT::HitEVENT ( )
inline

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

411{};

Friends And Related Function Documentation

◆ operator<< [1/2]

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

Definition at line 967 of file AsciiData.cc.

968{
969 os << std::endl << "{ HITEVENT" << std::endl;
970 if(x.initialized()) {
971 os << " " << x.header;
972 os << " " << x.decayMode;
973 os << " " << x.trackTruth;
974 os << " " << x.vertexTruth;
975 os << " " << x.mdcTruth;
976 os << " " << x.mdcHit;
977 os << " " << x.tofTruth;
978 os << " " << x.tofHit;
979 os << " " << x.emcTruth;
980 os << " " << x.emcHit;
981 os << " " << x.mucTruth;
982 os << " " << x.mucHit;
983 }
984 os << std::endl << "} HITEVENT" << std::endl;
985 return os;
986}
Double_t x[10]

◆ operator<< [2/2]

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

Definition at line 967 of file AsciiData.cc.

968{
969 os << std::endl << "{ HITEVENT" << std::endl;
970 if(x.initialized()) {
971 os << " " << x.header;
972 os << " " << x.decayMode;
973 os << " " << x.trackTruth;
974 os << " " << x.vertexTruth;
975 os << " " << x.mdcTruth;
976 os << " " << x.mdcHit;
977 os << " " << x.tofTruth;
978 os << " " << x.tofHit;
979 os << " " << x.emcTruth;
980 os << " " << x.emcHit;
981 os << " " << x.mucTruth;
982 os << " " << x.mucHit;
983 }
984 os << std::endl << "} HITEVENT" << std::endl;
985 return os;
986}

◆ operator>> [1/2]

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

Definition at line 887 of file AsciiData.cc.

888{
889 x.check_start_tag(is,"HITEVENT");
890 if(!x.initialized()) return is;
891
892 try {
893 is >> x.header;
894 } catch(AsciiDumpException& ) {
895 std::cerr << "Got AsciiDumpException eror while reading header block !!!" << std::endl;
896 }
897
898 try {
899 is >> x.decayMode;
900 } catch(AsciiDumpException& ) {
901 std::cerr << "Got AsciiDumpException eror while reading decay mode block !!!" << std::endl;
902 }
903
904 try {
905 is >> x.trackTruth;
906 } catch(AsciiDumpException& ) {
907 std::cerr << "Got AsciiDumpException eror while reading track truth block !!!" << std::endl;
908 }
909
910 try {
911 is >> x.vertexTruth;
912 } catch (AsciiDumpException& ) {
913 std::cerr << "Got AsciiDumpException eror while reading vertex truth block !!!" << std::endl;
914 }
915
916 try {
917 is >> x.mdcTruth;
918 } catch (AsciiDumpException& ) {
919 std::cerr << "Got AsciiDumpException eror while reading mdc truth block !!!" << std::endl;
920 }
921
922 try {
923 is >> x.mdcHit;
924 } catch (AsciiDumpException& ) {
925 std::cerr << "Got AsciiDumpException eror while reading mdc hit block !!!" << std::endl;
926 }
927
928 try {
929 is >> x.tofTruth;
930 } catch (AsciiDumpException& ) {
931 std::cerr << "Got AsciiDumpException eror while reading tof truth block !!!" << std::endl;
932 }
933
934 try {
935 is >> x.tofHit;
936 } catch (AsciiDumpException& ) {
937 std::cerr << "Got AsciiDumpException eror while reading tof hiti block !!!" << std::endl;
938 }
939
940 try {
941 is >> x.emcTruth;
942 } catch (AsciiDumpException& ) {
943 std::cerr << "Got AsciiDumpException eror while reading emc truth block !!!" << std::endl;
944 }
945
946 try {
947 is >> x.emcHit;
948 } catch (AsciiDumpException& ) {
949 std::cerr << "Got AsciiDumpException eror while reading emc hit block !!!" << std::endl;
950 }
951
952 try {
953 is >> x.mucTruth;
954 } catch (AsciiDumpException& ) {
955 std::cerr << "Got AsciiDumpException eror while reading muc truth block !!!" << std::endl;
956 }
957
958 try {
959 is >> x.mucHit;
960 } catch (AsciiDumpException& ) {
961 std::cerr << "Got AsciiDumpException eror while reading muc hit block !!!" << std::endl;
962 }
963 x.check_end_tag(is, "HITEVENT");
964 return is;
965}

◆ operator>> [2/2]

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

Definition at line 887 of file AsciiData.cc.

888{
889 x.check_start_tag(is,"HITEVENT");
890 if(!x.initialized()) return is;
891
892 try {
893 is >> x.header;
894 } catch(AsciiDumpException& ) {
895 std::cerr << "Got AsciiDumpException eror while reading header block !!!" << std::endl;
896 }
897
898 try {
899 is >> x.decayMode;
900 } catch(AsciiDumpException& ) {
901 std::cerr << "Got AsciiDumpException eror while reading decay mode block !!!" << std::endl;
902 }
903
904 try {
905 is >> x.trackTruth;
906 } catch(AsciiDumpException& ) {
907 std::cerr << "Got AsciiDumpException eror while reading track truth block !!!" << std::endl;
908 }
909
910 try {
911 is >> x.vertexTruth;
912 } catch (AsciiDumpException& ) {
913 std::cerr << "Got AsciiDumpException eror while reading vertex truth block !!!" << std::endl;
914 }
915
916 try {
917 is >> x.mdcTruth;
918 } catch (AsciiDumpException& ) {
919 std::cerr << "Got AsciiDumpException eror while reading mdc truth block !!!" << std::endl;
920 }
921
922 try {
923 is >> x.mdcHit;
924 } catch (AsciiDumpException& ) {
925 std::cerr << "Got AsciiDumpException eror while reading mdc hit block !!!" << std::endl;
926 }
927
928 try {
929 is >> x.tofTruth;
930 } catch (AsciiDumpException& ) {
931 std::cerr << "Got AsciiDumpException eror while reading tof truth block !!!" << std::endl;
932 }
933
934 try {
935 is >> x.tofHit;
936 } catch (AsciiDumpException& ) {
937 std::cerr << "Got AsciiDumpException eror while reading tof hiti block !!!" << std::endl;
938 }
939
940 try {
941 is >> x.emcTruth;
942 } catch (AsciiDumpException& ) {
943 std::cerr << "Got AsciiDumpException eror while reading emc truth block !!!" << std::endl;
944 }
945
946 try {
947 is >> x.emcHit;
948 } catch (AsciiDumpException& ) {
949 std::cerr << "Got AsciiDumpException eror while reading emc hit block !!!" << std::endl;
950 }
951
952 try {
953 is >> x.mucTruth;
954 } catch (AsciiDumpException& ) {
955 std::cerr << "Got AsciiDumpException eror while reading muc truth block !!!" << std::endl;
956 }
957
958 try {
959 is >> x.mucHit;
960 } catch (AsciiDumpException& ) {
961 std::cerr << "Got AsciiDumpException eror while reading muc hit block !!!" << std::endl;
962 }
963 x.check_end_tag(is, "HITEVENT");
964 return is;
965}

Member Data Documentation

◆ decayMode

◆ emcHit

EMCHIT HitEVENT::emcHit

◆ emcTruth

EMCTRUTH HitEVENT::emcTruth

◆ header

EVHEAD HitEVENT::header

◆ mdcHit

◆ mdcTruth

◆ mucHit

MUCHIT HitEVENT::mucHit

◆ mucTruth

MUCTRUTH HitEVENT::mucTruth

◆ tofHit

TOFHIT HitEVENT::tofHit

◆ tofTruth

TOFTRUTH HitEVENT::tofTruth

◆ trackTruth

◆ vertexTruth


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