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);
55 produces<ElectronSeedCollection>();
71 LogDebug(
"") <<
"[SiStripElectronSeedProducer::produce] entering " ;
73 matcher_->setupES(iSetup);
76 std::auto_ptr<ElectronSeedCollection> pSeeds;
79 for (
unsigned int i=0;
i<2;
i++) {
85 matcher_->run(e,iSetup,clusters,*seeds);
90 pSeeds = std::auto_ptr<ElectronSeedCollection>(seeds);
virtual ~SiStripElectronSeedProducer()
T getParameter(std::string const &) const
bool exists(std::string const ¶meterName) const
checks if a parameter exists
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
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
virtual void produce(edm::Event &e, const edm::EventSetup &c)
SiStripElectronSeedProducer(const edm::ParameterSet &conf)