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 55 #ifdef USE_STORAGE_MANAGER 57 typedef std::unique_ptr<Storage>
FILE_t;
76 return (this->run < a.
run)
77 || ((this->run == a.
run) && (this->orbit < a.
orbit));
82 return (this->run > a.
run)
83 || ((this->run == a.
run) && (this->orbit > a.
orbit));
88 return !((*this) < a || (*this) >
a);
108 int64_t
pos(
int orb)
const;
154 getMatacqFile(uint32_t
runNumber, uint32_t orbitId,
bool* fileChange =
nullptr);
157 getMatacqEvent(uint32_t
runNumber, int32_t orbitId,
165 bool getOrbitRange(uint32_t& firstOrb, uint32_t& lastOrb);
171 void loadOrbitOffset();
179 bool mseek(filepos_t
offset,
int whence = SEEK_SET,
const char* mess =
nullptr);
181 bool mtell(filepos_t&
pos);
191 bool mread(
char* buf,
size_t n,
const char* mess =
nullptr,
bool peek =
false);
205 bool msize(filepos_t&
s);
207 void newRun(
int prevRun,
int newRun);
268 static const int bufferSize = 30000;
299 static const int matacqFedId_ = 655;
std::map< uint32_t, uint32_t > orbitOffset_
static const int orbitTolerance_
std::vector< std::string > fileNames_
std::string digiInstanceName_
bool operator<(const FedChannelConnection &, const FedChannelConnection &)
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)