Public Member Functions | |
template<class H , class T > | |
void | fillValueMap (edm::Event &iEvent, const edm::Handle< H > &handle, const std::vector< T > &vec, const std::string &name) const |
void | produce (edm::Event &ev, const edm::EventSetup &es) final |
TOFPIDProducer (const ParameterSet &pset) | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Attributes | |
double | fixedT0Error_ |
double | maxDtSignificance_ |
double | maxDz_ |
double | minProbHeavy_ |
edm::EDGetTokenT < edm::ValueMap< float > > | pathLengthToken_ |
edm::EDGetTokenT < edm::ValueMap< float > > | pToken_ |
edm::EDGetTokenT < edm::ValueMap< float > > | sigmat0Token_ |
edm::EDGetTokenT < edm::ValueMap< float > > | sigmatmtdToken_ |
edm::EDGetTokenT < edm::ValueMap< float > > | t0Token_ |
edm::EDGetTokenT < edm::ValueMap< float > > | tmtdToken_ |
edm::EDGetTokenT < reco::TrackCollection > | tracksToken_ |
double | vtxMaxSigmaT_ |
edm::EDGetTokenT < reco::VertexCollection > | vtxsToken_ |
Static Private Attributes | |
static constexpr char | probKName [] = "probK" |
static constexpr char | probPiName [] = "probPi" |
static constexpr char | probPName [] = "probP" |
static constexpr char | sigmat0Name [] = "sigmat0" |
static constexpr char | sigmat0safeName [] = "sigmat0safe" |
static constexpr char | t0Name [] = "t0" |
static constexpr char | t0safeName [] = "t0safe" |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T...> |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T...> |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Definition at line 21 of file TOFPIDProducer.cc.
TOFPIDProducer::TOFPIDProducer | ( | const ParameterSet & | pset | ) |
Definition at line 59 of file TOFPIDProducer.cc.
References probKName, probPiName, probPName, sigmat0Name, sigmat0safeName, t0Name, and t0safeName.
|
static |
Definition at line 83 of file TOFPIDProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and edm::ParameterDescriptionNode::setComment().
void TOFPIDProducer::fillValueMap | ( | edm::Event & | iEvent, |
const edm::Handle< H > & | handle, | ||
const std::vector< T > & | vec, | ||
const std::string & | name | ||
) | const |
Definition at line 115 of file TOFPIDProducer.cc.
References eostools::move(), submitPVResolutionJobs::out, and edm::Event::put().
Referenced by produce().
|
final |
Definition at line 126 of file TOFPIDProducer.cc.
References funct::abs(), c_cm_ns, c_inv, dt, PVValHelper::dz, reco::TrackBase::dz(), reco::TrackBase::dzError(), funct::exp(), fillValueMap(), fixedT0Error_, edm::Event::getByToken(), SiStripPI::max, maxDtSignificance_, maxDz_, minProbHeavy_, pathLengthToken_, reco::Vertex::position(), probKName, probPiName, probPName, pToken_, sigmat0Name, sigmat0safeName, sigmat0Token_, sigmatmtdToken_, mathSSE::sqrt(), reco::Vertex::t(), FrontierCondition_GT_autoExpress_cfi::t0, t0Name, t0safeName, t0Token_, reco::Vertex::tError(), tmtdToken_, HLT_FULL_cff::track, tracks, tracksToken_, reco::Vertex::trackWeight(), vtxMaxSigmaT_, vtxsToken_, and w.
|
private |
Definition at line 56 of file TOFPIDProducer.cc.
Referenced by produce().
|
private |
Definition at line 54 of file TOFPIDProducer.cc.
Referenced by produce().
|
private |
Definition at line 53 of file TOFPIDProducer.cc.
Referenced by produce().
|
private |
Definition at line 55 of file TOFPIDProducer.cc.
Referenced by produce().
|
private |
Definition at line 49 of file TOFPIDProducer.cc.
Referenced by produce().
|
staticprivate |
Definition at line 41 of file TOFPIDProducer.cc.
Referenced by produce(), and TOFPIDProducer().
|
staticprivate |
Definition at line 40 of file TOFPIDProducer.cc.
Referenced by produce(), and TOFPIDProducer().
|
staticprivate |
Definition at line 42 of file TOFPIDProducer.cc.
Referenced by produce(), and TOFPIDProducer().
|
private |
Definition at line 50 of file TOFPIDProducer.cc.
Referenced by produce().
|
staticprivate |
Definition at line 37 of file TOFPIDProducer.cc.
Referenced by produce(), and TOFPIDProducer().
|
staticprivate |
Definition at line 39 of file TOFPIDProducer.cc.
Referenced by produce(), and TOFPIDProducer().
|
private |
Definition at line 47 of file TOFPIDProducer.cc.
Referenced by produce().
|
private |
Definition at line 48 of file TOFPIDProducer.cc.
Referenced by produce().
|
staticprivate |
Definition at line 36 of file TOFPIDProducer.cc.
Referenced by produce(), and TOFPIDProducer().
|
staticprivate |
Definition at line 38 of file TOFPIDProducer.cc.
Referenced by produce(), and TOFPIDProducer().
|
private |
Definition at line 45 of file TOFPIDProducer.cc.
Referenced by produce().
|
private |
Definition at line 46 of file TOFPIDProducer.cc.
Referenced by produce().
|
private |
Definition at line 44 of file TOFPIDProducer.cc.
Referenced by produce().
|
private |
Definition at line 52 of file TOFPIDProducer.cc.
Referenced by produce().
|
private |
Definition at line 51 of file TOFPIDProducer.cc.
Referenced by produce().