6 #ifdef USE_STORAGE_MANAGER 9 #else //USE_STORAGE_MANAGER not defined 10 #ifndef _LARGEFILE64_SOURCE 11 #define _LARGEFILE64_SOURCE 12 #endif //_LARGEFILE64_SOURCE not defined 13 #define _FILE_OFFSET_BITS 64 15 #endif //USE_STORAGE_MANAGER defined 46 #ifdef USE_STORAGE_MANAGER 48 typedef std::unique_ptr<Storage>
FILE_t;
66 return (this->run < a.
run) || ((this->run == a.
run) && (this->orbit < a.
orbit));
70 return (this->run > a.
run) || ((this->run == a.
run) && (this->orbit > a.
orbit));
90 int64_t
pos(
int orb)
const;
133 bool getMatacqFile(uint32_t
runNumber, uint32_t orbitId,
bool* fileChange =
nullptr);
135 bool getMatacqEvent(uint32_t
runNumber, int32_t orbitId,
bool fileChange);
141 bool getOrbitRange(uint32_t& firstOrb, uint32_t& lastOrb);
147 void loadOrbitOffset();
155 bool mseek(filepos_t
offset,
int whence = SEEK_SET,
const char* mess =
nullptr);
157 bool mtell(filepos_t&
pos);
167 bool mread(
char* buf,
size_t n,
const char* mess =
nullptr,
bool peek =
false);
181 bool msize(filepos_t&
s);
183 void newRun(
int prevRun,
int newRun);
243 static const int bufferSize = 30000;
274 static const int matacqFedId_ = 655;
static const int orbitTolerance_
bool operator<(const MatacqEventId &a)
std::vector< std::string > fileNames_
std::string digiInstanceName_
std::map< uint32_t, uint32_t > orbitOffset_
edm::EDGetTokenT< FEDRawDataCollection > inputRawCollectionToken_
double nNonLaserEventsWithMatacq
int onErrorDisablingEvtCnt_
edm::InputTag inputRawCollection_
double nLaserEventsWithMatacq
std::string orbitOffsetFile_
bool operator>(const MatacqEventId &a)
def getRunNumber(filename)
MatacqDataFormatter formatter_
NullOut & operator<<(std::ostream &(*pf)(std::ostream &))
bool operator==(const MatacqEventId &a)
static const uint16_t invalid_
uint32_t openedFileRunNumber_
MatacqEventId(uint32_t r, uint32_t o)
std::string rawInstanceName_
std::vector< unsigned char > data_
static const stats_t stats_init
NullOut & operator<<(const T &a)