|
void | analyze (edm::Event const &e, edm::EventSetup const &iSetup) override |
|
| CSCDigiToPattern (edm::ParameterSet const &conf) |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () |
|
SerialTaskQueue * | globalRunsQueue () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
| ~EDAnalyzer () override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef EDAnalyzer | ModuleType |
|
typedef ProductLabels | Labels |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &) |
|
static bool | wantsGlobalLuminosityBlocks () |
|
static bool | wantsGlobalRuns () |
|
static bool | wantsStreamLuminosityBlocks () |
|
static bool | wantsStreamRuns () |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
|
ConsumesCollector | consumesCollector () |
| Use a ConsumesCollector to gather consumes information from helper functions. More...
|
|
template<typename ProductType , BranchType B = InEvent> |
void | consumesMany () |
|
void | consumesMany (const TypeToGet &id) |
|
template<BranchType B> |
void | consumesMany (const TypeToGet &id) |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
Definition at line 16 of file CSCDigiToPattern.h.
Implements edm::EDAnalyzer.
Definition at line 10 of file CSCDigiToPattern.cc.
15 e.getByToken(
d_token, correlatedlcts);
20 std::vector<CSCCorrelatedLCTDigi>::const_iterator digiIt = (*j).second.first;
21 std::vector<CSCCorrelatedLCTDigi>::const_iterator
last = (*j).second.second;
22 for (; digiIt !=
last; ++digiIt) {
23 uint16_t wire = digiIt->getKeyWG();
24 uint16_t
pattern = digiIt->getPattern();
25 uint16_t
quality = digiIt->getQuality();
26 uint16_t
valid = digiIt->isValid();
27 uint16_t
strip = digiIt->getStrip();
28 uint16_t
bend = digiIt->getBend();
29 uint16_t syncErr = digiIt->getSyncErr();
30 uint16_t
bx = digiIt->getBX();
31 uint16_t bx0 = digiIt->getBX0();
32 uint16_t cscId = digiIt->getCSCID();
35 long unsigned int mpc = ((cscId & 0xF) << 28) | ((bx0 & 0x1) << 27) | ((
bx & 0x1) << 26) |
36 ((syncErr & 0x1) << 25) | ((
bend & 0x1) << 24) | ((
strip & 0xFF) << 16) |
38 std::cout <<
"MPC" << digiIt->getTrknmb() <<
" " << std::hex << mpc <<
std::dec << std::endl;
References trklet::bend(), l1GtPatternGenerator_cfi::bx, gather_cfg::cout, d_token, TauDecayModes::dec, MillePedeFileConverter_cfg::e, dqmiolumiharvest::j, dqmdumpme::last, topSingleLeptonDQM_PU_cfi::pattern, qcdUeDQM_cfi::quality, digitizers_cfi::strip, and validateGeometry_cfg::valid.