#include <iosfwd>
#include <boost/serialization/nvp.hpp>
#include <boost/serialization/export.hpp>
#include <boost/serialization/version.hpp>
#include "CalibTracker/SiStripRunSummary/interface/FlagTxt.h"
#include "CalibTracker/SiStripRunSummary/interface/ClassIDBase.h"
Go to the source code of this file.
Classes | |
class | GlobalFlagTxt |
Txt format flag. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &roOut, const GlobalFlagTxt &roFLAG) |
Make flag printable. |
std::ostream& operator<< | ( | std::ostream & | roOut, | |
const GlobalFlagTxt & | roFLAG | |||
) |
Make flag printable.
Flag output format is defined by:
std::ostream &operator <<( std::ostream &roOut, const Flag &roFLAG);
roOut | Output stream where flag should be written | |
roFLAG | Flag to be written |
Definition at line 43 of file GlobalFlagTxt.cc.
References lat::endl(), and FlagTxt::getChild().
00043 { 00044 00045 // Print Global info: use Flag operator << 00046 roOut << dynamic_cast<const Flag &>( roFLAG); 00047 00048 // Try DAQ Child 00049 if( DAQFlagTxt *poDAQFlagTxt = 00050 dynamic_cast<DAQFlagTxt *>( roFLAG.getChild<DAQFlagTxt>()) ) { 00051 00052 roOut << std::endl << *poDAQFlagTxt; 00053 } 00054 00055 // Try DCS Child 00056 if( DCSFlagTxt *poDCSFlagTxt = 00057 dynamic_cast<DCSFlagTxt *>( roFLAG.getChild<DCSFlagTxt>()) ) { 00058 00059 roOut << std::endl << *poDCSFlagTxt; 00060 } 00061 00062 // Try DQM Child 00063 if( DQMFlagTxt *poDQMFlagTxt = 00064 dynamic_cast<DQMFlagTxt *>( roFLAG.getChild<DQMFlagTxt>()) ) { 00065 00066 roOut << std::endl << *poDQMFlagTxt; 00067 } 00068 00069 // Try Trigger Child 00070 if( TriggerFlagTxt *poTriggerFlagTxt = 00071 dynamic_cast<TriggerFlagTxt *>( roFLAG.getChild<TriggerFlagTxt>()) ) { 00072 00073 roOut << std::endl << *poTriggerFlagTxt; 00074 } 00075 00076 return roOut; 00077 }