#include <BetaCalculatorTK.h>
Definition at line 22 of file BetaCalculatorTK.h.
BetaCalculatorTK::BetaCalculatorTK | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 8 of file BetaCalculatorTK.cc.
{ /* m_dedxEstimator1Tag = iConfig.getParameter<edm::InputTag>("dedxEstimator1"); m_dedxEstimator2Tag = iConfig.getParameter<edm::InputTag>("dedxEstimator2"); m_dedxEstimator3Tag = iConfig.getParameter<edm::InputTag>("dedxEstimator3"); m_dedxEstimator4Tag = iConfig.getParameter<edm::InputTag>("dedxEstimator4"); m_dedxEstimator5Tag = iConfig.getParameter<edm::InputTag>("dedxEstimator5"); m_dedxEstimator6Tag = iConfig.getParameter<edm::InputTag>("dedxEstimator6"); m_dedxDiscriminator1Tag = iConfig.getParameter<edm::InputTag>("dedxDiscriminator1"); m_dedxDiscriminator2Tag = iConfig.getParameter<edm::InputTag>("dedxDiscriminator2"); m_dedxDiscriminator3Tag = iConfig.getParameter<edm::InputTag>("dedxDiscriminator3"); m_dedxDiscriminator4Tag = iConfig.getParameter<edm::InputTag>("dedxDiscriminator4"); m_dedxDiscriminator5Tag = iConfig.getParameter<edm::InputTag>("dedxDiscriminator5"); m_dedxDiscriminator6Tag = iConfig.getParameter<edm::InputTag>("dedxDiscriminator6"); */ }
void BetaCalculatorTK::addInfoToCandidate | ( | susybsm::HSCParticle & | candidate, |
edm::Event & | iEvent, | ||
const edm::EventSetup & | iSetup | ||
) |
Definition at line 26 of file BetaCalculatorTK.cc.
{ //Do nothing since all dE/dx object are external and get be accessed via reference return; /* if(!candidate.hasTrackRef())return; edm::Handle<DeDxDataValueMap> Estimator1H; iEvent.getByLabel(m_dedxEstimator1Tag,Estimator1H); const ValueMap<DeDxData> Estimator1 = *Estimator1H.product(); edm::Handle<DeDxDataValueMap> Estimator2H; iEvent.getByLabel(m_dedxEstimator2Tag,Estimator2H); const ValueMap<DeDxData> Estimator2 = *Estimator2H.product(); edm::Handle<DeDxDataValueMap> Estimator3H; iEvent.getByLabel(m_dedxEstimator3Tag,Estimator3H); const ValueMap<DeDxData> Estimator3 = *Estimator3H.product(); edm::Handle<DeDxDataValueMap> Estimator4H; iEvent.getByLabel(m_dedxEstimator4Tag,Estimator4H); const ValueMap<DeDxData> Estimator4 = *Estimator4H.product(); edm::Handle<DeDxDataValueMap> Estimator5H; iEvent.getByLabel(m_dedxEstimator5Tag,Estimator5H); const ValueMap<DeDxData> Estimator5 = *Estimator5H.product(); edm::Handle<DeDxDataValueMap> Estimator6H; iEvent.getByLabel(m_dedxEstimator6Tag,Estimator6H); const ValueMap<DeDxData> Estimator6 = *Estimator6H.product(); edm::Handle<DeDxDataValueMap> Discriminator1H; iEvent.getByLabel(m_dedxDiscriminator1Tag,Discriminator1H); const ValueMap<DeDxData> Discriminator1 = *Discriminator1H.product(); edm::Handle<DeDxDataValueMap> Discriminator2H; iEvent.getByLabel(m_dedxDiscriminator2Tag,Discriminator2H); const ValueMap<DeDxData> Discriminator2 = *Discriminator2H.product(); edm::Handle<DeDxDataValueMap> Discriminator3H; iEvent.getByLabel(m_dedxDiscriminator3Tag,Discriminator3H); const ValueMap<DeDxData> Discriminator3 = *Discriminator3H.product(); edm::Handle<DeDxDataValueMap> Discriminator4H; iEvent.getByLabel(m_dedxDiscriminator4Tag,Discriminator4H); const ValueMap<DeDxData> Discriminator4 = *Discriminator4H.product(); edm::Handle<DeDxDataValueMap> Discriminator5H; iEvent.getByLabel(m_dedxDiscriminator5Tag,Discriminator5H); const ValueMap<DeDxData> Discriminator5 = *Discriminator5H.product(); edm::Handle<DeDxDataValueMap> Discriminator6H; iEvent.getByLabel(m_dedxDiscriminator6Tag,Discriminator6H); const ValueMap<DeDxData> Discriminator6 = *Discriminator6H.product(); reco::TrackRef track = candidate.trackRef(); candidate.setDedxEstimator1 (Estimator1 [track]); candidate.setDedxEstimator2 (Estimator2 [track]); candidate.setDedxEstimator3 (Estimator3 [track]); candidate.setDedxEstimator4 (Estimator4 [track]); candidate.setDedxEstimator5 (Estimator5 [track]); candidate.setDedxEstimator6 (Estimator6 [track]); candidate.setDedxDiscriminator1(Discriminator1[track]); candidate.setDedxDiscriminator2(Discriminator2[track]); candidate.setDedxDiscriminator3(Discriminator3[track]); candidate.setDedxDiscriminator4(Discriminator4[track]); candidate.setDedxDiscriminator5(Discriminator5[track]); candidate.setDedxDiscriminator6(Discriminator6[track]); */ }
Definition at line 33 of file BetaCalculatorTK.h.
Definition at line 34 of file BetaCalculatorTK.h.
Definition at line 35 of file BetaCalculatorTK.h.
Definition at line 36 of file BetaCalculatorTK.h.
Definition at line 37 of file BetaCalculatorTK.h.
Definition at line 38 of file BetaCalculatorTK.h.
Definition at line 27 of file BetaCalculatorTK.h.
Definition at line 28 of file BetaCalculatorTK.h.
Definition at line 29 of file BetaCalculatorTK.h.
Definition at line 30 of file BetaCalculatorTK.h.
Definition at line 31 of file BetaCalculatorTK.h.
Definition at line 32 of file BetaCalculatorTK.h.