| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

TestInputLoadAlg.cc File Reference

#include "TestInputLoadAlg.h"
#include "Event/HeaderObject.h"
#include "GaudiKernel/MsgStream.h"
#include <sstream>

Include dependency graph for TestInputLoadAlg.cc:

Go to the source code of this file.


Functions

void collect_input_headers (MsgStream &log, const HeaderObject *start, std::vector< const HeaderObject * > &bucket)

Function Documentation

void collect_input_headers ( MsgStream log,
const HeaderObject start,
std::vector< const HeaderObject * > &  bucket 
)

Definition at line 48 of file TestInputLoadAlg.cc.

00050 {
00051     std::vector<const IHeader*> ihlist = start->inputHeaders();
00052 
00053     for (size_t ind=0; ind<ihlist.size(); ++ind) {
00054         const HeaderObject* ho = dynamic_cast<const HeaderObject*>(ihlist[ind]);
00055         log << MSG::DEBUG << "Recursing on " 
00056             << const_cast<HeaderObject*>(ho)->defLoc() 
00057             << " with bucked filed to " << bucket.size()
00058             << endreq;
00059         collect_input_headers(log,ho,bucket);
00060     }
00061 
00062     log << MSG::DEBUG << "Saving " 
00063         << const_cast<HeaderObject*>(start)->defLoc() << endreq;
00064     bucket.push_back(start);
00065 
00066 }

| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:47:45 2011 for DybIO by doxygen 1.4.7