#include <HLTInfo.h>
Public Member Functions | |
void | buildClassCache (const edm::ProductRegistry ®) |
void | declareStreamers (const edm::ProductRegistry ®) |
edm::EventBuffer & | getCommandQueue () const |
edm::EventBuffer & | getEventQueue () const |
boost::mutex & | getExtraLock () const |
edm::EventBuffer & | getFragmentQueue () const |
HLTInfo () | |
HLTInfo (const edm::ProductRegistry &) | |
HLTInfo (const edm::ParameterSet &) | |
void | mergeRegistry (edm::ProductRegistry ®) |
const edm::ProductRegistry & | products () const |
virtual | ~HLTInfo () |
Private Member Functions | |
HLTInfo (const HLTInfo &) | |
const HLTInfo & | operator= (const HLTInfo &) |
Private Attributes | |
edm::EventBuffer * | cmd_q_ |
edm::EventBuffer * | evtbuf_q_ |
edm::EventBuffer * | frag_q_ |
edm::ProductRegistry | prods_ |
Static Private Attributes | |
static boost::mutex | lock_ |
HLTInfo::HLTInfo | ( | ) |
Definition at line 18 of file HLTInfo.cc.
: cmd_q_(edm::getEventBuffer(ptr_size,50)), evtbuf_q_(edm::getEventBuffer(ptr_size,100)), frag_q_(edm::getEventBuffer(frag_size,200)) { }
HLTInfo::HLTInfo | ( | const edm::ProductRegistry & | pr | ) | [explicit] |
Definition at line 32 of file HLTInfo.cc.
References prods_, and edm::ProductRegistry::setFrozen().
: prods_(pr), cmd_q_(edm::getEventBuffer(ptr_size,50)), evtbuf_q_(edm::getEventBuffer(ptr_size,100)), frag_q_(edm::getEventBuffer(frag_size,200)) { prods_.setFrozen(); }
HLTInfo::HLTInfo | ( | const edm::ParameterSet & | ps | ) | [explicit] |
Definition at line 25 of file HLTInfo.cc.
: cmd_q_(edm::getEventBuffer(ptr_size,50)), evtbuf_q_(edm::getEventBuffer(ptr_size,100)), frag_q_(edm::getEventBuffer(frag_size,200)) { }
HLTInfo::~HLTInfo | ( | ) | [virtual] |
Definition at line 41 of file HLTInfo.cc.
{ }
HLTInfo::HLTInfo | ( | const HLTInfo & | ) | [private] |
Definition at line 45 of file HLTInfo.cc.
{ }
void HLTInfo::buildClassCache | ( | const edm::ProductRegistry & | reg | ) |
Definition at line 73 of file HLTInfo.cc.
References edm::doBuildRealData(), pi, edm::ProductRegistry::productList(), and edm::wrappedClassName().
{ typedef edm::ProductRegistry::ProductList ProdList; ProdList plist(reg.productList()); ProdList::const_iterator pi(plist.begin()),pe(plist.end()); for(; pi != pe; ++pi) { //pi->second.init(); std::string real_name = edm::wrappedClassName(pi->second.className()); //FDEBUG(6) << "BuildReadData: " << real_name << std::endl; edm::doBuildRealData(real_name); } }
void HLTInfo::declareStreamers | ( | const edm::ProductRegistry & | reg | ) |
Definition at line 59 of file HLTInfo.cc.
References edm::loadCap(), pi, edm::ProductRegistry::productList(), and edm::wrappedClassName().
{ typedef edm::ProductRegistry::ProductList ProdList; ProdList plist(reg.productList()); ProdList::const_iterator pi(plist.begin()),pe(plist.end()); for(; pi != pe; ++pi) { //pi->second.init(); std::string real_name = edm::wrappedClassName(pi->second.className()); //FDEBUG(6) << "declare: " << real_name << std::endl; edm::loadCap(real_name); } }
edm::EventBuffer& stor::HLTInfo::getCommandQueue | ( | ) | const [inline] |
edm::EventBuffer& stor::HLTInfo::getEventQueue | ( | ) | const [inline] |
boost::mutex& stor::HLTInfo::getExtraLock | ( | ) | const [inline] |
edm::EventBuffer& stor::HLTInfo::getFragmentQueue | ( | ) | const [inline] |
void HLTInfo::mergeRegistry | ( | edm::ProductRegistry & | reg | ) |
Definition at line 48 of file HLTInfo.cc.
References edm::ProductRegistry::copyProduct(), pi, prods_, and edm::ProductRegistry::productList().
{ typedef edm::ProductRegistry::ProductList ProdList; ProdList plist(prods_.productList()); ProdList::iterator pi(plist.begin()),pe(plist.end()); for(; pi != pe; ++pi) { pr.copyProduct(pi->second); } }
Definition at line 46 of file HLTInfo.cc.
{ return *this; }
const edm::ProductRegistry& stor::HLTInfo::products | ( | ) | const [inline] |
edm::EventBuffer* stor::HLTInfo::cmd_q_ [private] |
Definition at line 128 of file HLTInfo.h.
Referenced by getCommandQueue().
edm::EventBuffer* stor::HLTInfo::evtbuf_q_ [private] |
Definition at line 129 of file HLTInfo.h.
Referenced by getEventQueue().
edm::EventBuffer* stor::HLTInfo::frag_q_ [private] |
Definition at line 130 of file HLTInfo.h.
Referenced by getFragmentQueue().
boost::mutex HLTInfo::lock_ [static, private] |
Definition at line 132 of file HLTInfo.h.
Referenced by getExtraLock().
edm::ProductRegistry stor::HLTInfo::prods_ [private] |
Definition at line 127 of file HLTInfo.h.
Referenced by HLTInfo(), mergeRegistry(), and products().