CMS 3D CMS Logo

GsfElectronEcalDrivenProducer.cc
Go to the documentation of this file.
1 
4 
11 
19 
20 
21 #include <iostream>
22 
23 using namespace reco;
24 
25 /* void GsfElectronEcalDrivenProducer::fillDescriptions( edm::ConfigurationDescriptions & descriptions )
26  {
27  edm::ParameterSetDescription desc ;
28  GsfElectronBaseProducer::fillDescription(desc) ;
29 
30  // input collections
31  desc.add<edm::InputTag>("ecalDrivenGsfElectronCoresTag",edm::InputTag("ecalDrivenGsfElectronCores")) ;
32 
33  // preselection parameters (ecal driven electrons)
34  desc.add<double>("minSCEtBarrel",4.0) ;
35  desc.add<double>("minSCEtEndcaps",4.0) ;
36  desc.add<double>("minEOverPBarrel",0.0) ;
37  desc.add<double>("maxEOverPBarrel",999999999.) ;
38  desc.add<double>("minEOverPEndcaps",0.0) ;
39  desc.add<double>("maxEOverPEndcaps",999999999.) ;
40  desc.add<double>("maxDeltaEtaBarrel",0.02) ;
41  desc.add<double>("maxDeltaEtaEndcaps",0.02) ;
42  desc.add<double>("maxDeltaPhiBarrel",0.15) ;
43  desc.add<double>("maxDeltaPhiEndcaps",0.15) ;
44  desc.add<double>("hOverEConeSize",0.15) ;
45  desc.add<double>("hOverEPtMin",0.) ;
46  desc.add<double>("maxHOverEBarrel",0.15) ;
47  desc.add<double>("maxHOverEEndcaps",0.15) ;
48  desc.add<double>("maxHBarrel",0.0) ;
49  desc.add<double>("maxHEndcaps",0.0) ;
50  desc.add<double>("maxSigmaIetaIetaBarrel",999999999.) ;
51  desc.add<double>("maxSigmaIetaIetaEndcaps",999999999.) ;
52  desc.add<double>("maxFbremBarrel",999999999.) ;
53  desc.add<double>("maxFbremEndcaps",999999999.) ;
54  desc.add<bool>("isBarrel",false) ;
55  desc.add<bool>("isEndcaps",false) ;
56  desc.add<bool>("isFiducial",false) ;
57  desc.add<bool>("seedFromTEC",true) ;
58  desc.add<double>("maxTIP",999999999.) ;
59  desc.add<double>("minMVA",-0.4) ;
60 
61  descriptions.add("produceEcalDrivenGsfElectrons",desc) ;
62  }
63  */
65  : GsfElectronBaseProducer(cfg,hoc)
66  {}
67 
69  {}
70 
71 // ------------ method called to produce the data ------------
73  {
74  beginEvent(event,setup) ;
75  algo_->completeElectrons(globalCache()) ;
76  fillEvent(event) ;
77  endEvent() ;
78  }
79 
80 
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:2
GsfElectronEcalDrivenProducer(const edm::ParameterSet &, const gsfAlgoHelpers::HeavyObjectCache *)
void completeElectrons(const gsfAlgoHelpers::HeavyObjectCache *)
void produce(edm::Event &, const edm::EventSetup &) override
void beginEvent(edm::Event &, const edm::EventSetup &)
fixed size matrix
Definition: event.py:1