CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
tuple cfg
Definition: looper.py:293
GsfElectronEcalDrivenProducer(const edm::ParameterSet &, const gsfAlgoHelpers::HeavyObjectCache *)
void completeElectrons(const gsfAlgoHelpers::HeavyObjectCache *)
virtual void produce(edm::Event &, const edm::EventSetup &)
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
void beginEvent(edm::Event &, const edm::EventSetup &)