#include "AsciiData.hh"
Go to the source code of this file.
std::ostream& operator<< | ( | std::ostream & | os, | |
const HitEVENT & | x | |||
) |
Definition at line 967 of file AsciiData.cc.
References x.
00968 { 00969 os << std::endl << "{ HITEVENT" << std::endl; 00970 if(x.initialized()) { 00971 os << " " << x.header; 00972 os << " " << x.decayMode; 00973 os << " " << x.trackTruth; 00974 os << " " << x.vertexTruth; 00975 os << " " << x.mdcTruth; 00976 os << " " << x.mdcHit; 00977 os << " " << x.tofTruth; 00978 os << " " << x.tofHit; 00979 os << " " << x.emcTruth; 00980 os << " " << x.emcHit; 00981 os << " " << x.mucTruth; 00982 os << " " << x.mucHit; 00983 } 00984 os << std::endl << "} HITEVENT" << std::endl; 00985 return os; 00986 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const EVENT & | x | |||
) |
Definition at line 866 of file AsciiData.cc.
References x.
00867 { 00868 os << std::endl << "{ EVENT" << std::endl; 00869 if(x.initialized()) { 00870 os << " " << x.header; 00871 os << " " << x.decayMode; 00872 os << " " << x.trackTruth; 00873 os << " " << x.vertexTruth; 00874 os << " " << x.mdcTruth; 00875 os << " " << x.mdcDigi; 00876 os << " " << x.tofTruth; 00877 os << " " << x.tofDigi; 00878 os << " " << x.emcTruth; 00879 os << " " << x.emcDigi; 00880 os << " " << x.mucTruth; 00881 os << " " << x.mucDigi; 00882 } 00883 os << std::endl << "} EVENT" << std::endl; 00884 return os; 00885 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const MUCHIT & | x | |||
) |
Definition at line 773 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00774 { 00775 os << std::endl << "{ MUCHIT" << std::endl; 00776 if(x.initialized()) { 00777 os << " " << x.nHit; 00778 {for(int i = 0; i < x.nHit; i++) { 00779 os << " " << x.hitCol[i]; 00780 }} 00781 } 00782 os << std::endl << "} MUCHIT" << std::endl; 00783 return os; 00784 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const MucHitType & | x | |||
) |
std::ostream& operator<< | ( | std::ostream & | os, | |
const MUCDIGI & | x | |||
) |
Definition at line 735 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00736 { 00737 os << std::endl << "{ MUCDIGI" << std::endl; 00738 if(x.initialized()) { 00739 os << " " << x.nDigi; 00740 {for(int i = 0; i < x.nDigi; i++) { 00741 os << " " << x.digiCol[i]; 00742 }} 00743 } 00744 os << std::endl << "} MUCDIGI" << std::endl; 00745 return os; 00746 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const MucDigiType & | x | |||
) |
std::ostream& operator<< | ( | std::ostream & | os, | |
const EMCHIT & | x | |||
) |
Definition at line 687 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00688 { 00689 os << std::endl << "{ EMCHIT" << std::endl; 00690 if(x.initialized()) { 00691 os << " " << x.nHit; 00692 {for(int i = 0; i < x.nHit; i++) { 00693 os << " " << x.hitCol[i]; 00694 }} 00695 } 00696 os << std::endl << "} EMCHIT" << std::endl; 00697 return os; 00698 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const EmcHitType & | x | |||
) |
std::ostream& operator<< | ( | std::ostream & | os, | |
const EMCDIGI & | x | |||
) |
Definition at line 649 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00650 { 00651 os << std::endl << "{ EMCDIGI" << std::endl; 00652 if(x.initialized()) { 00653 os << " " << x.nDigi; 00654 {for(int i = 0; i < x.nDigi; i++) { 00655 os << " " << x.digiCol[i]; 00656 }} 00657 } 00658 os << std::endl << "} EMCDIGI" << std::endl; 00659 return os; 00660 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const EmcDigiType & | x | |||
) |
Definition at line 624 of file AsciiData.cc.
References x.
00625 { 00626 os << " " << x.trackIndex; 00627 os << " " << x.partId; 00628 os << " " << x.numTheta; 00629 os << " " << x.numPhi; 00630 os << " " << x.energyDeposit; 00631 os << " " << x.hitTime; 00632 os << std::endl; 00633 return os; 00634 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const TOFHIT & | x | |||
) |
Definition at line 600 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00601 { 00602 os << std::endl << "{ TOFHIT" << std::endl; 00603 if(x.initialized()) { 00604 os << " " << x.nHit; 00605 {for(int i = 0; i < x.nHit; i++) { 00606 os << " " << x.hitCol[i]; 00607 }} 00608 } 00609 os << std::endl << "} TOFHIT" << std::endl; 00610 return os; 00611 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const TofHitType & | x | |||
) |
std::ostream& operator<< | ( | std::ostream & | os, | |
const TOFDIGI & | x | |||
) |
Definition at line 562 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00563 { 00564 os << std::endl << "{ TOFDIGI" << std::endl; 00565 if(x.initialized()) { 00566 os << " " << x.nDigi; 00567 {for(int i = 0; i < x.nDigi; i++) { 00568 os << " " << x.digiCol[i]; 00569 }} 00570 } 00571 os << std::endl << "} TOFDIGI" << std::endl; 00572 return os; 00573 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const TofDigiType & | x | |||
) |
Definition at line 535 of file AsciiData.cc.
References x.
00536 { 00537 os << " " << x.trackIndex; 00538 os << " " << x.partId; 00539 os << " " << x.scinNb; 00540 os << " " << x.forwADC; 00541 os << " " << x.forwTDC; 00542 os << " " << x.backADC; 00543 os << " " << x.backTDC; 00544 os << std::endl; 00545 return os; 00546 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const MDCHIT & | x | |||
) |
Definition at line 510 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00511 { 00512 os << std::endl << "{ MDCHIT" << std::endl; 00513 if(x.initialized()) { 00514 os << " " << x.nHit; 00515 {for(int i = 0; i < x.nHit; i++) { 00516 os << " " << x.hitCol[i]; 00517 }} 00518 } 00519 os << std::endl << "} MDCHIT" << std::endl; 00520 return os; 00521 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const MdcHitType & | x | |||
) |
Definition at line 479 of file AsciiData.cc.
References x.
00480 { 00481 os << " " << x.trackIndex; 00482 os << " " << x.layerNo; 00483 os << " " << x.cellNo; 00484 os << " " << x.posX; 00485 os << " " << x.posY; 00486 os << " " << x.posZ; 00487 os << " " << x.energyDeposit; 00488 os << " " << x.driftDistance; 00489 os << " " << x.globalT; 00490 os << " " << x.theta; 00491 os << " " << x.enterAngle; 00492 os << " " << x.posFlag; 00493 os << std::endl; 00494 return os; 00495 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const MDCDIGI & | x | |||
) |
Definition at line 449 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00450 { 00451 os << std::endl << "{ MDCDIGI" << std::endl; 00452 if(x.initialized()) { 00453 os << " " << x.nDigi; 00454 {for(int i = 0; i < x.nDigi; i++) { 00455 os << " " << x.digiCol[i]; 00456 }} 00457 } 00458 os << std::endl << "} MDCDIGI" << std::endl; 00459 return os; 00460 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const MdcDigiType & | x | |||
) |
std::ostream& operator<< | ( | std::ostream & | os, | |
const MUCTRUTH & | x | |||
) |
Definition at line 402 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00403 { 00404 os << std::endl << "{ MUCTRUTH" << std::endl; 00405 if(x.initialized()) { 00406 os << " " << x.nTruth; 00407 {for(int i = 0; i < x.nTruth; i++) { 00408 os << " " << x.truthCol[i]; 00409 }} 00410 } 00411 os << std::endl << "} MUCTRUTH" << std::endl; 00412 return os; 00413 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const MucTruthType & | x | |||
) |
Definition at line 372 of file AsciiData.cc.
References x.
00373 { 00374 os << " " << x.trackIndex; 00375 os << " " << x.partId; 00376 os << " " << x.segId; 00377 os << " " << x.gapId; 00378 os << " " << x.stripId; 00379 os << " " << x.posX; 00380 os << " " << x.posY; 00381 os << " " << x.posZ; 00382 os << " " << x.px; 00383 os << " " << x.py; 00384 os << " " << x.pz; 00385 os << std::endl; 00386 return os; 00387 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const EMCTRUTH & | x | |||
) |
Definition at line 343 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00344 { 00345 os << std::endl << "{ EMCTRUTH" << std::endl; 00346 if(x.initialized()) { 00347 os << " " << x.nTruth; 00348 {for(int i = 0; i < x.nTruth; i++) { 00349 os << " " << x.truthCol[i]; 00350 }} 00351 } 00352 os << std::endl << "} EMCTRUTH" << std::endl; 00353 return os; 00354 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const EmcTruthType & | x | |||
) |
Definition at line 312 of file AsciiData.cc.
References x.
00313 { 00314 os << " " << x.trackIndex; 00315 os << " " << x.partId; 00316 os << " " << x.numTheta; 00317 os << " " << x.numPhi; 00318 os << " " << x.posX; 00319 os << " " << x.posY; 00320 os << " " << x.posZ; 00321 os << " " << x.px; 00322 os << " " << x.py; 00323 os << " " << x.pz; 00324 os << " " << x.totalEdep; 00325 os << std::endl; 00326 return os; 00327 00328 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const TOFTRUTH & | x | |||
) |
Definition at line 283 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00284 { 00285 os << std::endl << "{ TOFTRUTH" << std::endl; 00286 if(x.initialized()) { 00287 os << " " << x.nTruth; 00288 {for(int i = 0; i < x.nTruth; i++) { 00289 os << " " << x.truthCol[i]; 00290 }} 00291 } 00292 os << std::endl << "} TOFTRUTH" << std::endl; 00293 return os; 00294 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const TofTruthType & | x | |||
) |
Definition at line 253 of file AsciiData.cc.
References x.
00254 { 00255 os << " " << x.trackIndex; 00256 os << " " << x.partId; 00257 os << " " << x.scinNb; 00258 os << " " << x.posX; 00259 os << " " << x.posY; 00260 os << " " << x.posZ; 00261 os << " " << x.px; 00262 os << " " << x.py; 00263 os << " " << x.pz; 00264 os << " " << x.trackL; 00265 os << " " << x.time; 00266 os << std::endl; 00267 return os; 00268 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const MDCTRUTH & | x | |||
) |
Definition at line 224 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00225 { 00226 os << std::endl << "{ MDCTRUTH" << std::endl; 00227 if(x.initialized()) { 00228 os << " " << x.nTruth; 00229 {for(int i = 0; i < x.nTruth; i++) { 00230 os << " " << x.truthCol[i]; 00231 }} 00232 } 00233 os << std::endl << "} MDCTRUTH" << std::endl; 00234 return os; 00235 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const MdcTruthType & | x | |||
) |
Definition at line 196 of file AsciiData.cc.
References x.
00197 { 00198 os << " " << x.trackIndex; 00199 os << " " << x.layerNo; 00200 os << " " << x.cellNo; 00201 os << " " << x.edep; 00202 os << " " << x.driftD; 00203 os << " " << x.posX; 00204 os << " " << x.posY; 00205 os << " " << x.posZ; 00206 os << " " << x.posFlag; 00207 os << std::endl; 00208 return os; 00209 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const VERTEXTRUTH & | x | |||
) |
Definition at line 168 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00169 { 00170 os << std::endl << "{ VERTEXTRUTH" << std::endl; 00171 if(x.initialized()) { 00172 os << " " << x.nTruth; 00173 {for(int i = 0; i < x.nTruth; i++) { 00174 os << " " << x.truthCol[i]; 00175 }} 00176 } 00177 os << std::endl << "} VERTEXTRUTH" << std::endl; 00178 return os; 00179 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const VertexTruthType & | x | |||
) |
std::ostream& operator<< | ( | std::ostream & | os, | |
const TRACKTRUTH & | x | |||
) |
Definition at line 119 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00120 { 00121 os << std::endl << "{ TRACKTRUTH" << std::endl; 00122 if(x.initialized()) { 00123 os << " " << x.nTruth; 00124 {for(int i = 0; i < x.nTruth; i++) { 00125 os << " " << x.truthCol[i]; 00126 }} 00127 } 00128 os << std::endl << "} TRACKTRUTH" << std::endl; 00129 return os; 00130 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const TrackTruthType & | x | |||
) |
Definition at line 89 of file AsciiData.cc.
References x.
00090 { 00091 os << " " << x.trackIndex; 00092 os << " " << x.PDGCode; 00093 os << " " << x.PDGCharge; 00094 os << " " << x.v0Index; 00095 os << " " << x.v1Index; 00096 os << " " << x.px; 00097 os << " " << x.py; 00098 os << " " << x.pz; 00099 os << " " << x.E; 00100 os << " " << x.minDaughterIndex; 00101 os << " " << x.maxDaughterIndex; 00102 os << std::endl; 00103 return os; 00104 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const DECAYMODE & | x | |||
) |
Definition at line 60 of file AsciiData.cc.
00061 { 00062 os << std::endl << "{ DECAYMODE" << std::endl; 00063 if(x.initialized()) { 00064 os << " " << x.size; 00065 for (int index=0; index<x.size; index++) { 00066 os << " " << x.data[index]; 00067 } 00068 } 00069 os << std::endl << "} DECAYMODE" << std::endl; 00070 return os; 00071 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const EVHEAD & | x | |||
) |
std::ostream& operator<< | ( | std::ostream & | os, | |
const FRMTVERSION & | x | |||
) |
std::istream& operator>> | ( | std::istream & | is, | |
HitEVENT & | x | |||
) |
Definition at line 887 of file AsciiData.cc.
References x.
00888 { 00889 x.check_start_tag(is,"HITEVENT"); 00890 if(!x.initialized()) return is; 00891 00892 try { 00893 is >> x.header; 00894 } catch(AsciiDumpException& ) { 00895 std::cerr << "Got AsciiDumpException eror while reading header block !!!" << std::endl; 00896 } 00897 00898 try { 00899 is >> x.decayMode; 00900 } catch(AsciiDumpException& ) { 00901 std::cerr << "Got AsciiDumpException eror while reading decay mode block !!!" << std::endl; 00902 } 00903 00904 try { 00905 is >> x.trackTruth; 00906 } catch(AsciiDumpException& ) { 00907 std::cerr << "Got AsciiDumpException eror while reading track truth block !!!" << std::endl; 00908 } 00909 00910 try { 00911 is >> x.vertexTruth; 00912 } catch (AsciiDumpException& ) { 00913 std::cerr << "Got AsciiDumpException eror while reading vertex truth block !!!" << std::endl; 00914 } 00915 00916 try { 00917 is >> x.mdcTruth; 00918 } catch (AsciiDumpException& ) { 00919 std::cerr << "Got AsciiDumpException eror while reading mdc truth block !!!" << std::endl; 00920 } 00921 00922 try { 00923 is >> x.mdcHit; 00924 } catch (AsciiDumpException& ) { 00925 std::cerr << "Got AsciiDumpException eror while reading mdc hit block !!!" << std::endl; 00926 } 00927 00928 try { 00929 is >> x.tofTruth; 00930 } catch (AsciiDumpException& ) { 00931 std::cerr << "Got AsciiDumpException eror while reading tof truth block !!!" << std::endl; 00932 } 00933 00934 try { 00935 is >> x.tofHit; 00936 } catch (AsciiDumpException& ) { 00937 std::cerr << "Got AsciiDumpException eror while reading tof hiti block !!!" << std::endl; 00938 } 00939 00940 try { 00941 is >> x.emcTruth; 00942 } catch (AsciiDumpException& ) { 00943 std::cerr << "Got AsciiDumpException eror while reading emc truth block !!!" << std::endl; 00944 } 00945 00946 try { 00947 is >> x.emcHit; 00948 } catch (AsciiDumpException& ) { 00949 std::cerr << "Got AsciiDumpException eror while reading emc hit block !!!" << std::endl; 00950 } 00951 00952 try { 00953 is >> x.mucTruth; 00954 } catch (AsciiDumpException& ) { 00955 std::cerr << "Got AsciiDumpException eror while reading muc truth block !!!" << std::endl; 00956 } 00957 00958 try { 00959 is >> x.mucHit; 00960 } catch (AsciiDumpException& ) { 00961 std::cerr << "Got AsciiDumpException eror while reading muc hit block !!!" << std::endl; 00962 } 00963 x.check_end_tag(is, "HITEVENT"); 00964 return is; 00965 }
std::istream& operator>> | ( | std::istream & | is, | |
EVENT & | x | |||
) |
Definition at line 786 of file AsciiData.cc.
References x.
00787 { 00788 x.check_start_tag(is,"EVENT"); 00789 if(!x.initialized()) return is; 00790 00791 try { 00792 is >> x.header; 00793 } catch(AsciiDumpException& ) { 00794 std::cerr << "Got AsciiDumpException eror while reading header block !!!" << std::endl; 00795 } 00796 00797 try { 00798 is >> x.decayMode; 00799 } catch(AsciiDumpException& ) { 00800 std::cerr << "Got AsciiDumpException eror while reading decay mode block !!!" << std::endl; 00801 } 00802 00803 try { 00804 is >> x.trackTruth; 00805 } catch(AsciiDumpException& ) { 00806 std::cerr << "Got AsciiDumpException eror while reading track truth block !!!" << std::endl; 00807 } 00808 00809 try { 00810 is >> x.vertexTruth; 00811 } catch (AsciiDumpException& ) { 00812 std::cerr << "Got AsciiDumpException eror while reading vertex truth block !!!" << std::endl; 00813 } 00814 00815 try { 00816 is >> x.mdcTruth; 00817 } catch (AsciiDumpException& ) { 00818 std::cerr << "Got AsciiDumpException eror while reading mdc truth block !!!" << std::endl; 00819 } 00820 00821 try { 00822 is >> x.mdcDigi; 00823 } catch (AsciiDumpException& ) { 00824 std::cerr << "Got AsciiDumpException eror while reading mdc digi block !!!" << std::endl; 00825 } 00826 00827 try { 00828 is >> x.tofTruth; 00829 } catch (AsciiDumpException& ) { 00830 std::cerr << "Got AsciiDumpException eror while reading tof truth block !!!" << std::endl; 00831 } 00832 00833 try { 00834 is >> x.tofDigi; 00835 } catch (AsciiDumpException& ) { 00836 std::cerr << "Got AsciiDumpException eror while reading tof digi block !!!" << std::endl; 00837 } 00838 00839 try { 00840 is >> x.emcTruth; 00841 } catch (AsciiDumpException& ) { 00842 std::cerr << "Got AsciiDumpException eror while reading emc truth block !!!" << std::endl; 00843 } 00844 00845 try { 00846 is >> x.emcDigi; 00847 } catch (AsciiDumpException& ) { 00848 std::cerr << "Got AsciiDumpException eror while reading emc digi block !!!" << std::endl; 00849 } 00850 00851 try { 00852 is >> x.mucTruth; 00853 } catch (AsciiDumpException& ) { 00854 std::cerr << "Got AsciiDumpException eror while reading muc truth block !!!" << std::endl; 00855 } 00856 00857 try { 00858 is >> x.mucDigi; 00859 } catch (AsciiDumpException& ) { 00860 std::cerr << "Got AsciiDumpException eror while reading muc digi block !!!" << std::endl; 00861 } 00862 x.check_end_tag(is, "EVENT"); 00863 return is; 00864 }
std::istream& operator>> | ( | std::istream & | is, | |
MUCHIT & | x | |||
) |
Definition at line 760 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00761 { 00762 x.check_start_tag(is,"MUCHIT"); 00763 if(!x.initialized()) return is; 00764 is >> x.nHit; 00765 x.hitCol.resize(x.nHit); 00766 {for(int i = 0; i < x.nHit; i++) { 00767 is >> x.hitCol[i]; 00768 }} 00769 x.check_end_tag(is, "MUCHIT"); 00770 return is; 00771 }
std::istream& operator>> | ( | std::istream & | is, | |
MucHitType & | x | |||
) |
std::istream& operator>> | ( | std::istream & | is, | |
MUCDIGI & | x | |||
) |
Definition at line 722 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00723 { 00724 x.check_start_tag(is,"MUCDIGI"); 00725 if(!x.initialized()) return is; 00726 is >> x.nDigi; 00727 x.digiCol.resize(x.nDigi); 00728 {for(int i = 0; i < x.nDigi; i++) { 00729 is >> x.digiCol[i]; 00730 }} 00731 x.check_end_tag(is, "MUCDIGI"); 00732 return is; 00733 }
std::istream& operator>> | ( | std::istream & | is, | |
MucDigiType & | x | |||
) |
std::istream& operator>> | ( | std::istream & | is, | |
EMCHIT & | x | |||
) |
Definition at line 674 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00675 { 00676 x.check_start_tag(is,"EMCHIT"); 00677 if(!x.initialized()) return is; 00678 is >> x.nHit; 00679 x.hitCol.resize(x.nHit); 00680 {for(int i = 0; i < x.nHit; i++) { 00681 is >> x.hitCol[i]; 00682 }} 00683 x.check_end_tag(is, "EMCHIT"); 00684 return is; 00685 }
std::istream& operator>> | ( | std::istream & | is, | |
EmcHitType & | x | |||
) |
std::istream& operator>> | ( | std::istream & | is, | |
EMCDIGI & | x | |||
) |
Definition at line 636 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00637 { 00638 x.check_start_tag(is,"EMCDIGI"); 00639 if(!x.initialized()) return is; 00640 is >> x.nDigi; 00641 x.digiCol.resize(x.nDigi); 00642 {for(int i = 0; i < x.nDigi; i++) { 00643 is >> x.digiCol[i]; 00644 }} 00645 x.check_end_tag(is, "EMCDIGI"); 00646 return is; 00647 }
std::istream& operator>> | ( | std::istream & | is, | |
EmcDigiType & | x | |||
) |
std::istream& operator>> | ( | std::istream & | is, | |
TOFHIT & | x | |||
) |
Definition at line 587 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00588 { 00589 x.check_start_tag(is,"TOFHIT"); 00590 if(!x.initialized()) return is; 00591 is >> x.nHit; 00592 x.hitCol.resize(x.nHit); 00593 {for(int i = 0; i < x.nHit; i++) { 00594 is >> x.hitCol[i]; 00595 }} 00596 x.check_end_tag(is, "TOFHIT"); 00597 return is; 00598 }
std::istream& operator>> | ( | std::istream & | is, | |
TofHitType & | x | |||
) |
std::istream& operator>> | ( | std::istream & | is, | |
TOFDIGI & | x | |||
) |
Definition at line 549 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00550 { 00551 x.check_start_tag(is,"TOFDIGI"); 00552 if(!x.initialized()) return is; 00553 is >> x.nDigi; 00554 x.digiCol.resize(x.nDigi); 00555 {for(int i = 0; i < x.nDigi; i++) { 00556 is >> x.digiCol[i]; 00557 }} 00558 x.check_end_tag(is, "TOFDIGI"); 00559 return is; 00560 }
std::istream& operator>> | ( | std::istream & | is, | |
TofDigiType & | x | |||
) |
std::istream& operator>> | ( | std::istream & | is, | |
MDCHIT & | x | |||
) |
Definition at line 497 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00498 { 00499 x.check_start_tag(is,"MDCHIT"); 00500 if(!x.initialized()) return is; 00501 is >> x.nHit; 00502 x.hitCol.resize(x.nHit); 00503 {for(int i = 0; i < x.nHit; i++) { 00504 is >> x.hitCol[i]; 00505 }} 00506 x.check_end_tag(is, "MDCHIT"); 00507 return is; 00508 }
std::istream& operator>> | ( | std::istream & | is, | |
MdcHitType & | x | |||
) |
Definition at line 462 of file AsciiData.cc.
References x.
00463 { 00464 is >> x.trackIndex; 00465 is >> x.layerNo; 00466 is >> x.cellNo; 00467 is >> x.posX; 00468 is >> x.posY; 00469 is >> x.posZ; 00470 is >> x.energyDeposit; 00471 is >> x.driftDistance; 00472 is >> x.globalT; 00473 is >> x.theta; 00474 is >> x.enterAngle; 00475 is >> x.posFlag; 00476 return is; 00477 }
std::istream& operator>> | ( | std::istream & | is, | |
MDCDIGI & | x | |||
) |
Definition at line 436 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00437 { 00438 x.check_start_tag(is,"MDCDIGI"); 00439 if(!x.initialized()) return is; 00440 is >> x.nDigi; 00441 x.digiCol.resize(x.nDigi); 00442 {for(int i = 0; i < x.nDigi; i++) { 00443 is >> x.digiCol[i]; 00444 }} 00445 x.check_end_tag(is, "MDCDIGI"); 00446 return is; 00447 }
std::istream& operator>> | ( | std::istream & | is, | |
MdcDigiType & | x | |||
) |
std::istream& operator>> | ( | std::istream & | is, | |
MUCTRUTH & | x | |||
) |
Definition at line 389 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00390 { 00391 x.check_start_tag(is,"MUCTRUTH"); 00392 if(!x.initialized()) return is; 00393 is >> x.nTruth; 00394 x.truthCol.resize(x.nTruth); 00395 {for(int i = 0; i < x.nTruth; i++) { 00396 is >> x.truthCol[i]; 00397 }} 00398 x.check_end_tag(is, "MUCTRUTH"); 00399 return is; 00400 }
std::istream& operator>> | ( | std::istream & | is, | |
MucTruthType & | x | |||
) |
Definition at line 356 of file AsciiData.cc.
References x.
00357 { 00358 is >> x.trackIndex; 00359 is >> x.partId; 00360 is >> x.segId; 00361 is >> x.gapId; 00362 is >> x.stripId; 00363 is >> x.posX; 00364 is >> x.posY; 00365 is >> x.posZ; 00366 is >> x.px; 00367 is >> x.py; 00368 is >> x.pz; 00369 return is; 00370 }
std::istream& operator>> | ( | std::istream & | is, | |
EMCTRUTH & | x | |||
) |
Definition at line 330 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00331 { 00332 x.check_start_tag(is,"EMCTRUTH"); 00333 if(!x.initialized()) return is; 00334 is >> x.nTruth; 00335 x.truthCol.resize(x.nTruth); 00336 {for(int i = 0; i < x.nTruth; i++) { 00337 is >> x.truthCol[i]; 00338 }} 00339 x.check_end_tag(is, "EMCTRUTH"); 00340 return is; 00341 }
std::istream& operator>> | ( | std::istream & | is, | |
EmcTruthType & | x | |||
) |
Definition at line 296 of file AsciiData.cc.
References x.
00297 { 00298 is >> x.trackIndex; 00299 is >> x.partId; 00300 is >> x.numTheta; 00301 is >> x.numPhi; 00302 is >> x.posX; 00303 is >> x.posY; 00304 is >> x.posZ; 00305 is >> x.px; 00306 is >> x.py; 00307 is >> x.pz; 00308 is >> x.totalEdep; 00309 return is; 00310 }
std::istream& operator>> | ( | std::istream & | is, | |
TOFTRUTH & | x | |||
) |
Definition at line 270 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00271 { 00272 x.check_start_tag(is,"TOFTRUTH"); 00273 if(!x.initialized()) return is; 00274 is >> x.nTruth; 00275 x.truthCol.resize(x.nTruth); 00276 {for(int i = 0; i < x.nTruth; i++) { 00277 is >> x.truthCol[i]; 00278 }} 00279 x.check_end_tag(is, "TOFTRUTH"); 00280 return is; 00281 }
std::istream& operator>> | ( | std::istream & | is, | |
TofTruthType & | x | |||
) |
Definition at line 237 of file AsciiData.cc.
References x.
00238 { 00239 is >> x.trackIndex; 00240 is >> x.partId; 00241 is >> x.scinNb; 00242 is >> x.posX; 00243 is >> x.posY; 00244 is >> x.posZ; 00245 is >> x.px; 00246 is >> x.py; 00247 is >> x.pz; 00248 is >> x.trackL; 00249 is >> x.time; 00250 return is; 00251 }
std::istream& operator>> | ( | std::istream & | is, | |
MDCTRUTH & | x | |||
) |
Definition at line 211 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00212 { 00213 x.check_start_tag(is,"MDCTRUTH"); 00214 if(!x.initialized()) return is; 00215 is >> x.nTruth; 00216 x.truthCol.resize(x.nTruth); 00217 {for(int i = 0; i < x.nTruth; i++) { 00218 is >> x.truthCol[i]; 00219 }} 00220 x.check_end_tag(is, "MDCTRUTH"); 00221 return is; 00222 }
std::istream& operator>> | ( | std::istream & | is, | |
MdcTruthType & | x | |||
) |
std::istream& operator>> | ( | std::istream & | is, | |
VERTEXTRUTH & | x | |||
) |
Definition at line 155 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00156 { 00157 x.check_start_tag(is,"VERTEXTRUTH"); 00158 if(!x.initialized()) return is; 00159 is >> x.nTruth; 00160 x.truthCol.resize(x.nTruth); 00161 {for(int i = 0; i < x.nTruth; i++) { 00162 is >> x.truthCol[i]; 00163 }} 00164 x.check_end_tag(is, "VERTEXTRUTH"); 00165 return is; 00166 }
std::istream& operator>> | ( | std::istream & | is, | |
VertexTruthType & | x | |||
) |
std::istream& operator>> | ( | std::istream & | is, | |
TRACKTRUTH & | x | |||
) |
Definition at line 106 of file AsciiData.cc.
References genRecEmupikp::i, and x.
00107 { 00108 x.check_start_tag(is,"TRACKTRUTH"); 00109 if(!x.initialized()) return is; 00110 is >> x.nTruth; 00111 x.truthCol.resize(x.nTruth); 00112 {for(int i = 0; i < x.nTruth; i++) { 00113 is >> x.truthCol[i]; 00114 }} 00115 x.check_end_tag(is, "TRACKTRUTH"); 00116 return is; 00117 }
std::istream& operator>> | ( | std::istream & | is, | |
TrackTruthType & | x | |||
) |
Definition at line 73 of file AsciiData.cc.
References x.
00074 { 00075 is >> x.trackIndex; 00076 is >> x.PDGCode; 00077 is >> x.PDGCharge; 00078 is >> x.v0Index; 00079 is >> x.v1Index; 00080 is >> x.px; 00081 is >> x.py; 00082 is >> x.pz; 00083 is >> x.E; 00084 is >> x.minDaughterIndex; 00085 is >> x.maxDaughterIndex; 00086 return is; 00087 }
std::istream& operator>> | ( | std::istream & | is, | |
DECAYMODE & | x | |||
) |
Definition at line 48 of file AsciiData.cc.
References x.
00049 { 00050 x.check_start_tag(is,"DECAYMODE"); 00051 if(!x.initialized()) return is; 00052 is >> x.size; 00053 for (int index=0; index<x.size; index++) { 00054 is >> x.data[index]; 00055 } 00056 x.check_end_tag(is, "DECAYMODE"); 00057 return is; 00058 }
std::istream& operator>> | ( | std::istream & | is, | |
EVHEAD & | x | |||
) |
std::istream& operator>> | ( | std::istream & | is, | |
FRMTVERSION & | x | |||
) |