15 produces<L1GtTechnicalTriggerRecord>();
24 std::vector<L1GtTechnicalTrigger> vecTT(
ttpBits_.size()) ;
30 if ( !ttpDigiCollection.failedToGet() ) {
32 uint8_t ttpResults = ttpDigis->
begin()->triggerOutput() ;
33 bool bit8 = ttpResults & 0x1 ;
34 bool bit9 = ttpResults & 0x2 ;
35 bool bit10 = ttpResults & 0x4 ;
38 bool bitValue =
false ;
39 if (
ttpBits_.at(
i) == 8 ) bitValue = bit8 ;
40 if (
ttpBits_.at(
i) == 9 ) bitValue = bit9 ;
41 if (
ttpBits_.at(
i) == 10 ) bitValue = bit10 ;
50 output->setGtTechnicalTrigger(vecTT) ;
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
std::vector< unsigned int > ttpBits_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< std::string > names_
HcalTTPTriggerRecord(const edm::ParameterSet &ps)
void produce(edm::Event &e, const edm::EventSetup &c) override
edm::EDGetTokenT< HcalTTPDigiCollection > tok_ttp_
~HcalTTPTriggerRecord() override
const_iterator begin() const