1 #ifndef CalibratedElectronProducerRun2_h 2 #define CalibratedElectronProducerRun2_h 45 produces<std::vector<T> >();
63 std::unique_ptr<std::vector<T> >
out(
new std::vector<T>());
64 out->reserve(in->size());
66 for (
const T &ele : *in) {
CalibratedElectronProducerRun2T< reco::GsfElectron > CalibratedElectronProducerRun2
edm::EDGetTokenT< edm::View< T > > theElectronToken
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
CalibratedElectronProducerRun2T(const edm::ParameterSet &)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
edm::ESHandle< GBRForest > theGBRForestHandle
virtual ~CalibratedElectronProducerRun2T()
virtual void produce(edm::Event &, const edm::EventSetup &) override
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
void calibrate(SimpleElectron &electron, edm::StreamID const &id=edm::StreamID::invalidStreamID()) const
EpCombinationTool theEpCombinationTool
CalibratedElectronProducerRun2T< pat::Electron > CalibratedPatElectronProducerRun2
StreamID streamID() const
std::string theGBRForestName
T const * product() const
ElectronEnergyCalibratorRun2 theEnCorrectorRun2