Project
Loading...
Searching...
No Matches
o2::itsmft::MC2ROFRecord Struct Reference

#include <ROFRecord.h>

Public Types

using ROFtype = unsigned int
 

Public Member Functions

 MC2ROFRecord ()=default
 
 MC2ROFRecord (int evID, int rofRecID, ROFtype mnrof, ROFtype mxrof)
 
int getNROFs () const
 
std::string asString () const
 
void print () const
 
 ClassDefNV (MC2ROFRecord, 1)
 

Public Attributes

int eventRecordID = -1
 MCevent entry in the EventRecord.
 
int rofRecordID = 0
 1st entry in the ROFRecords vector
 
ROFtype minROF = 0
 1st ROFrame it contributed
 
ROFtype maxROF = 0
 last ROF event contributed
 

Friends

std::ostream & operator<< (std::ostream &output, const MC2ROFRecord &rec)
 

Detailed Description

this is a simple reference connecting (composed) MC event ID (from the EventRecord of the RunContext) with the entry in the ROFrecords entry

Definition at line 110 of file ROFRecord.h.

Member Typedef Documentation

◆ ROFtype

Definition at line 111 of file ROFRecord.h.

Constructor & Destructor Documentation

◆ MC2ROFRecord() [1/2]

o2::itsmft::MC2ROFRecord::MC2ROFRecord ( )
default

◆ MC2ROFRecord() [2/2]

o2::itsmft::MC2ROFRecord::MC2ROFRecord ( int  evID,
int  rofRecID,
ROFtype  mnrof,
ROFtype  mxrof 
)
inline

Definition at line 119 of file ROFRecord.h.

Member Function Documentation

◆ asString()

std::string MC2ROFRecord::asString ( ) const

Definition at line 34 of file ROFRecord.cxx.

◆ ClassDefNV()

o2::itsmft::MC2ROFRecord::ClassDefNV ( MC2ROFRecord  ,
 
)

◆ getNROFs()

int o2::itsmft::MC2ROFRecord::getNROFs ( ) const
inline

Definition at line 120 of file ROFRecord.h.

◆ print()

void MC2ROFRecord::print ( ) const

Definition at line 39 of file ROFRecord.cxx.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  output,
const MC2ROFRecord rec 
)
friend

Definition at line 44 of file ROFRecord.cxx.

Member Data Documentation

◆ eventRecordID

int o2::itsmft::MC2ROFRecord::eventRecordID = -1

MCevent entry in the EventRecord.

Definition at line 113 of file ROFRecord.h.

◆ maxROF

ROFtype o2::itsmft::MC2ROFRecord::maxROF = 0

last ROF event contributed

Definition at line 116 of file ROFRecord.h.

◆ minROF

ROFtype o2::itsmft::MC2ROFRecord::minROF = 0

1st ROFrame it contributed

Definition at line 115 of file ROFRecord.h.

◆ rofRecordID

int o2::itsmft::MC2ROFRecord::rofRecordID = 0

1st entry in the ROFRecords vector

Definition at line 114 of file ROFRecord.h.


The documentation for this struct was generated from the following files: