CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
FRDOutputModule Class Reference

#include <FRDOutputModule.h>

Inheritance diagram for FRDOutputModule:
edm::one::OutputModule< edm::one::WatchLuminosityBlocks > edm::one::OutputModuleBase edm::core::OutputModuleCore edm::EDConsumerBase

Public Member Functions

 FRDOutputModule (edm::ParameterSet const &ps)
 
 ~FRDOutputModule () override
 
- Public Member Functions inherited from edm::one::OutputModule< edm::one::WatchLuminosityBlocks >
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
const OutputModuleoperator= (const OutputModule &)=delete
 
 OutputModule (edm::ParameterSet const &iPSet)
 
 OutputModule (const OutputModule &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::OutputModuleBase
OutputModuleBaseoperator= (OutputModuleBase const &)=delete
 
 OutputModuleBase (ParameterSet const &pset)
 
 OutputModuleBase (OutputModuleBase const &)=delete
 
SharedResourcesAcquirersharedResourcesAcquirer ()
 
SubProcessParentageHelper const * subProcessParentageHelper () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
- Public Member Functions inherited from edm::core::OutputModuleCore
BranchIDLists const * branchIDLists () const
 
std::array< bool, NumBranchTypes > const & hasNewlyDroppedBranch () const
 
SelectedProductsForBranchType const & keptProducts () const
 
int maxEvents () const
 
const ModuleDescriptionmoduleDescription () const
 
OutputModuleCoreoperator= (OutputModuleCore const &)=delete
 
 OutputModuleCore (ParameterSet const &pset)
 
 OutputModuleCore (OutputModuleCore const &)=delete
 
OutputProcessBlockHelper const & outputProcessBlockHelper () const
 
std::string const & processName () const
 
int remainingEvents () const
 
bool selected (BranchDescription const &desc) const
 
void selectProducts (ProductRegistry const &preg, ThinnedAssociationsHelper const &, ProcessBlockHelperBase const &)
 
ThinnedAssociationsHelper const * thinnedAssociationsHelper () const
 
bool wantAllEvents () const
 
 ~OutputModuleCore () 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 const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (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::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
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::core::OutputModuleCore
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

uint32_t adler32 () const
 
void beginLuminosityBlock (edm::LuminosityBlockForOutput const &) override
 
void endLuminosityBlock (edm::LuminosityBlockForOutput const &) override
 
void finishFileWrite (int ls)
 
void write (edm::EventForOutput const &e) override
 
void writeLuminosityBlock (const edm::LuminosityBlockForOutput &) override
 
void writeRun (const edm::RunForOutput &) override
 

Private Attributes

uint32_t adlera_
 
uint32_t adlerb_
 
std::string fileName_
 
std::string filePrefix_
 
bool fileWritten_ = false
 
const uint32_t frdFileVersion_
 
const uint32_t frdVersion_
 
int outfd_ = -1
 
uint32_t perFileEventCount_
 
uint64_t perFileSize_
 
const edm::EDGetTokenT< FEDRawDataCollectiontoken_
 

Additional Inherited Members

- Public Types inherited from edm::one::OutputModuleBase
typedef OutputModuleBase ModuleType
 
- Public Types inherited from edm::core::OutputModuleCore
typedef OutputModuleCore ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::one::OutputModuleBase
void configure (OutputModuleDescription const &desc)
 
void doBeginJob ()
 
bool doEvent (EventTransitionInfo const &, ActivityRegistry *, ModuleCallingContext const *)
 
void doPreallocate (PreallocationConfiguration const &)
 
- Protected Member Functions inherited from edm::core::OutputModuleCore
void configure (OutputModuleDescription const &desc)
 
ModuleDescription const & description () const
 
void doAccessInputProcessBlock (ProcessBlockPrincipal const &, ModuleCallingContext const *)
 
void doBeginJob_ ()
 
bool doBeginLuminosityBlock (LumiTransitionInfo const &, ModuleCallingContext const *)
 
void doBeginProcessBlock (ProcessBlockPrincipal const &, ModuleCallingContext const *)
 
bool doBeginRun (RunTransitionInfo const &, ModuleCallingContext const *)
 
void doEndJob ()
 
bool doEndLuminosityBlock (LumiTransitionInfo const &, ModuleCallingContext const *)
 
void doEndProcessBlock (ProcessBlockPrincipal const &, ModuleCallingContext const *)
 
bool doEndRun (RunTransitionInfo const &, ModuleCallingContext const *)
 
bool doEvent_ (EventTransitionInfo const &, 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
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (edm::InputTag tag) noexcept
 
EDGetToken consumes (const TypeToGet &id, 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)
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes ()
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag)
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
void resetItemsToGetFrom (BranchType iType)
 
- Protected Attributes inherited from edm::core::OutputModuleCore
std::atomic< int > remainingEvents_
 

Detailed Description

Definition at line 15 of file FRDOutputModule.h.

Constructor & Destructor Documentation

◆ FRDOutputModule()

FRDOutputModule::FRDOutputModule ( edm::ParameterSet const &  ps)
explicit

Definition at line 25 of file FRDOutputModule.cc.

28  token_(consumes<FEDRawDataCollection>(ps.getParameter<edm::InputTag>("source"))),
29  frdVersion_(ps.getUntrackedParameter<unsigned int>("frdVersion")),
30  frdFileVersion_(ps.getUntrackedParameter<unsigned int>("frdFileVersion")),
31  filePrefix_(ps.getUntrackedParameter<std::string>("filePrefix")),
32  fileName_(ps.getUntrackedParameter<std::string>("fileName")) {}
const uint32_t frdFileVersion_
std::string filePrefix_
std::string fileName_
OutputModuleBase(ParameterSet const &pset)
const edm::EDGetTokenT< FEDRawDataCollection > token_
const uint32_t frdVersion_

◆ ~FRDOutputModule()

FRDOutputModule::~FRDOutputModule ( )
override

Definition at line 34 of file FRDOutputModule.cc.

34 {}

Member Function Documentation

◆ adler32()

uint32_t FRDOutputModule::adler32 ( ) const
inlineprivate

Definition at line 33 of file FRDOutputModule.h.

References adlera_, and adlerb_.

33 { return (adlerb_ << 16) | adlera_; }

◆ beginLuminosityBlock()

void FRDOutputModule::beginLuminosityBlock ( edm::LuminosityBlockForOutput const &  lumiBlock)
overrideprivate

Definition at line 133 of file FRDOutputModule.cc.

References adlera_, adlerb_, cms::cuda::assert(), Exception, MillePedeFileConverter_cfg::fileName, fileName_, filePrefix_, fileWritten_, finishFileWrite(), frdFileVersion_, edm::LuminosityBlockForOutput::id(), eostools::ls(), edm::LuminosityBlockID::luminosityBlock(), outfd_, perFileEventCount_, perFileSize_, edm::LuminosityBlockForOutput::run(), contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.

133  {
134  int ls = lumiBlock.id().luminosityBlock();
135 
136  if (outfd_ != -1)
138 
139  if (fileWritten_)
140  throw cms::Exception("RawEventFileWriterForBU", "beginLuminosityBlock")
141  << "Multiple lumisections not supported in the same FRD file!";
142 
144  if (fileName_.empty()) {
145  std::stringstream ss;
146  ss << (filePrefix_.empty() ? "" : filePrefix_ + "_") << "run" << std::setfill('0') << std::setw(6)
147  << lumiBlock.run() << "_ls" << std::setfill('0') << std::setw(4) << ls << "_index000000.raw";
148  fileName = ss.str();
149  } else {
150  //use exact filename (will be overwritten by last LS content if input contains multiple lumisections)
152  }
153 
154  outfd_ = open(fileName.c_str(), O_WRONLY | O_CREAT, S_IRWXU | S_IRWXG | S_IRWXO);
155  ftruncate(outfd_, 0);
156 
157  if (outfd_ < 0) { //attention here... it may happen that outfd_ is *not* set (e.g. missing initialize call...)
158  throw cms::Exception("RawEventFileWriterForBU", "beginLuminosityBlock")
159  << "Error opening FED Raw Data event output file: " << fileName << ": " << strerror(errno) << "\n";
160  }
161  edm::LogInfo("RawEventFileWriterForBU") << " Opened " << fileName;
162 
163  perFileEventCount_ = 0;
164  perFileSize_ = 0;
165 
166  adlera_ = 1;
167  adlerb_ = 0;
168 
169  if (frdFileVersion_ > 0) {
170  assert(frdFileVersion_ == 1);
171  //reserve space for file header
172  ftruncate(outfd_, sizeof(FRDFileHeader_v1));
173  lseek(outfd_, sizeof(FRDFileHeader_v1), SEEK_SET);
174  perFileSize_ = sizeof(FRDFileHeader_v1);
175  }
176 }
const uint32_t frdFileVersion_
uint32_t perFileEventCount_
void finishFileWrite(int ls)
uint64_t perFileSize_
assert(be >=bs)
std::string filePrefix_
std::string fileName_
Log< level::Info, false > LogInfo
def ls(path, rec=False)
Definition: eostools.py:349

◆ endLuminosityBlock()

void FRDOutputModule::endLuminosityBlock ( edm::LuminosityBlockForOutput const &  lumiBlock)
overrideprivate

Definition at line 178 of file FRDOutputModule.cc.

References finishFileWrite(), edm::LuminosityBlockForOutput::id(), eostools::ls(), and edm::LuminosityBlockID::luminosityBlock().

178  {
179  int ls = lumiBlock.id().luminosityBlock();
181 }
void finishFileWrite(int ls)
def ls(path, rec=False)
Definition: eostools.py:349

◆ fillDescriptions()

void FRDOutputModule::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 36 of file FRDOutputModule.cc.

References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, HLT_2022v15_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

36  {
38  desc.add<edm::InputTag>("source", edm::InputTag("rawDataCollector"));
39  desc.addUntracked<unsigned int>("frdFileVersion", 1), desc.addUntracked<unsigned int>("frdVersion", 6);
40  desc.addUntracked<std::string>("filePrefix", "");
41  desc.addUntracked<std::string>("fileName", "");
42  descriptions.addWithDefaultLabel(desc);
43 }
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)

◆ finishFileWrite()

void FRDOutputModule::finishFileWrite ( int  ls)
private

Definition at line 183 of file FRDOutputModule.cc.

References fileName_, fileWritten_, frdFileVersion_, eostools::ls(), outfd_, perFileEventCount_, perFileSize_, and write().

Referenced by beginLuminosityBlock(), and endLuminosityBlock().

183  {
184  if (outfd_ == -1)
185  return;
186 
187  if (frdFileVersion_ > 0) {
188  //rewind
189  lseek(outfd_, 0, SEEK_SET);
190  FRDFileHeader_v1 frdFileHeader(perFileEventCount_, (uint32_t)ls, perFileSize_);
191  ::write(outfd_, (char*)&frdFileHeader, sizeof(FRDFileHeader_v1));
192  }
193 
194  close(outfd_);
195  outfd_ = -1;
196  if (!fileName_.empty())
197  fileWritten_ = true;
198 
199  edm::LogInfo("FRDOutputModule") << "closed RAW input file";
200 }
const uint32_t frdFileVersion_
uint32_t perFileEventCount_
uint64_t perFileSize_
std::string fileName_
Log< level::Info, false > LogInfo
def ls(path, rec=False)
Definition: eostools.py:349
void write(edm::EventForOutput const &e) override

◆ write()

void FRDOutputModule::write ( edm::EventForOutput const &  e)
overrideprivatevirtual

Implements edm::core::OutputModuleCore.

Definition at line 45 of file FRDOutputModule.cc.

References cms::Adler32(), cms::cuda::assert(), crc32c(), FEDRawData::data(), MillePedeFileConverter_cfg::e, Exception, FEDRawDataCollection::FEDData(), fileName_, HLT_2022v15_cff::flags, FRDEVENT_MASK_ISGENDATA, FRDHeaderMaxVersion, FRDHeaderVersionSize, frdVersion_, heavyIonCSV_trainingSettings::idx, FEDNumbering::lastFEDId(), mps_check::msg, outfd_, perFileEventCount_, perFileSize_, FEDRawData::size(), and token_.

Referenced by finishFileWrite(), and pkg.AbstractPkg::generate().

45  {
46  // serialize the FEDRawDataCollection into the format that we expect for
47  // FRDEventMsgView objects (may be better ways to do this)
49  e.getByToken(token_, fedBuffers);
50 
51  // determine the expected size of the FRDEvent IN BYTES !!!!!
53  int headerSize = FRDHeaderVersionSize[frdVersion_];
54  int expectedSize = headerSize;
55  int nFeds = frdVersion_ < 3 ? 1024 : FEDNumbering::lastFEDId() + 1;
56 
57  for (int idx = 0; idx < nFeds; ++idx) {
58  FEDRawData singleFED = fedBuffers->FEDData(idx);
59  expectedSize += singleFED.size();
60  }
61 
62  // build the FRDEvent into a temporary buffer
63  std::unique_ptr<std::vector<unsigned char>> workBuffer(
64  std::make_unique<std::vector<unsigned char>>(expectedSize + 256));
65  uint32* bufPtr = (uint32*)(workBuffer.get()->data());
66  if (frdVersion_ <= 5) {
67  *bufPtr++ = (uint32)frdVersion_; // version number only
68  } else {
69  uint16 flags = 0;
70  if (!e.eventAuxiliary().isRealData())
72  *(uint16*)bufPtr = (uint16)(frdVersion_ & 0xffff);
73  *((uint16*)bufPtr + 1) = flags;
74  bufPtr++;
75  }
76  *bufPtr++ = (uint32)e.id().run();
77  *bufPtr++ = (uint32)e.luminosityBlock();
78  *bufPtr++ = (uint32)e.id().event();
79  if (frdVersion_ == 4)
80  *bufPtr++ = 0; //64-bit event id high part
81 
82  if (frdVersion_ < 3) {
83  uint32 fedsize[1024];
84  for (int idx = 0; idx < 1024; ++idx) {
85  FEDRawData singleFED = fedBuffers->FEDData(idx);
86  fedsize[idx] = singleFED.size();
87  //std::cout << "fed size " << singleFED.size()<< std::endl;
88  }
89  memcpy(bufPtr, fedsize, 1024 * sizeof(uint32));
90  bufPtr += 1024;
91  } else {
92  *bufPtr++ = expectedSize - headerSize;
93  *bufPtr++ = 0;
94  if (frdVersion_ <= 4)
95  *bufPtr++ = 0;
96  }
97  uint32* payloadPtr = bufPtr;
98  for (int idx = 0; idx < nFeds; ++idx) {
99  FEDRawData singleFED = fedBuffers->FEDData(idx);
100  if (singleFED.size() > 0) {
101  memcpy(bufPtr, singleFED.data(), singleFED.size());
102  bufPtr += singleFED.size() / 4;
103  }
104  }
105  if (frdVersion_ > 4) {
106  //crc32c checksum
107  uint32_t crc = 0;
108  *(payloadPtr - 1) = crc32c(crc, (const unsigned char*)payloadPtr, expectedSize - headerSize);
109  } else if (frdVersion_ >= 3) {
110  //adler32 checksum
111  uint32 adlera = 1;
112  uint32 adlerb = 0;
113  cms::Adler32((const char*)payloadPtr, expectedSize - headerSize, adlera, adlerb);
114  *(payloadPtr - 1) = (adlerb << 16) | adlera;
115  }
116 
117  // create the FRDEventMsgView and use the template consumer to write it out
118  FRDEventMsgView msg(workBuffer.get()->data());
119 
120  //write
121  ssize_t retval = ::write(outfd_, (void*)msg.startAddress(), msg.size());
122 
123  if ((unsigned)retval != msg.size()) {
124  throw cms::Exception("FRDOutputModule", "write")
125  << "Error writing FED Raw Data event data to " << fileName_ << ". Possibly the output disk "
126  << "is full?" << std::endl;
127  }
128 
130  perFileSize_ += msg.size();
131 }
constexpr size_t FRDHeaderMaxVersion
uint32_t perFileEventCount_
uint64_t perFileSize_
size_t size() const
Lenght of the data buffer in bytes.
Definition: FEDRawData.h:45
assert(be >=bs)
unsigned short uint16
Definition: MsgTools.h:12
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
unsigned int uint32
Definition: MsgTools.h:13
std::string fileName_
uint32_t crc32c(uint32_t crc, const unsigned char *buf, size_t len)
Definition: crc32c.cc:340
void Adler32(char const *data, size_t len, uint32_t &a, uint32_t &b)
const edm::EDGetTokenT< FEDRawDataCollection > token_
tuple msg
Definition: mps_check.py:286
const uint32_t frdVersion_
const uint16 FRDEVENT_MASK_ISGENDATA
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
Definition: FEDRawData.cc:24
constexpr std::array< uint32, FRDHeaderMaxVersion+1 > FRDHeaderVersionSize
static constexpr int lastFEDId()
Definition: FEDNumbering.h:19
void write(edm::EventForOutput const &e) override

◆ writeLuminosityBlock()

void FRDOutputModule::writeLuminosityBlock ( const edm::LuminosityBlockForOutput )
inlineoverrideprivatevirtual

Implements edm::core::OutputModuleCore.

Definition at line 27 of file FRDOutputModule.h.

27 {}

◆ writeRun()

void FRDOutputModule::writeRun ( const edm::RunForOutput )
inlineoverrideprivatevirtual

Implements edm::core::OutputModuleCore.

Definition at line 26 of file FRDOutputModule.h.

26 {}

Member Data Documentation

◆ adlera_

uint32_t FRDOutputModule::adlera_
private

Definition at line 43 of file FRDOutputModule.h.

Referenced by adler32(), and beginLuminosityBlock().

◆ adlerb_

uint32_t FRDOutputModule::adlerb_
private

Definition at line 44 of file FRDOutputModule.h.

Referenced by adler32(), and beginLuminosityBlock().

◆ fileName_

std::string FRDOutputModule::fileName_
private

Definition at line 40 of file FRDOutputModule.h.

Referenced by beginLuminosityBlock(), finishFileWrite(), and write().

◆ filePrefix_

std::string FRDOutputModule::filePrefix_
private

Definition at line 39 of file FRDOutputModule.h.

Referenced by beginLuminosityBlock().

◆ fileWritten_

bool FRDOutputModule::fileWritten_ = false
private

Definition at line 49 of file FRDOutputModule.h.

Referenced by beginLuminosityBlock(), and finishFileWrite().

◆ frdFileVersion_

const uint32_t FRDOutputModule::frdFileVersion_
private

Definition at line 38 of file FRDOutputModule.h.

Referenced by beginLuminosityBlock(), and finishFileWrite().

◆ frdVersion_

const uint32_t FRDOutputModule::frdVersion_
private

Definition at line 37 of file FRDOutputModule.h.

Referenced by write().

◆ outfd_

int FRDOutputModule::outfd_ = -1
private

Definition at line 42 of file FRDOutputModule.h.

Referenced by beginLuminosityBlock(), finishFileWrite(), and write().

◆ perFileEventCount_

uint32_t FRDOutputModule::perFileEventCount_
private

Definition at line 46 of file FRDOutputModule.h.

Referenced by beginLuminosityBlock(), finishFileWrite(), and write().

◆ perFileSize_

uint64_t FRDOutputModule::perFileSize_
private

Definition at line 47 of file FRDOutputModule.h.

Referenced by beginLuminosityBlock(), finishFileWrite(), and write().

◆ token_

const edm::EDGetTokenT<FEDRawDataCollection> FRDOutputModule::token_
private

Definition at line 35 of file FRDOutputModule.h.

Referenced by write().