CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RPCRecordFormatter.h
Go to the documentation of this file.
1 #ifndef RPCRecordFormatter_H
2 #define RPCRecordFormatter_H
3 
4 
13 
14 class RPCReadOutMapping;
15 #include <vector>
16 
18 public:
21 
24 
25  std::vector<rpcrawtodigi::EventRecords> recordPack(
26  uint32_t rawDetId, const RPCDigi & digi, int trigger_BX) const;
27 
31  RPCRawSynchro::ProdItem * synchro);
32 
33 private:
36 
38 };
39 
40 #endif
std::vector< std::pair< LinkBoardElectronicIndex, int > > ProdItem
Definition: RPCRawSynchro.h:9
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::vector< rpcrawtodigi::EventRecords > recordPack(uint32_t rawDetId, const RPCDigi &digi, int trigger_BX) const
int recordUnpack(const rpcrawtodigi::EventRecords &event, RPCDigiCollection *prod, RPCRawDataCounts *counter, RPCRawSynchro::ProdItem *synchro)
~RPCRecordFormatter()
Destructor.
static std::atomic< unsigned int > counter
RPCRecordFormatter(int fedId, const RPCReadOutMapping *readoutMapping)
Creator.
const RPCReadOutMapping * readoutMapping