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
53 #ifdef USE_STORAGE_MANAGER
55 typedef std::auto_ptr<Storage>
FILE_t;
86 return !((*this) < a || (*this) >
a);
106 int64_t
pos(
int orb)
const;
185 bool mread(
char* buf,
size_t n,
const char* mess = 0,
bool peek =
false);
std::map< uint32_t, uint32_t > orbitOffset_
static const int matacqFedId_
static int orbitTolerance_
bool operator<(const MatacqEventId &a)
std::vector< std::string > fileNames_
std::string digiInstanceName_
uint32_t getRunNumber(edm::Event &ev) const
uint32_t getOrbitId(edm::Event &ev) const
static stats_t stats_init
bool mcheck(const std::string &name)
struct MatacqProducer::stats_t stats_
int64_t pos(int orb) const
void addMatacqData(edm::Event &event)
double nNonLaserEventsWithMatacq
static std::string runSubDir(uint32_t runNumber)
int onErrorDisablingEvtCnt_
bool mread(char *buf, size_t n, const char *mess=0, bool peek=false)
virtual void produce(edm::Event &event, const edm::EventSetup &eventSetup)
edm::InputTag inputRawCollection_
double nLaserEventsWithMatacq
unsigned int offset(bool)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
std::string orbitOffsetFile_
int getCalibTriggerType(edm::Event &ev) const
bool operator>(const MatacqEventId &a)
MatacqDataFormatter formatter_
NullOut & operator<<(std::ostream &(*pf)(std::ostream &))
bool operator==(const MatacqEventId &a)
uint32_t openedFileRunNumber_
MatacqEventId(uint32_t r, uint32_t o)
void init(MatacqProducer *mp)
bool mtell(filepos_t &pos)
static const int bufferSize
MatacqProducer(const edm::ParameterSet ¶ms)
bool mseek(filepos_t offset, int whence=SEEK_SET, const char *mess=0)
std::string rawInstanceName_
std::vector< unsigned char > data_
void newRun(int prevRun, int newRun)
bool getMatacqFile(uint32_t runNumber, uint32_t orbitId, bool *fileChange=0)
NullOut & operator<<(const T &a)
bool mopen(const std::string &name)
bool getMatacqEvent(uint32_t runNumber, int32_t orbitId, bool fileChange)