BOSS 7.0.1
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
 
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 391 of file Event/AsciiDmp/AsciiDmp-01-03-01/AsciiDmp/AsciiData.hh.

391{};

◆ EVENT() [2/4]

EVENT::EVENT ( )
inline

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

391{};

◆ 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 866 of file AsciiData.cc.

867{
868 os << std::endl << "{ EVENT" << std::endl;
869 if(x.initialized()) {
870 os << " " << x.header;
871 os << " " << x.decayMode;
872 os << " " << x.trackTruth;
873 os << " " << x.vertexTruth;
874 os << " " << x.mdcTruth;
875 os << " " << x.mdcDigi;
876 os << " " << x.tofTruth;
877 os << " " << x.tofDigi;
878 os << " " << x.emcTruth;
879 os << " " << x.emcDigi;
880 os << " " << x.mucTruth;
881 os << " " << x.mucDigi;
882 }
883 os << std::endl << "} EVENT" << std::endl;
884 return os;
885}
Double_t x[10]

◆ operator<< [2/4]

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

Definition at line 866 of file AsciiData.cc.

867{
868 os << std::endl << "{ EVENT" << std::endl;
869 if(x.initialized()) {
870 os << " " << x.header;
871 os << " " << x.decayMode;
872 os << " " << x.trackTruth;
873 os << " " << x.vertexTruth;
874 os << " " << x.mdcTruth;
875 os << " " << x.mdcDigi;
876 os << " " << x.tofTruth;
877 os << " " << x.tofDigi;
878 os << " " << x.emcTruth;
879 os << " " << x.emcDigi;
880 os << " " << x.mucTruth;
881 os << " " << x.mucDigi;
882 }
883 os << std::endl << "} EVENT" << std::endl;
884 return os;
885}

◆ operator<< [3/4]

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

Definition at line 866 of file AsciiData.cc.

867{
868 os << std::endl << "{ EVENT" << std::endl;
869 if(x.initialized()) {
870 os << " " << x.header;
871 os << " " << x.decayMode;
872 os << " " << x.trackTruth;
873 os << " " << x.vertexTruth;
874 os << " " << x.mdcTruth;
875 os << " " << x.mdcDigi;
876 os << " " << x.tofTruth;
877 os << " " << x.tofDigi;
878 os << " " << x.emcTruth;
879 os << " " << x.emcDigi;
880 os << " " << x.mucTruth;
881 os << " " << x.mucDigi;
882 }
883 os << std::endl << "} EVENT" << std::endl;
884 return os;
885}

◆ operator<< [4/4]

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

Definition at line 866 of file AsciiData.cc.

867{
868 os << std::endl << "{ EVENT" << std::endl;
869 if(x.initialized()) {
870 os << " " << x.header;
871 os << " " << x.decayMode;
872 os << " " << x.trackTruth;
873 os << " " << x.vertexTruth;
874 os << " " << x.mdcTruth;
875 os << " " << x.mdcDigi;
876 os << " " << x.tofTruth;
877 os << " " << x.tofDigi;
878 os << " " << x.emcTruth;
879 os << " " << x.emcDigi;
880 os << " " << x.mucTruth;
881 os << " " << x.mucDigi;
882 }
883 os << std::endl << "} EVENT" << std::endl;
884 return os;
885}

◆ operator>> [1/4]

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

Definition at line 786 of file AsciiData.cc.

787{
788 x.check_start_tag(is,"EVENT");
789 if(!x.initialized()) return is;
790
791 try {
792 is >> x.header;
793 } catch(AsciiDumpException& ) {
794 std::cerr << "Got AsciiDumpException eror while reading header block !!!" << std::endl;
795 }
796
797 try {
798 is >> x.decayMode;
799 } catch(AsciiDumpException& ) {
800 std::cerr << "Got AsciiDumpException eror while reading decay mode block !!!" << std::endl;
801 }
802
803 try {
804 is >> x.trackTruth;
805 } catch(AsciiDumpException& ) {
806 std::cerr << "Got AsciiDumpException eror while reading track truth block !!!" << std::endl;
807 }
808
809 try {
810 is >> x.vertexTruth;
811 } catch (AsciiDumpException& ) {
812 std::cerr << "Got AsciiDumpException eror while reading vertex truth block !!!" << std::endl;
813 }
814
815 try {
816 is >> x.mdcTruth;
817 } catch (AsciiDumpException& ) {
818 std::cerr << "Got AsciiDumpException eror while reading mdc truth block !!!" << std::endl;
819 }
820
821 try {
822 is >> x.mdcDigi;
823 } catch (AsciiDumpException& ) {
824 std::cerr << "Got AsciiDumpException eror while reading mdc digi block !!!" << std::endl;
825 }
826
827 try {
828 is >> x.tofTruth;
829 } catch (AsciiDumpException& ) {
830 std::cerr << "Got AsciiDumpException eror while reading tof truth block !!!" << std::endl;
831 }
832
833 try {
834 is >> x.tofDigi;
835 } catch (AsciiDumpException& ) {
836 std::cerr << "Got AsciiDumpException eror while reading tof digi block !!!" << std::endl;
837 }
838
839 try {
840 is >> x.emcTruth;
841 } catch (AsciiDumpException& ) {
842 std::cerr << "Got AsciiDumpException eror while reading emc truth block !!!" << std::endl;
843 }
844
845 try {
846 is >> x.emcDigi;
847 } catch (AsciiDumpException& ) {
848 std::cerr << "Got AsciiDumpException eror while reading emc digi block !!!" << std::endl;
849 }
850
851 try {
852 is >> x.mucTruth;
853 } catch (AsciiDumpException& ) {
854 std::cerr << "Got AsciiDumpException eror while reading muc truth block !!!" << std::endl;
855 }
856
857 try {
858 is >> x.mucDigi;
859 } catch (AsciiDumpException& ) {
860 std::cerr << "Got AsciiDumpException eror while reading muc digi block !!!" << std::endl;
861 }
862 x.check_end_tag(is, "EVENT");
863 return is;
864}

◆ operator>> [2/4]

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

Definition at line 786 of file AsciiData.cc.

787{
788 x.check_start_tag(is,"EVENT");
789 if(!x.initialized()) return is;
790
791 try {
792 is >> x.header;
793 } catch(AsciiDumpException& ) {
794 std::cerr << "Got AsciiDumpException eror while reading header block !!!" << std::endl;
795 }
796
797 try {
798 is >> x.decayMode;
799 } catch(AsciiDumpException& ) {
800 std::cerr << "Got AsciiDumpException eror while reading decay mode block !!!" << std::endl;
801 }
802
803 try {
804 is >> x.trackTruth;
805 } catch(AsciiDumpException& ) {
806 std::cerr << "Got AsciiDumpException eror while reading track truth block !!!" << std::endl;
807 }
808
809 try {
810 is >> x.vertexTruth;
811 } catch (AsciiDumpException& ) {
812 std::cerr << "Got AsciiDumpException eror while reading vertex truth block !!!" << std::endl;
813 }
814
815 try {
816 is >> x.mdcTruth;
817 } catch (AsciiDumpException& ) {
818 std::cerr << "Got AsciiDumpException eror while reading mdc truth block !!!" << std::endl;
819 }
820
821 try {
822 is >> x.mdcDigi;
823 } catch (AsciiDumpException& ) {
824 std::cerr << "Got AsciiDumpException eror while reading mdc digi block !!!" << std::endl;
825 }
826
827 try {
828 is >> x.tofTruth;
829 } catch (AsciiDumpException& ) {
830 std::cerr << "Got AsciiDumpException eror while reading tof truth block !!!" << std::endl;
831 }
832
833 try {
834 is >> x.tofDigi;
835 } catch (AsciiDumpException& ) {
836 std::cerr << "Got AsciiDumpException eror while reading tof digi block !!!" << std::endl;
837 }
838
839 try {
840 is >> x.emcTruth;
841 } catch (AsciiDumpException& ) {
842 std::cerr << "Got AsciiDumpException eror while reading emc truth block !!!" << std::endl;
843 }
844
845 try {
846 is >> x.emcDigi;
847 } catch (AsciiDumpException& ) {
848 std::cerr << "Got AsciiDumpException eror while reading emc digi block !!!" << std::endl;
849 }
850
851 try {
852 is >> x.mucTruth;
853 } catch (AsciiDumpException& ) {
854 std::cerr << "Got AsciiDumpException eror while reading muc truth block !!!" << std::endl;
855 }
856
857 try {
858 is >> x.mucDigi;
859 } catch (AsciiDumpException& ) {
860 std::cerr << "Got AsciiDumpException eror while reading muc digi block !!!" << std::endl;
861 }
862 x.check_end_tag(is, "EVENT");
863 return is;
864}

◆ operator>> [3/4]

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

Definition at line 786 of file AsciiData.cc.

787{
788 x.check_start_tag(is,"EVENT");
789 if(!x.initialized()) return is;
790
791 try {
792 is >> x.header;
793 } catch(AsciiDumpException& ) {
794 std::cerr << "Got AsciiDumpException eror while reading header block !!!" << std::endl;
795 }
796
797 try {
798 is >> x.decayMode;
799 } catch(AsciiDumpException& ) {
800 std::cerr << "Got AsciiDumpException eror while reading decay mode block !!!" << std::endl;
801 }
802
803 try {
804 is >> x.trackTruth;
805 } catch(AsciiDumpException& ) {
806 std::cerr << "Got AsciiDumpException eror while reading track truth block !!!" << std::endl;
807 }
808
809 try {
810 is >> x.vertexTruth;
811 } catch (AsciiDumpException& ) {
812 std::cerr << "Got AsciiDumpException eror while reading vertex truth block !!!" << std::endl;
813 }
814
815 try {
816 is >> x.mdcTruth;
817 } catch (AsciiDumpException& ) {
818 std::cerr << "Got AsciiDumpException eror while reading mdc truth block !!!" << std::endl;
819 }
820
821 try {
822 is >> x.mdcDigi;
823 } catch (AsciiDumpException& ) {
824 std::cerr << "Got AsciiDumpException eror while reading mdc digi block !!!" << std::endl;
825 }
826
827 try {
828 is >> x.tofTruth;
829 } catch (AsciiDumpException& ) {
830 std::cerr << "Got AsciiDumpException eror while reading tof truth block !!!" << std::endl;
831 }
832
833 try {
834 is >> x.tofDigi;
835 } catch (AsciiDumpException& ) {
836 std::cerr << "Got AsciiDumpException eror while reading tof digi block !!!" << std::endl;
837 }
838
839 try {
840 is >> x.emcTruth;
841 } catch (AsciiDumpException& ) {
842 std::cerr << "Got AsciiDumpException eror while reading emc truth block !!!" << std::endl;
843 }
844
845 try {
846 is >> x.emcDigi;
847 } catch (AsciiDumpException& ) {
848 std::cerr << "Got AsciiDumpException eror while reading emc digi block !!!" << std::endl;
849 }
850
851 try {
852 is >> x.mucTruth;
853 } catch (AsciiDumpException& ) {
854 std::cerr << "Got AsciiDumpException eror while reading muc truth block !!!" << std::endl;
855 }
856
857 try {
858 is >> x.mucDigi;
859 } catch (AsciiDumpException& ) {
860 std::cerr << "Got AsciiDumpException eror while reading muc digi block !!!" << std::endl;
861 }
862 x.check_end_tag(is, "EVENT");
863 return is;
864}

◆ operator>> [4/4]

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

Definition at line 786 of file AsciiData.cc.

787{
788 x.check_start_tag(is,"EVENT");
789 if(!x.initialized()) return is;
790
791 try {
792 is >> x.header;
793 } catch(AsciiDumpException& ) {
794 std::cerr << "Got AsciiDumpException eror while reading header block !!!" << std::endl;
795 }
796
797 try {
798 is >> x.decayMode;
799 } catch(AsciiDumpException& ) {
800 std::cerr << "Got AsciiDumpException eror while reading decay mode block !!!" << std::endl;
801 }
802
803 try {
804 is >> x.trackTruth;
805 } catch(AsciiDumpException& ) {
806 std::cerr << "Got AsciiDumpException eror while reading track truth block !!!" << std::endl;
807 }
808
809 try {
810 is >> x.vertexTruth;
811 } catch (AsciiDumpException& ) {
812 std::cerr << "Got AsciiDumpException eror while reading vertex truth block !!!" << std::endl;
813 }
814
815 try {
816 is >> x.mdcTruth;
817 } catch (AsciiDumpException& ) {
818 std::cerr << "Got AsciiDumpException eror while reading mdc truth block !!!" << std::endl;
819 }
820
821 try {
822 is >> x.mdcDigi;
823 } catch (AsciiDumpException& ) {
824 std::cerr << "Got AsciiDumpException eror while reading mdc digi block !!!" << std::endl;
825 }
826
827 try {
828 is >> x.tofTruth;
829 } catch (AsciiDumpException& ) {
830 std::cerr << "Got AsciiDumpException eror while reading tof truth block !!!" << std::endl;
831 }
832
833 try {
834 is >> x.tofDigi;
835 } catch (AsciiDumpException& ) {
836 std::cerr << "Got AsciiDumpException eror while reading tof digi block !!!" << std::endl;
837 }
838
839 try {
840 is >> x.emcTruth;
841 } catch (AsciiDumpException& ) {
842 std::cerr << "Got AsciiDumpException eror while reading emc truth block !!!" << std::endl;
843 }
844
845 try {
846 is >> x.emcDigi;
847 } catch (AsciiDumpException& ) {
848 std::cerr << "Got AsciiDumpException eror while reading emc digi block !!!" << std::endl;
849 }
850
851 try {
852 is >> x.mucTruth;
853 } catch (AsciiDumpException& ) {
854 std::cerr << "Got AsciiDumpException eror while reading muc truth block !!!" << std::endl;
855 }
856
857 try {
858 is >> x.mucDigi;
859 } catch (AsciiDumpException& ) {
860 std::cerr << "Got AsciiDumpException eror while reading muc digi block !!!" << std::endl;
861 }
862 x.check_end_tag(is, "EVENT");
863 return is;
864}

Member Data Documentation

◆ decayMode

◆ emcDigi

◆ emcTruth

◆ header

◆ mdcDigi

◆ mdcTruth

◆ mucDigi

◆ mucTruth

◆ tofDigi

◆ tofTruth

◆ trackTruth

◆ vertexTruth


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