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

#include <AsciiData.hh>

Inheritance diagram for HitEVENT:

Public Member Functions

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

HitEVENT::HitEVENT ( )
inline

Definition at line 439 of file Event/AsciiDmp/include/AsciiDmp/AsciiData.hh.

439{};

Referenced by operator<<, and operator>>.

◆ HitEVENT() [2/3]

HitEVENT::HitEVENT ( )
inline

◆ HitEVENT() [3/3]

HitEVENT::HitEVENT ( )
inline

◆ operator<< [1/3]

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

Definition at line 887 of file AsciiData.cc.

887 {
888 os << std::endl << "{ HITEVENT" << std::endl;
889 if ( x.initialized() )
890 {
891 os << " " << x.header;
892 os << " " << x.decayMode;
893 os << " " << x.trackTruth;
894 os << " " << x.vertexTruth;
895 os << " " << x.mdcTruth;
896 os << " " << x.mdcHit;
897 os << " " << x.tofTruth;
898 os << " " << x.tofHit;
899 os << " " << x.emcTruth;
900 os << " " << x.emcHit;
901 os << " " << x.mucTruth;
902 os << " " << x.mucHit;
903 }
904 os << std::endl << "} HITEVENT" << std::endl;
905 return os;
906}
Double_t x[10]

◆ operator<< [2/3]

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

Definition at line 887 of file AsciiData.cc.

887 {
888 os << std::endl << "{ HITEVENT" << std::endl;
889 if ( x.initialized() )
890 {
891 os << " " << x.header;
892 os << " " << x.decayMode;
893 os << " " << x.trackTruth;
894 os << " " << x.vertexTruth;
895 os << " " << x.mdcTruth;
896 os << " " << x.mdcHit;
897 os << " " << x.tofTruth;
898 os << " " << x.tofHit;
899 os << " " << x.emcTruth;
900 os << " " << x.emcHit;
901 os << " " << x.mucTruth;
902 os << " " << x.mucHit;
903 }
904 os << std::endl << "} HITEVENT" << std::endl;
905 return os;
906}

◆ operator<< [3/3]

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

Definition at line 887 of file AsciiData.cc.

887 {
888 os << std::endl << "{ HITEVENT" << std::endl;
889 if ( x.initialized() )
890 {
891 os << " " << x.header;
892 os << " " << x.decayMode;
893 os << " " << x.trackTruth;
894 os << " " << x.vertexTruth;
895 os << " " << x.mdcTruth;
896 os << " " << x.mdcHit;
897 os << " " << x.tofTruth;
898 os << " " << x.tofHit;
899 os << " " << x.emcTruth;
900 os << " " << x.emcHit;
901 os << " " << x.mucTruth;
902 os << " " << x.mucHit;
903 }
904 os << std::endl << "} HITEVENT" << std::endl;
905 return os;
906}

◆ operator>> [1/3]

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

Definition at line 816 of file AsciiData.cc.

816 {
817 x.check_start_tag( is, "HITEVENT" );
818 if ( !x.initialized() ) return is;
819
820 try
821 { is >> x.header; } catch ( AsciiDumpException& )
822 { std::cerr << "Got AsciiDumpException eror while reading header block !!!" << std::endl; }
823
824 try
825 { is >> x.decayMode; } catch ( AsciiDumpException& )
826 {
827 std::cerr << "Got AsciiDumpException eror while reading decay mode block !!!" << std::endl;
828 }
829
830 try
831 { is >> x.trackTruth; } catch ( AsciiDumpException& )
832 {
833 std::cerr << "Got AsciiDumpException eror while reading track truth block !!!"
834 << std::endl;
835 }
836
837 try
838 { is >> x.vertexTruth; } catch ( AsciiDumpException& )
839 {
840 std::cerr << "Got AsciiDumpException eror while reading vertex truth block !!!"
841 << std::endl;
842 }
843
844 try
845 { is >> x.mdcTruth; } catch ( AsciiDumpException& )
846 {
847 std::cerr << "Got AsciiDumpException eror while reading mdc truth block !!!" << std::endl;
848 }
849
850 try
851 { is >> x.mdcHit; } catch ( AsciiDumpException& )
852 { std::cerr << "Got AsciiDumpException eror while reading mdc hit block !!!" << std::endl; }
853
854 try
855 { is >> x.tofTruth; } catch ( AsciiDumpException& )
856 {
857 std::cerr << "Got AsciiDumpException eror while reading tof truth block !!!" << std::endl;
858 }
859
860 try
861 { is >> x.tofHit; } catch ( AsciiDumpException& )
862 { std::cerr << "Got AsciiDumpException eror while reading tof hiti block !!!" << std::endl; }
863
864 try
865 { is >> x.emcTruth; } catch ( AsciiDumpException& )
866 {
867 std::cerr << "Got AsciiDumpException eror while reading emc truth block !!!" << std::endl;
868 }
869
870 try
871 { is >> x.emcHit; } catch ( AsciiDumpException& )
872 { std::cerr << "Got AsciiDumpException eror while reading emc hit block !!!" << std::endl; }
873
874 try
875 { is >> x.mucTruth; } catch ( AsciiDumpException& )
876 {
877 std::cerr << "Got AsciiDumpException eror while reading muc truth block !!!" << std::endl;
878 }
879
880 try
881 { is >> x.mucHit; } catch ( AsciiDumpException& )
882 { std::cerr << "Got AsciiDumpException eror while reading muc hit block !!!" << std::endl; }
883 x.check_end_tag( is, "HITEVENT" );
884 return is;
885}

◆ operator>> [2/3]

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

Definition at line 816 of file AsciiData.cc.

816 {
817 x.check_start_tag( is, "HITEVENT" );
818 if ( !x.initialized() ) return is;
819
820 try
821 { is >> x.header; } catch ( AsciiDumpException& )
822 { std::cerr << "Got AsciiDumpException eror while reading header block !!!" << std::endl; }
823
824 try
825 { is >> x.decayMode; } catch ( AsciiDumpException& )
826 {
827 std::cerr << "Got AsciiDumpException eror while reading decay mode block !!!" << std::endl;
828 }
829
830 try
831 { is >> x.trackTruth; } catch ( AsciiDumpException& )
832 {
833 std::cerr << "Got AsciiDumpException eror while reading track truth block !!!"
834 << std::endl;
835 }
836
837 try
838 { is >> x.vertexTruth; } catch ( AsciiDumpException& )
839 {
840 std::cerr << "Got AsciiDumpException eror while reading vertex truth block !!!"
841 << std::endl;
842 }
843
844 try
845 { is >> x.mdcTruth; } catch ( AsciiDumpException& )
846 {
847 std::cerr << "Got AsciiDumpException eror while reading mdc truth block !!!" << std::endl;
848 }
849
850 try
851 { is >> x.mdcHit; } catch ( AsciiDumpException& )
852 { std::cerr << "Got AsciiDumpException eror while reading mdc hit block !!!" << std::endl; }
853
854 try
855 { is >> x.tofTruth; } catch ( AsciiDumpException& )
856 {
857 std::cerr << "Got AsciiDumpException eror while reading tof truth block !!!" << std::endl;
858 }
859
860 try
861 { is >> x.tofHit; } catch ( AsciiDumpException& )
862 { std::cerr << "Got AsciiDumpException eror while reading tof hiti block !!!" << std::endl; }
863
864 try
865 { is >> x.emcTruth; } catch ( AsciiDumpException& )
866 {
867 std::cerr << "Got AsciiDumpException eror while reading emc truth block !!!" << std::endl;
868 }
869
870 try
871 { is >> x.emcHit; } catch ( AsciiDumpException& )
872 { std::cerr << "Got AsciiDumpException eror while reading emc hit block !!!" << std::endl; }
873
874 try
875 { is >> x.mucTruth; } catch ( AsciiDumpException& )
876 {
877 std::cerr << "Got AsciiDumpException eror while reading muc truth block !!!" << std::endl;
878 }
879
880 try
881 { is >> x.mucHit; } catch ( AsciiDumpException& )
882 { std::cerr << "Got AsciiDumpException eror while reading muc hit block !!!" << std::endl; }
883 x.check_end_tag( is, "HITEVENT" );
884 return is;
885}

◆ operator>> [3/3]

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

Definition at line 816 of file AsciiData.cc.

816 {
817 x.check_start_tag( is, "HITEVENT" );
818 if ( !x.initialized() ) return is;
819
820 try
821 { is >> x.header; } catch ( AsciiDumpException& )
822 { std::cerr << "Got AsciiDumpException eror while reading header block !!!" << std::endl; }
823
824 try
825 { is >> x.decayMode; } catch ( AsciiDumpException& )
826 {
827 std::cerr << "Got AsciiDumpException eror while reading decay mode block !!!" << std::endl;
828 }
829
830 try
831 { is >> x.trackTruth; } catch ( AsciiDumpException& )
832 {
833 std::cerr << "Got AsciiDumpException eror while reading track truth block !!!"
834 << std::endl;
835 }
836
837 try
838 { is >> x.vertexTruth; } catch ( AsciiDumpException& )
839 {
840 std::cerr << "Got AsciiDumpException eror while reading vertex truth block !!!"
841 << std::endl;
842 }
843
844 try
845 { is >> x.mdcTruth; } catch ( AsciiDumpException& )
846 {
847 std::cerr << "Got AsciiDumpException eror while reading mdc truth block !!!" << std::endl;
848 }
849
850 try
851 { is >> x.mdcHit; } catch ( AsciiDumpException& )
852 { std::cerr << "Got AsciiDumpException eror while reading mdc hit block !!!" << std::endl; }
853
854 try
855 { is >> x.tofTruth; } catch ( AsciiDumpException& )
856 {
857 std::cerr << "Got AsciiDumpException eror while reading tof truth block !!!" << std::endl;
858 }
859
860 try
861 { is >> x.tofHit; } catch ( AsciiDumpException& )
862 { std::cerr << "Got AsciiDumpException eror while reading tof hiti block !!!" << std::endl; }
863
864 try
865 { is >> x.emcTruth; } catch ( AsciiDumpException& )
866 {
867 std::cerr << "Got AsciiDumpException eror while reading emc truth block !!!" << std::endl;
868 }
869
870 try
871 { is >> x.emcHit; } catch ( AsciiDumpException& )
872 { std::cerr << "Got AsciiDumpException eror while reading emc hit block !!!" << std::endl; }
873
874 try
875 { is >> x.mucTruth; } catch ( AsciiDumpException& )
876 {
877 std::cerr << "Got AsciiDumpException eror while reading muc truth block !!!" << std::endl;
878 }
879
880 try
881 { is >> x.mucHit; } catch ( AsciiDumpException& )
882 { std::cerr << "Got AsciiDumpException eror while reading muc hit block !!!" << std::endl; }
883 x.check_end_tag( is, "HITEVENT" );
884 return is;
885}

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: