17 produces< edm::DetSet<Phase2TrackerCommissioningDigi> >(
"ConditionData");
29 event.getByToken( token_, buffers );
35 const FEDRawData& fed = buffers->FEDData(fedIndex);
43 std::map<uint32_t,uint32_t> cond_data = buffer->
conditionData();
47 LogTrace(
"Phase2TrackerCommissioningDigiProducer") <<
"--- Condition data debug ---" << std::endl;
48 std::map<uint32_t,uint32_t>::const_iterator it;
49 for(it = cond_data.begin(); it != cond_data.end(); it++)
51 LogTrace(
"Phase2TrackerCommissioningDigiProducer") << std::hex <<
"key: " << it->first
52 << std::hex <<
" value: " << it->second <<
" (hex) "
53 <<
std::dec << it->second <<
" (dec) " << std::endl;
55 LogTrace(
"Phase2TrackerCommissioningDigiProducer") <<
"----------------------------" << std::endl;
58 for(it = cond_data.begin(); it != cond_data.end(); it++)
62 std::auto_ptr< edm::DetSet<Phase2TrackerCommissioningDigi> > cdd(cond_data_digi);
63 event.put( cdd,
"ConditionData" );
T getParameter(std::string const &) const
void push_back(const T &t)
std::map< uint32_t, uint32_t > conditionData() const
~Phase2TrackerCommissioningDigiProducer()
default constructor
static const uint16_t CMS_FED_ID_MAX
Phase2TrackerCommissioningDigiProducer(const edm::ParameterSet &pset)
constructor
size_t size() const
Lenght of the data buffer in bytes.
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
void produce(edm::Event &event, const edm::EventSetup &es)
static const uint16_t FED_ID_MAX
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
static const uint16_t FED_ID_MIN