13 #include "TBufferFile.h" 21 <<
"size = " <<
view->size() <<
"\n" 22 <<
"run = " <<
view->run() <<
", " 23 <<
"proto = " <<
view->protocolVersion() <<
"\n" 24 <<
"release = " <<
view->releaseTag() <<
"\n" 25 <<
"processName = " <<
view->processName() <<
"\n";
26 if (
view->protocolVersion() >= 5) {
27 std::cout <<
"outModuleLabel = " <<
view->outputModuleLabel() <<
"\n";
29 if (
view->protocolVersion() >= 6) {
32 if (
view->protocolVersion() >= 8) {
33 std::cout <<
"Checksum for Registry data = " <<
view->adler32_chksum() <<
" Hostname = " <<
view->hostName()
47 std::cout <<
"PSetID= " << hexy << std::endl;
49 Strings vhltnames, vhltselections, vl1names;
50 view->hltTriggerNames(vhltnames);
51 if (
view->protocolVersion() >= 5) {
52 view->hltTriggerSelections(vhltselections);
54 view->l1TriggerNames(vl1names);
59 if (
view->protocolVersion() >= 5) {
85 std::cout <<
">>>>> INIT Message Dump (begin) >>>>>" << std::endl;
89 TBufferFile xbuf(TBuffer::kRead,
view->descLength(), (
char*)
view->descData(), kFALSE);
92 if (sd.get() ==
nullptr) {
93 std::cout <<
"Unable to determine the product registry - " 94 <<
"Registry deserialization error." << std::endl;
96 std::cout <<
"Branch Descriptions:" << std::endl;
98 SendDescs::const_iterator iDesc(descs.begin()), eDesc(descs.end());
99 while (iDesc != eDesc) {
108 std::cout <<
"<<<<< INIT Message Dump (end) <<<<<" << std::endl;
124 for (
int i = 7;
i >= 0; --
i) {
125 int bit = ((
c >>
i) & 1);
132 <<
"size=" << eview->
size() <<
"\n" 134 <<
"run=" << eview->
run() <<
"\n" 135 <<
"event=" << eview->
event() <<
"\n" 136 <<
"lumi=" << eview->
lumi() <<
"\n" 140 <<
"host name= " << eview->
hostName() <<
"\n" 144 std::vector<bool> l1_out;
147 std::cout <<
"\nl1 size= " << l1_out.size() <<
"\n l1 bits=\n";
150 std::vector<unsigned char> hlt_out;
152 hlt_out.resize(1 + (eview->
hltCount() - 1) / 4);
158 for (
int i = (hlt_out.size() - 1);
i != -1; --
i)
193 std::cout <<
"\n>>>>> FRDEvent Message Dump (begin) >>>>>" << std::endl;
197 <<
"version = " << fview->
version() <<
"\n" 198 <<
"run = " << fview->
run() <<
"\n" 199 <<
"lumi = " << fview->
lumi() <<
"\n" 200 <<
"event = " << fview->
event() <<
"\n";
203 std::cout <<
">>>>> FRDEvent Message Dump (end) >>>>>" << std::endl;
void hltTriggerBits(uint8 *put_here) const
EventSelector::Strings Strings
std::vector< BranchDescription > SendDescs
uint32 eventLength() const
TClass * getTClass(const std::type_info &ti)
uint32 protocolVersion() const
void l1TriggerBits(std::vector< bool > &put_here) const
std::string const & branchName() const
uint32 origDataSize() const
std::string hostName() const
Func copy_all(ForwardSequence &s, Func f)
wrappers for copy
uint32 adler32_chksum() const
uint32 droppedEventsCount() const