CMS 3D CMS Logo

SingleEleCalibSelector.h
Go to the documentation of this file.
1 #ifndef SingleEleCalibSelector_h
2 #define SingleEleCalibSelector_h
3 
13 
14 #include <functional>
15 #include <vector>
16 #include <map>
17 
19 public:
22  typedef std::vector<const reco::GsfElectron*> container;
23  typedef container::const_iterator const_iterator;
24 
29 
30  const_iterator begin() const { return selected_.begin(); }
31  const_iterator end() const { return selected_.end(); }
32 
34 
35 private:
37 
39 
40  DetId findMaxHit(const std::vector<std::pair<DetId, float> >& v1,
41  const EBRecHitCollection* EBhits,
42  const EERecHitCollection* EEhits);
43 
44  double EnergyNxN(const std::vector<DetId>& vNxN, const EBRecHitCollection* EBhits, const EERecHitCollection* EEhits);
45 
50 };
51 
52 #endif
SingleEleCalibSelector::E5x5OPoutMin_
double E5x5OPoutMin_
Definition: SingleEleCalibSelector.h:46
Handle.h
ESHandle.h
SingleEleCalibSelector
Definition: SingleEleCalibSelector.h:18
SingleEleCalibSelector::ESCOPinMin_
double ESCOPinMin_
Definition: SingleEleCalibSelector.h:46
SingleEleCalibSelector::EnergyNxN
double EnergyNxN(const std::vector< DetId > &vNxN, const EBRecHitCollection *EBhits, const EERecHitCollection *EEhits)
Definition: SingleEleCalibSelector.cc:149
SingleEleCalibSelector::PinMPoutOPinMax_
double PinMPoutOPinMax_
Definition: SingleEleCalibSelector.h:47
edm::SortedCollection< EcalRecHit >
reco::GsfElectronCollection
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
Definition: GsfElectronFwd.h:14
SingleEleCalibSelector::E3x3OE5x5Max_
double E3x3OE5x5Max_
Definition: SingleEleCalibSelector.h:47
edm::Handle
Definition: AssociativeIterator.h:50
SingleEleCalibSelector::E5x5OPoutMax_
double E5x5OPoutMax_
Definition: SingleEleCalibSelector.h:47
EcalRecHitCollections.h
SingleEleCalibSelector::PinMPoutOPinMin_
double PinMPoutOPinMin_
Definition: SingleEleCalibSelector.h:46
edm::Ref
Definition: AssociativeIterator.h:58
SingleEleCalibSelector::end
const_iterator end() const
Definition: SingleEleCalibSelector.h:31
SingleEleCalibSelector::EErecHitLabel_
edm::InputTag EErecHitLabel_
Definition: SingleEleCalibSelector.h:49
DetId
Definition: DetId.h:17
SingleEleCalibSelector::electron
reco::GsfElectronRef electron
Definition: SingleEleCalibSelector.h:21
SingleEleCalibSelector::begin
const_iterator begin() const
Definition: SingleEleCalibSelector.h:30
edm::ESHandle< CaloTopology >
SingleEleCalibSelector::ESeedOPoutMax_
double ESeedOPoutMax_
Definition: SingleEleCalibSelector.h:47
SingleEleCalibSelector::E3x3OPinMin_
double E3x3OPinMin_
Definition: SingleEleCalibSelector.h:46
SingleEleCalibSelector::SingleEleCalibSelector
SingleEleCalibSelector(const edm::ParameterSet &iConfig)
ctor
Definition: SingleEleCalibSelector.cc:26
SingleEleCalibSelector::EBrecHitLabel_
edm::InputTag EBrecHitLabel_
Definition: SingleEleCalibSelector.h:48
GsfElectron.h
GsfElectronFwd.h
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
SingleEleCalibSelector::theCaloTopology
edm::ESHandle< CaloTopology > theCaloTopology
the selected collection
Definition: SingleEleCalibSelector.h:38
SingleEleCalibSelector::collection
reco::GsfElectronCollection collection
Definition: SingleEleCalibSelector.h:20
SingleEleCalibSelector::selected_
container selected_
Definition: SingleEleCalibSelector.h:36
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
edm::EventSetup
Definition: EventSetup.h:57
SingleEleCalibSelector::findMaxHit
DetId findMaxHit(const std::vector< std::pair< DetId, float > > &v1, const EBRecHitCollection *EBhits, const EERecHitCollection *EEhits)
Definition: SingleEleCalibSelector.cc:113
SingleEleCalibSelector::ESeedOPoutMin_
double ESeedOPoutMin_
Definition: SingleEleCalibSelector.h:46
CaloTopology.h
SingleEleCalibSelector::select
void select(edm::Handle< collection >, const edm::Event &, const edm::EventSetup &)
Definition: SingleEleCalibSelector.cc:47
EventSetup.h
SingleEleCalibSelector::~SingleEleCalibSelector
~SingleEleCalibSelector()
dtor
Definition: SingleEleCalibSelector.cc:108
SingleEleCalibSelector::E3x3OPinMax_
double E3x3OPinMax_
Definition: SingleEleCalibSelector.h:47
ParameterSet.h
SingleEleCalibSelector::container
std::vector< const reco::GsfElectron * > container
Definition: SingleEleCalibSelector.h:22
edm::Event
Definition: Event.h:73
SingleEleCalibSelector::E3x3OE5x5Min_
double E3x3OE5x5Min_
Definition: SingleEleCalibSelector.h:46
edm::InputTag
Definition: InputTag.h:15
SingleEleCalibSelector::ESCOPinMax_
double ESCOPinMax_
Definition: SingleEleCalibSelector.h:47
SingleEleCalibSelector::const_iterator
container::const_iterator const_iterator
Definition: SingleEleCalibSelector.h:23