CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
evf::RecoEventOutputModuleForFU< Consumer > Class Template Reference

#include <RecoEventOutputModuleForFU.h>

Inheritance diagram for evf::RecoEventOutputModuleForFU< Consumer >:
edm::StreamerOutputModuleBase edm::one::OutputModule< one::WatchRuns, one::WatchLuminosityBlocks > edm::StreamerOutputModuleCommon edm::one::OutputModuleBase edm::EDConsumerBase

Public Member Functions

 RecoEventOutputModuleForFU (edm::ParameterSet const &ps)
 
 ~RecoEventOutputModuleForFU () override
 
- Public Member Functions inherited from edm::StreamerOutputModuleBase
 StreamerOutputModuleBase (ParameterSet const &ps)
 
 ~StreamerOutputModuleBase () override
 
- Public Member Functions inherited from edm::one::OutputModule< one::WatchRuns, one::WatchLuminosityBlocks >
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
 OutputModule (edm::ParameterSet const &iPSet)
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
- Public Member Functions inherited from edm::one::OutputModuleBase
BranchIDLists const * branchIDLists ()
 
std::array< bool, NumBranchTypes > const & hasNewlyDroppedBranch () const
 
SelectedProductsForBranchType const & keptProducts () const
 
int maxEvents () const
 
const ModuleDescriptionmoduleDescription () const
 
OutputModuleBaseoperator= (OutputModuleBase const &)=delete
 
 OutputModuleBase (OutputModuleBase const &)=delete
 
 OutputModuleBase (ParameterSet const &pset)
 
std::string const & processName () const
 
int remainingEvents () const
 
bool selected (BranchDescription const &desc) const
 
void selectProducts (ProductRegistry const &preg, ThinnedAssociationsHelper const &)
 
SharedResourcesAcquirersharedResourcesAcquirer ()
 
SubProcessParentageHelper const * subProcessParentageHelper () const
 
ThinnedAssociationsHelper const * thinnedAssociationsHelper () const
 
bool wantAllEvents () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~OutputModuleBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::StreamerOutputModuleBase
static void fillDescription (ParameterSetDescription &desc)
 
- Static Public Member Functions inherited from edm::one::OutputModuleBase
static const std::string & baseType ()
 
static void fillDescription (ParameterSetDescription &desc, std::vector< std::string > const &iDefaultOutputCommands=ProductSelectorRules::defaultSelectionStrings())
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 

Private Member Functions

void beginJob () override
 
void beginLuminosityBlock (edm::LuminosityBlockForOutput const &) override
 
void doOutputEvent (EventMsgBuilder const &msg) override
 
void doOutputHeader (InitMsgBuilder const &init_message) override
 
void endLuminosityBlock (edm::LuminosityBlockForOutput const &) override
 
void initRun ()
 
void start () override
 
void stop () override
 

Private Attributes

jsoncollector::IntJ accepted_
 
std::unique_ptr< Consumer > c_
 
jsoncollector::IntJ errorEvents_
 
jsoncollector::IntJ fileAdler32_
 
jsoncollector::StringJ filelist_
 
jsoncollector::IntJ filesize_
 
evf::FastMonitoringServicefms_
 
jsoncollector::IntJ hltErrorEvents_
 
jsoncollector::StringJ inputFiles_
 
std::shared_ptr< jsoncollector::FastMonitorjsonMonitor_
 
jsoncollector::StringJ mergeType_
 
boost::filesystem::path openDatChecksumFilePath_
 
boost::filesystem::path openDatFilePath_
 
unsigned char * outBuf_ = nullptr
 
jsoncollector::DataPointDefinition outJsonDef_
 
jsoncollector::IntJ processed_
 
bool readAdler32Check_ = false
 
jsoncollector::IntJ retCodeMask_
 
std::string streamLabel_
 
jsoncollector::StringJ transferDestination_
 

Additional Inherited Members

- Public Types inherited from edm::one::OutputModuleBase
typedef OutputModuleBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::one::OutputModuleBase
void configure (OutputModuleDescription const &desc)
 
ModuleDescription const & description () const
 
void doBeginJob ()
 
bool doBeginLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetupImpl const &c, ModuleCallingContext const *)
 
bool doBeginRun (RunPrincipal const &rp, EventSetupImpl const &c, ModuleCallingContext const *)
 
void doEndJob ()
 
bool doEndLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetupImpl const &c, ModuleCallingContext const *)
 
bool doEndRun (RunPrincipal const &rp, EventSetupImpl const &c, ModuleCallingContext const *)
 
bool doEvent (EventPrincipal const &ep, EventSetupImpl const &c, ActivityRegistry *, ModuleCallingContext const *)
 
void doPreallocate (PreallocationConfiguration const &)
 
std::map< BranchID::value_type, BranchID::value_type > const & droppedBranchIDToKeptBranchID ()
 
virtual void preallocLumis (unsigned int)
 
ParameterSetID selectorConfig () const
 
void setEventSelectionInfo (std::map< std::string, std::vector< std::pair< std::string, int >>> const &outputModulePathPositions, bool anyProductProduced)
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

template<typename Consumer>
class evf::RecoEventOutputModuleForFU< Consumer >

Definition at line 25 of file RecoEventOutputModuleForFU.h.

Constructor & Destructor Documentation

◆ RecoEventOutputModuleForFU()

template<typename Consumer >
evf::RecoEventOutputModuleForFU< Consumer >::RecoEventOutputModuleForFU ( edm::ParameterSet const &  ps)
explicit

Consumers are supposed to provide void doOutputHeader(InitMsgBuilder const& init_message) void doOutputEvent(EventMsgBuilder const& msg) void start() void stop() static void fillDescription(ParameterSetDescription&)

Definition at line 74 of file RecoEventOutputModuleForFU.h.

77  c_(new Consumer(ps)),
78  streamLabel_(ps.getParameter<std::string>("@module_label")),
79  processed_(0),
80  accepted_(0),
81  errorEvents_(0),
82  retCodeMask_(0),
83  filelist_(),
84  filesize_(0),
85  inputFiles_(),
86  fileAdler32_(1),
88  mergeType_(),
89  hltErrorEvents_(0),
90  outBuf_(new unsigned char[1024 * 1024]) {
91  //replace hltOutoputA with stream if the HLT menu uses this convention
92  std::string testPrefix = "hltOutput";
93  if (streamLabel_.find(testPrefix) == 0)
94  streamLabel_ = std::string("stream") + streamLabel_.substr(testPrefix.size());
95 
96  if (streamLabel_.find("_") != std::string::npos) {
97  throw cms::Exception("RecoEventOutputModuleForFU") << "Underscore character is reserved can not be used for "
98  "stream names in FFF, but was detected in stream name -: "
99  << streamLabel_;
100  }
101 
102  std::string streamLabelLow = streamLabel_;
103  boost::algorithm::to_lower(streamLabelLow);
104  auto streampos = streamLabelLow.rfind("stream");
105  if (streampos != 0 && streampos != std::string::npos)
106  throw cms::Exception("RecoEventOutputModuleForFU")
107  << "stream (case-insensitive) sequence was found in stream suffix. This is reserved and can not be used for "
108  "names in FFF based HLT, but was detected in stream name";
109 
111  }

References Exception, evf::RecoEventOutputModuleForFU< Consumer >::fms_, evf::RecoEventOutputModuleForFU< Consumer >::streamLabel_, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ ~RecoEventOutputModuleForFU()

template<typename Consumer >
evf::RecoEventOutputModuleForFU< Consumer >::~RecoEventOutputModuleForFU ( )
override

Definition at line 181 of file RecoEventOutputModuleForFU.h.

181 {}

Member Function Documentation

◆ beginJob()

template<typename Consumer >
void evf::RecoEventOutputModuleForFU< Consumer >::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::OutputModuleBase.

Definition at line 257 of file RecoEventOutputModuleForFU.h.

257  {
258  //get stream transfer destination
261  }

References evf::MergeTypeDAT.

◆ beginLuminosityBlock()

template<typename Consumer >
void evf::RecoEventOutputModuleForFU< Consumer >::beginLuminosityBlock ( edm::LuminosityBlockForOutput const &  ls)
overrideprivate

Definition at line 264 of file RecoEventOutputModuleForFU.h.

264  {
265  //edm::LogInfo("RecoEventOutputModuleForFU") << "begin lumi";
266  openDatFilePath_ = edm::Service<evf::EvFDaqDirector>()->getOpenDatFilePath(ls.luminosityBlock(), streamLabel_);
268  edm::Service<evf::EvFDaqDirector>()->getOpenDatFilePath(ls.luminosityBlock(), streamLabel_);
269  c_->setOutputFile(openDatFilePath_.string());
270  filelist_ = openDatFilePath_.filename().string();
271  }

References eostools::ls().

◆ doOutputEvent()

template<typename Consumer >
void evf::RecoEventOutputModuleForFU< Consumer >::doOutputEvent ( EventMsgBuilder const &  msg)
overrideprivatevirtual

Implements edm::StreamerOutputModuleBase.

Definition at line 232 of file RecoEventOutputModuleForFU.h.

232  {
233  accepted_.value()++;
234  c_->doOutputEvent(msg); // You can't use msg in RecoEventOutputModuleForFU after this point
235  }

References mps_check::msg.

◆ doOutputHeader()

template<typename Consumer >
void evf::RecoEventOutputModuleForFU< Consumer >::doOutputHeader ( InitMsgBuilder const &  init_message)
overrideprivatevirtual

Implements edm::StreamerOutputModuleBase.

Definition at line 199 of file RecoEventOutputModuleForFU.h.

199  {
200  c_->doOutputHeader(init_message);
201 
202  const std::string openIniFileName = edm::Service<evf::EvFDaqDirector>()->getOpenInitFilePath(streamLabel_);
203  struct stat istat;
204  stat(openIniFileName.c_str(), &istat);
205  //read back file to check integrity of what was written
206  off_t readInput = 0;
207  uint32_t adlera = 1, adlerb = 0;
208  FILE* src = fopen(openIniFileName.c_str(), "r");
209  while (readInput < istat.st_size) {
210  size_t toRead = readInput + 1024 * 1024 < istat.st_size ? 1024 * 1024 : istat.st_size - readInput;
211  fread(outBuf_, toRead, 1, src);
212  cms::Adler32((const char*)outBuf_, toRead, adlera, adlerb);
213  readInput += toRead;
214  }
215  fclose(src);
216  //free output buffer needed only for the INI file
217  delete[] outBuf_;
218  outBuf_ = nullptr;
219 
220  uint32_t adler32c = (adlerb << 16) | adlera;
221  if (adler32c != c_->get_adler32_ini()) {
222  throw cms::Exception("RecoEventOutputModuleForFU")
223  << "Checksum mismatch of ini file -: " << openIniFileName << " expected:" << c_->get_adler32_ini()
224  << " obtained:" << adler32c;
225  } else {
226  LogDebug("RecoEventOutputModuleForFU") << "Ini file checksum -: " << streamLabel_ << " " << adler32c;
227  boost::filesystem::rename(openIniFileName, edm::Service<evf::EvFDaqDirector>()->getInitFilePath(streamLabel_));
228  }
229  }

References cms::Adler32(), Exception, LogDebug, TrackRefitter_38T_cff::src, hgcalPlots::stat, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ endLuminosityBlock()

template<typename Consumer >
void evf::RecoEventOutputModuleForFU< Consumer >::endLuminosityBlock ( edm::LuminosityBlockForOutput const &  ls)
overrideprivate

Definition at line 274 of file RecoEventOutputModuleForFU.h.

274  {
275  //edm::LogInfo("RecoEventOutputModuleForFU") << "end lumi";
276  long filesize = 0;
277  fileAdler32_.value() = c_->get_adler32();
278  c_->closeOutputFile();
279  bool abortFlag = false;
280  processed_.value() = fms_->getEventsProcessedForLumi(ls.luminosityBlock(), &abortFlag);
281 
282  if (abortFlag) {
283  edm::LogInfo("RecoEventOutputModuleForFU") << "output suppressed";
284  return;
285  }
286 
287  if (processed_.value() != 0) {
288  //lock
289  struct stat istat;
290  stat(openDatFilePath_.string().c_str(), &istat);
291  filesize = istat.st_size;
292  boost::filesystem::rename(
293  openDatFilePath_.string().c_str(),
294  edm::Service<evf::EvFDaqDirector>()->getDatFilePath(ls.luminosityBlock(), streamLabel_));
295  } else {
296  filelist_ = "";
297  fileAdler32_.value() = -1;
298  }
299 
300  //remove file
301  remove(openDatFilePath_.string().c_str());
302  filesize_ = filesize;
303 
304  jsonMonitor_->snap(ls.luminosityBlock());
305  const std::string outputJsonNameStream =
306  edm::Service<evf::EvFDaqDirector>()->getOutputJsonFilePath(ls.luminosityBlock(), streamLabel_);
307  jsonMonitor_->outputFullJSON(outputJsonNameStream, ls.luminosityBlock());
308 
309  // reset monitoring params
310  accepted_.value() = 0;
311  filelist_ = "";
312  }

References eostools::ls(), MatrixUtil::remove(), hgcalPlots::stat, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ fillDescriptions()

template<typename Consumer >
void evf::RecoEventOutputModuleForFU< Consumer >::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 238 of file RecoEventOutputModuleForFU.h.

238  {
241  Consumer::fillDescription(desc);
242  // Use addDefault here instead of add for 4 reasons:
243  // 1. Because EvFOutputModule_cfi.py is explicitly defined it does not need to be autogenerated
244  // The explicitly defined version overrides the autogenerated version of the cfi file.
245  // 2. That cfi file is not used anywhere in the release anyway
246  // 3. There are two plugin names used for the same template instantiation of this
247  // type, "ShmStreamConsumer" and "EvFOutputModule" and this causes name conflict
248  // problems for the cfi generation code which are avoided with addDefault.
249  // 4. At the present time, there is only one type of Consumer used to instantiate
250  // instances of this template, but if there were more than one type then this function
251  // would need to be specialized for each type unless the descriptions were the same
252  // and addDefault was used.
253  descriptions.addDefault(desc);
254  }

References edm::ConfigurationDescriptions::addDefault(), and edm::StreamerOutputModuleBase::fillDescription().

◆ initRun()

template<typename Consumer >
void evf::RecoEventOutputModuleForFU< Consumer >::initRun ( )
private

Definition at line 114 of file RecoEventOutputModuleForFU.h.

114  {
115  std::string baseRunDir = edm::Service<evf::EvFDaqDirector>()->baseRunDir();
116  readAdler32Check_ = edm::Service<evf::EvFDaqDirector>()->outputAdler32Recheck();
117  LogDebug("RecoEventOutputModuleForFU") << "writing .dat files to -: " << baseRunDir;
118  // create open dir if not already there
119  edm::Service<evf::EvFDaqDirector>()->createRunOpendirMaybe();
120 
121  processed_.setName("Processed");
122  accepted_.setName("Accepted");
123  errorEvents_.setName("ErrorEvents");
124  retCodeMask_.setName("ReturnCodeMask");
125  filelist_.setName("Filelist");
126  filesize_.setName("Filesize");
127  inputFiles_.setName("InputFiles");
128  fileAdler32_.setName("FileAdler32");
129  transferDestination_.setName("TransferDestination");
130  mergeType_.setName("MergeType");
131  hltErrorEvents_.setName("HLTErrorEvents");
132 
142  outJsonDef_.addLegendItem("TransferDestination", "string", jsoncollector::DataPointDefinition::SAME);
145  std::stringstream tmpss, ss;
146  tmpss << baseRunDir << "/open/"
147  << "output_" << getpid() << ".jsd";
148  ss << baseRunDir << "/"
149  << "output_" << getpid() << ".jsd";
150  std::string outTmpJsonDefName = tmpss.str();
151  std::string outJsonDefName = ss.str();
152 
153  edm::Service<evf::EvFDaqDirector>()->lockInitLock();
154  struct stat fstat;
155  if (stat(outJsonDefName.c_str(), &fstat) != 0) { //file does not exist
156  LogDebug("RecoEventOutputModuleForFU") << "writing output definition file -: " << outJsonDefName;
160  boost::filesystem::rename(outTmpJsonDefName, outJsonDefName);
161  }
162  edm::Service<evf::EvFDaqDirector>()->unlockInitLock();
163 
165  jsonMonitor_->setDefPath(outJsonDefName);
166  jsonMonitor_->registerGlobalMonitorable(&processed_, false);
167  jsonMonitor_->registerGlobalMonitorable(&accepted_, false);
168  jsonMonitor_->registerGlobalMonitorable(&errorEvents_, false);
169  jsonMonitor_->registerGlobalMonitorable(&retCodeMask_, false);
170  jsonMonitor_->registerGlobalMonitorable(&filelist_, false);
171  jsonMonitor_->registerGlobalMonitorable(&filesize_, false);
172  jsonMonitor_->registerGlobalMonitorable(&inputFiles_, false);
173  jsonMonitor_->registerGlobalMonitorable(&fileAdler32_, false);
174  jsonMonitor_->registerGlobalMonitorable(&transferDestination_, false);
175  jsonMonitor_->registerGlobalMonitorable(&mergeType_, false);
176  jsonMonitor_->registerGlobalMonitorable(&hltErrorEvents_, false);
177  jsonMonitor_->commit(nullptr);
178  }

References jsoncollector::DataPointDefinition::ADLER32, jsoncollector::DataPointDefinition::BINARYOR, jsoncollector::DataPointDefinition::CAT, Skims_PA_cff::content, LogDebug, jsoncollector::DataPointDefinition::MERGE, jsoncollector::DataPointDefinition::SAME, jsoncollector::JSONSerializer::serialize(), contentValuesCheck::ss, hgcalPlots::stat, AlCaHLTBitMon_QueryRunRegistry::string, jsoncollector::DataPointDefinition::SUM, and jsoncollector::FileIO::writeStringToFile().

◆ start()

template<typename Consumer >
void evf::RecoEventOutputModuleForFU< Consumer >::start ( )
overrideprivatevirtual

Implements edm::StreamerOutputModuleBase.

Definition at line 184 of file RecoEventOutputModuleForFU.h.

184  {
185  initRun();
186  const std::string openInitFileName = edm::Service<evf::EvFDaqDirector>()->getOpenInitFilePath(streamLabel_);
187  edm::LogInfo("RecoEventOutputModuleForFU")
188  << "start() method, initializing streams. init stream -: " << openInitFileName;
189  c_->setInitMessageFile(openInitFileName);
190  c_->start();
191  }

References AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by progressbar.ProgressBar::__next__(), Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().

◆ stop()

template<typename Consumer >
void evf::RecoEventOutputModuleForFU< Consumer >::stop ( )
overrideprivatevirtual

Implements edm::StreamerOutputModuleBase.

Definition at line 194 of file RecoEventOutputModuleForFU.h.

194  {
195  c_->stop();
196  }

Member Data Documentation

◆ accepted_

template<typename Consumer >
jsoncollector::IntJ evf::RecoEventOutputModuleForFU< Consumer >::accepted_
mutableprivate

Definition at line 56 of file RecoEventOutputModuleForFU.h.

◆ c_

template<typename Consumer >
std::unique_ptr<Consumer> evf::RecoEventOutputModuleForFU< Consumer >::c_
private

Definition at line 51 of file RecoEventOutputModuleForFU.h.

◆ errorEvents_

template<typename Consumer >
jsoncollector::IntJ evf::RecoEventOutputModuleForFU< Consumer >::errorEvents_
private

Definition at line 57 of file RecoEventOutputModuleForFU.h.

◆ fileAdler32_

template<typename Consumer >
jsoncollector::IntJ evf::RecoEventOutputModuleForFU< Consumer >::fileAdler32_
private

Definition at line 62 of file RecoEventOutputModuleForFU.h.

◆ filelist_

template<typename Consumer >
jsoncollector::StringJ evf::RecoEventOutputModuleForFU< Consumer >::filelist_
private

Definition at line 59 of file RecoEventOutputModuleForFU.h.

◆ filesize_

template<typename Consumer >
jsoncollector::IntJ evf::RecoEventOutputModuleForFU< Consumer >::filesize_
private

Definition at line 60 of file RecoEventOutputModuleForFU.h.

◆ fms_

template<typename Consumer >
evf::FastMonitoringService* evf::RecoEventOutputModuleForFU< Consumer >::fms_
private

◆ hltErrorEvents_

template<typename Consumer >
jsoncollector::IntJ evf::RecoEventOutputModuleForFU< Consumer >::hltErrorEvents_
private

Definition at line 65 of file RecoEventOutputModuleForFU.h.

◆ inputFiles_

template<typename Consumer >
jsoncollector::StringJ evf::RecoEventOutputModuleForFU< Consumer >::inputFiles_
private

Definition at line 61 of file RecoEventOutputModuleForFU.h.

◆ jsonMonitor_

template<typename Consumer >
std::shared_ptr<jsoncollector::FastMonitor> evf::RecoEventOutputModuleForFU< Consumer >::jsonMonitor_
private

Definition at line 66 of file RecoEventOutputModuleForFU.h.

◆ mergeType_

template<typename Consumer >
jsoncollector::StringJ evf::RecoEventOutputModuleForFU< Consumer >::mergeType_
private

Definition at line 64 of file RecoEventOutputModuleForFU.h.

◆ openDatChecksumFilePath_

template<typename Consumer >
boost::filesystem::path evf::RecoEventOutputModuleForFU< Consumer >::openDatChecksumFilePath_
private

Definition at line 54 of file RecoEventOutputModuleForFU.h.

◆ openDatFilePath_

template<typename Consumer >
boost::filesystem::path evf::RecoEventOutputModuleForFU< Consumer >::openDatFilePath_
private

Definition at line 53 of file RecoEventOutputModuleForFU.h.

◆ outBuf_

template<typename Consumer >
unsigned char* evf::RecoEventOutputModuleForFU< Consumer >::outBuf_ = nullptr
private

Definition at line 69 of file RecoEventOutputModuleForFU.h.

◆ outJsonDef_

template<typename Consumer >
jsoncollector::DataPointDefinition evf::RecoEventOutputModuleForFU< Consumer >::outJsonDef_
private

Definition at line 68 of file RecoEventOutputModuleForFU.h.

◆ processed_

template<typename Consumer >
jsoncollector::IntJ evf::RecoEventOutputModuleForFU< Consumer >::processed_
private

Definition at line 55 of file RecoEventOutputModuleForFU.h.

◆ readAdler32Check_

template<typename Consumer >
bool evf::RecoEventOutputModuleForFU< Consumer >::readAdler32Check_ = false
private

Definition at line 70 of file RecoEventOutputModuleForFU.h.

◆ retCodeMask_

template<typename Consumer >
jsoncollector::IntJ evf::RecoEventOutputModuleForFU< Consumer >::retCodeMask_
private

Definition at line 58 of file RecoEventOutputModuleForFU.h.

◆ streamLabel_

template<typename Consumer >
std::string evf::RecoEventOutputModuleForFU< Consumer >::streamLabel_
private

◆ transferDestination_

template<typename Consumer >
jsoncollector::StringJ evf::RecoEventOutputModuleForFU< Consumer >::transferDestination_
private

Definition at line 63 of file RecoEventOutputModuleForFU.h.

eostools.ls
def ls(path, rec=False)
Definition: eostools.py:349
jsoncollector::DataPointDefinition::addLegendItem
void addLegendItem(std::string const &name, std::string const &type, std::string const &operation)
Definition: DataPointDefinition.cc:93
evf::RecoEventOutputModuleForFU::fms_
evf::FastMonitoringService * fms_
Definition: RecoEventOutputModuleForFU.h:67
evf::RecoEventOutputModuleForFU::readAdler32Check_
bool readAdler32Check_
Definition: RecoEventOutputModuleForFU.h:70
edm::StreamerOutputModuleBase::fillDescription
static void fillDescription(ParameterSetDescription &desc)
Definition: StreamerOutputModuleBase.cc:68
jsoncollector::DataPointDefinition::setDefaultGroup
void setDefaultGroup(std::string const &group)
Definition: DataPointDefinition.h:54
evf::FastMonitoringService::getEventsProcessedForLumi
unsigned int getEventsProcessedForLumi(unsigned int lumi, bool *abortFlag=nullptr)
Definition: FastMonitoringService.cc:708
evf::RecoEventOutputModuleForFU::inputFiles_
jsoncollector::StringJ inputFiles_
Definition: RecoEventOutputModuleForFU.h:61
evf::RecoEventOutputModuleForFU::filelist_
jsoncollector::StringJ filelist_
Definition: RecoEventOutputModuleForFU.h:59
evf::RecoEventOutputModuleForFU::streamLabel_
std::string streamLabel_
Definition: RecoEventOutputModuleForFU.h:52
evf::RecoEventOutputModuleForFU::errorEvents_
jsoncollector::IntJ errorEvents_
Definition: RecoEventOutputModuleForFU.h:57
evf::RecoEventOutputModuleForFU::retCodeMask_
jsoncollector::IntJ retCodeMask_
Definition: RecoEventOutputModuleForFU.h:58
edm::StreamerOutputModuleBase
Definition: StreamerOutputModuleBase.h:20
edm::LogInfo
Definition: MessageLogger.h:254
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
evf::RecoEventOutputModuleForFU::hltErrorEvents_
jsoncollector::IntJ hltErrorEvents_
Definition: RecoEventOutputModuleForFU.h:65
evf::RecoEventOutputModuleForFU::filesize_
jsoncollector::IntJ filesize_
Definition: RecoEventOutputModuleForFU.h:60
mps_check.msg
tuple msg
Definition: mps_check.py:285
evf::RecoEventOutputModuleForFU::processed_
jsoncollector::IntJ processed_
Definition: RecoEventOutputModuleForFU.h:55
jsoncollector::DataPointDefinition::MERGE
static const std::string MERGE
Definition: DataPointDefinition.h:69
edm::one::OutputModuleBase::OutputModuleBase
OutputModuleBase(ParameterSet const &pset)
Definition: OutputModuleBase.cc:45
jsoncollector::DataPointDefinition::SUM
static const std::string SUM
Definition: DataPointDefinition.h:64
evf::RecoEventOutputModuleForFU::c_
std::unique_ptr< Consumer > c_
Definition: RecoEventOutputModuleForFU.h:51
contentValuesCheck.ss
ss
Definition: contentValuesCheck.py:33
evf::FastMonitoringService
Definition: FastMonitoringService.h:69
jsoncollector::JsonMonitorable::setName
virtual void setName(std::string name)
Definition: JsonMonitorable.h:38
hgcalPlots.stat
stat
Definition: hgcalPlots.py:1111
cms::Adler32
void Adler32(char const *data, size_t len, uint32_t &a, uint32_t &b)
Definition: Adler32Calculator.cc:10
jsoncollector::DataPointDefinition::CAT
static const std::string CAT
Definition: DataPointDefinition.h:68
evf::MergeTypeDAT
Definition: EvFDaqDirector.h:58
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
jsoncollector::DataPointDefinition::BINARYOR
static const std::string BINARYOR
Definition: DataPointDefinition.h:70
Skims_PA_cff.content
content
Definition: Skims_PA_cff.py:19
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:670
TrackRefitter_38T_cff.src
src
Definition: TrackRefitter_38T_cff.py:24
evf::RecoEventOutputModuleForFU::outJsonDef_
jsoncollector::DataPointDefinition outJsonDef_
Definition: RecoEventOutputModuleForFU.h:68
edm::Service
Definition: Service.h:30
jsoncollector::DataPointDefinition::SAME
static const std::string SAME
Definition: DataPointDefinition.h:66
evf::RecoEventOutputModuleForFU::openDatChecksumFilePath_
boost::filesystem::path openDatChecksumFilePath_
Definition: RecoEventOutputModuleForFU.h:54
jsoncollector::FileIO::writeStringToFile
static void writeStringToFile(std::string const &filename, std::string &content)
Definition: FileIO.cc:21
evf::RecoEventOutputModuleForFU::openDatFilePath_
boost::filesystem::path openDatFilePath_
Definition: RecoEventOutputModuleForFU.h:53
evf::RecoEventOutputModuleForFU::transferDestination_
jsoncollector::StringJ transferDestination_
Definition: RecoEventOutputModuleForFU.h:63
jsoncollector::FastMonitor
Definition: FastMonitor.h:19
evf::RecoEventOutputModuleForFU::fileAdler32_
jsoncollector::IntJ fileAdler32_
Definition: RecoEventOutputModuleForFU.h:62
jsoncollector::IntJ::value
long & value()
Definition: JsonMonitorable.h:88
evf::RecoEventOutputModuleForFU::jsonMonitor_
std::shared_ptr< jsoncollector::FastMonitor > jsonMonitor_
Definition: RecoEventOutputModuleForFU.h:66
jsoncollector::DataPointDefinition::ADLER32
static const std::string ADLER32
Definition: DataPointDefinition.h:71
Exception
Definition: hltDiff.cc:246
MatrixUtil.remove
def remove(d, key, TELL=False)
Definition: MatrixUtil.py:212
evf::RecoEventOutputModuleForFU::mergeType_
jsoncollector::StringJ mergeType_
Definition: RecoEventOutputModuleForFU.h:64
jsoncollector::JSONSerializer::serialize
static bool serialize(JsonSerializable *pObj, std::string &output)
Definition: JSONSerializer.cc:14
evf::RecoEventOutputModuleForFU::initRun
void initRun()
Definition: RecoEventOutputModuleForFU.h:114
edm::ConfigurationDescriptions::addDefault
void addDefault(ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:99
evf::RecoEventOutputModuleForFU::outBuf_
unsigned char * outBuf_
Definition: RecoEventOutputModuleForFU.h:69
evf::RecoEventOutputModuleForFU::accepted_
jsoncollector::IntJ accepted_
Definition: RecoEventOutputModuleForFU.h:56