|
| ElectronPATIdMVAProducer (const edm::ParameterSet &) |
|
virtual | ~ElectronPATIdMVAProducer () |
|
| EDProducer () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDProducer () |
|
| ProducerBase () |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription
const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
virtual | ~ProducerBase () |
|
| EDConsumerBase () |
|
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
std::vector
< ProductHolderIndexAndSkipBit >
const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
|
virtual | ~EDConsumerBase () |
|
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::getByToken(), 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() );
bool getByToken(EDGetToken token, Handle< PROD > &result) const
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)
edm::EDGetTokenT< pat::ElectronCollection > electronToken_
EGammaMvaEleEstimator * mvaID_
edm::EDGetTokenT< double > eventrhoToken_
double ElectronPATIdMVAProducer::_Rho |
|
private |
string ElectronPATIdMVAProducer::method_ |
|
private |
vector<string> ElectronPATIdMVAProducer::mvaWeightFiles_ |
|
private |
bool ElectronPATIdMVAProducer::verbose_ |
|
private |