CondTools/L1TriggerExt/src/DataWriterExt.cc
// Constructor Needed for Writers with Rcds dependednt on Online Producers
// they need to be constructed at "construction time" to register what they produce
Constructor Needed for Writers with Rcds dependednt on Online Producers
they need to be constructed at "construction time" to register what they produce
Constructor Needed for Writers with Rcds dependednt on Online Producers they need to be constructed at " construction time " to register what they produce
DataWriterExt::DataWriterExt(const std::string& recordType) {
    WriterFactory* factory = WriterFactory::get();
    writer_ = factory->create(recordType + "@Writer");
    if (writer_.get() == nullptr) {
      throw cond::Exception("DataWriter: could not create WriterProxy with name " + recordType + "@Writer");
    }
    edm::LogVerbatim("L1-O2O DataWriterExt::DataWriterExt")
        << "Created new " << typeid(writer_).name() << "  | address " << writer_.get() << "  | rcd " << recordType;
  }
DataWriterExt :: DataWriterExt ( const std :: string & recordType ) { WriterFactory * factory = WriterFactory :: get ( ) ; writer_ = factory -> create ( recordType + " " ) ; if ( writer_ . get ( ) == nullptr ) { throw cond :: Exception ( " " + recordType + " " ) ; } edm :: LogVerbatim ( " " ) << " " << typeid ( writer_ ) . name ( ) << " " << writer_ . get ( ) << " " << recordType ; }
Constructor Needed for Writers with Rcds dependednt on Online Producers
they need to be constructed at "construction time" to register what they produce
Constructor Needed for Writers with Rcds dependednt on Online Producers they need to be constructed at " construction time " to register what they produce