23 if(iConfig.
exists(
"SeedConfiguration")){
27 conf_.addParameter(
"tibOriginZCut",20.);
28 conf_.addParameter(
"tidOriginZCut",20.);
29 conf_.addParameter(
"tecOriginZCut",20.);
30 conf_.addParameter(
"monoOriginZCut",20.);
31 conf_.addParameter(
"tibDeltaPsiCut",0.1);
32 conf_.addParameter(
"tidDeltaPsiCut",0.1);
33 conf_.addParameter(
"tecDeltaPsiCut",0.1);
34 conf_.addParameter(
"monoDeltaPsiCut",0.1);
35 conf_.addParameter(
"tibPhiMissHit2Cut",0.006);
36 conf_.addParameter(
"tidPhiMissHit2Cut",0.006);
37 conf_.addParameter(
"tecPhiMissHit2Cut",0.007);
38 conf_.addParameter(
"monoPhiMissHit2Cut",0.02);
39 conf_.addParameter(
"tibZMissHit2Cut",0.35);
40 conf_.addParameter(
"tidRMissHit2Cut",0.3);
41 conf_.addParameter(
"tecRMissHit2Cut",0.3);
42 conf_.addParameter(
"tidEtaUsage", 1.2);
43 conf_.addParameter(
"tidMaxHits",4);
44 conf_.addParameter(
"tecMaxHits",2);
45 conf_.addParameter(
"monoMaxHits",4);
46 conf_.addParameter(
"maxSeeds",5);
50 if (conf_.existsAs<
edm::InputTag>(
"measurementTrackerEvent")) {
51 ssesg_tokens.
token_mte = consumes<MeasurementTrackerEvent>(conf_.getParameter<
edm::InputTag>(
"measurementTrackerEvent"));
62 produces<ElectronSeedCollection>();
78 LogDebug(
"") <<
"[SiStripElectronSeedProducer::produce] entering " ;
80 matcher_->setupES(iSetup);
83 std::auto_ptr<ElectronSeedCollection> pSeeds;
86 for (
unsigned int i=0;
i<2;
i++) {
92 matcher_->run(e,iSetup,clusters,*seeds);
97 pSeeds = std::auto_ptr<ElectronSeedCollection>(seeds);
virtual ~SiStripElectronSeedProducer()
T getParameter(std::string const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
bool exists(std::string const ¶meterName) const
checks if a parameter exists
edm::EDGetTokenT< MeasurementTrackerEvent > token_mte
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
void addParameter(std::string const &name, T const &value)
std::vector< ElectronSeed > ElectronSeedCollection
collection of ElectronSeed objects
virtual void produce(edm::Event &e, const edm::EventSetup &c)
SiStripElectronSeedProducer(const edm::ParameterSet &conf)
edm::EDGetTokenT< reco::BeamSpot > token_bs