Definition at line 26 of file ElectronPATIdMVAProducer.cc.
ElectronPATIdMVAProducer::ElectronPATIdMVAProducer |
( |
const edm::ParameterSet & |
iConfig | ) |
|
|
explicit |
ElectronPATIdMVAProducer::~ElectronPATIdMVAProducer |
( |
| ) |
|
|
virtual |
Implements edm::EDProducer.
Definition at line 103 of file ElectronPATIdMVAProducer.cc.
References edm::helper::Filler< Map >::fill(), edm::Event::getByLabel(), edm::helper::Filler< Map >::insert(), dbtoconf::out, edm::Event::put(), and makeHLTPrescaleTable::values.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
124 std::vector<float>
values;
125 values.reserve(egCollection->size());
127 for ( pat::ElectronCollection::const_iterator egIter = egCandidates.begin(); egIter != egCandidates.end(); ++egIter) {
129 double mvaVal = -999999;
137 values.push_back( mvaVal );
141 filler.insert(egCollection,
values.begin(),
values.end() );
edm::InputTag electronTag_
std::vector< Electron > ElectronCollection
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Double_t mvaValue(const reco::GsfElectron &ele, const reco::Vertex &vertex, const TransientTrackBuilder &transientTrackBuilder, EcalClusterLazyTools myEcalCluster, bool printDebug=kFALSE)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
EGammaMvaEleEstimator * mvaID_
double ElectronPATIdMVAProducer::_Rho |
|
private |
string ElectronPATIdMVAProducer::method_ |
|
private |
vector<string> ElectronPATIdMVAProducer::mvaWeightFiles_ |
|
private |
bool ElectronPATIdMVAProducer::verbose_ |
|
private |