47 cpeTag_(conf.getParameter<edm::
ESInputTag>(
"Phase2StripCPE")) {
48 produces<Phase2TrackerRecHit1DCollectionNew>();
55 event.getByToken(
token_, clusters);
74 for (
auto DSViter : *clusters) {
76 DetId detId(DSViter.detId());
84 for (
auto clustIt : DSViter) {
97 outputRecHits->shrink_to_fit();
98 event.put(outputRecHits);
edm::Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type > makeRefTo(const HandleT &iHandle, typename HandleT::element_type::value_type::const_iterator itIter)
const TrackerGeomDet * idToDetUnit(DetId) const
Return the pointer to the GeomDetUnit corresponding to a given DetId.
virtual ~Phase2TrackerRecHits()
#define DEFINE_FWK_MODULE(type)
edmNew::DetSetVector< Phase2TrackerRecHit1D > Phase2TrackerRecHit1DCollectionNew
void produce(edm::StreamID sid, edm::Event &event, const edm::EventSetup &eventSetup) const overridefinal
Phase2TrackerRecHits(const edm::ParameterSet &conf)
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
edm::EDGetTokenT< Phase2TrackerCluster1DCollectionNew > token_