CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

reco::tau::RecoTauBuilderPlugin Class Reference

#include <RecoTauBuilderPlugins.h>

Inheritance diagram for reco::tau::RecoTauBuilderPlugin:
reco::tau::RecoTauEventHolderPlugin reco::tau::RecoTauNamedPlugin reco::tau::RecoTauBuilderCombinatoricPlugin reco::tau::RecoTauBuilderConePlugin

List of all members.

Public Types

typedef boost::ptr_vector
< reco::PFTau
output_type
typedef std::auto_ptr
< output_type
return_type

Public Member Functions

virtual void beginEvent ()
const edm::Handle
< PFCandidateCollection > & 
getPFCands () const
 Hack to be able to convert Ptrs to Refs.
virtual return_type operator() (const reco::PFJetRef &jet, const std::vector< reco::RecoTauPiZero > &piZeros, const std::vector< PFCandidatePtr > &regionalExtras) const =0
reco::VertexRef primaryVertex (const reco::PFJetRef &jet) const
 Get primary vertex associated to this jet.
 RecoTauBuilderPlugin (const edm::ParameterSet &pset)
virtual ~RecoTauBuilderPlugin ()

Private Attributes

edm::Handle
< PFCandidateCollection
pfCands_
edm::InputTag pfCandSrc_
reco::tau::RecoTauVertexAssociator vertexAssociator_

Detailed Description

Definition at line 53 of file RecoTauBuilderPlugins.h.


Member Typedef Documentation

Definition at line 55 of file RecoTauBuilderPlugins.h.

Definition at line 56 of file RecoTauBuilderPlugins.h.


Constructor & Destructor Documentation

reco::tau::RecoTauBuilderPlugin::RecoTauBuilderPlugin ( const edm::ParameterSet pset) [inline, explicit]

Definition at line 58 of file RecoTauBuilderPlugins.h.

References edm::ParameterSet::getParameter(), and pfCandSrc_.

                                                              :
      RecoTauEventHolderPlugin(pset),
      // The vertex association configuration is specified with the
      // quality cuts.
      vertexAssociator_(pset.getParameter<edm::ParameterSet>("qualityCuts")) {
        pfCandSrc_ = pset.getParameter<edm::InputTag>("pfCandSrc");
      };
virtual reco::tau::RecoTauBuilderPlugin::~RecoTauBuilderPlugin ( ) [inline, virtual]

Definition at line 66 of file RecoTauBuilderPlugins.h.

{}

Member Function Documentation

void reco::tau::RecoTauBuilderPlugin::beginEvent ( ) [virtual]
const edm::Handle<PFCandidateCollection>& reco::tau::RecoTauBuilderPlugin::getPFCands ( ) const [inline]

Hack to be able to convert Ptrs to Refs.

Definition at line 76 of file RecoTauBuilderPlugins.h.

References pfCands_.

Referenced by reco::tau::RecoTauBuilderCombinatoricPlugin::operator()(), and reco::tau::RecoTauBuilderConePlugin::operator()().

                                                               {
      return pfCands_; };
virtual return_type reco::tau::RecoTauBuilderPlugin::operator() ( const reco::PFJetRef jet,
const std::vector< reco::RecoTauPiZero > &  piZeros,
const std::vector< PFCandidatePtr > &  regionalExtras 
) const [pure virtual]

Construct one or more PFTaus from the a PFJet and its asscociated reconstructed PiZeros and regional extras i.e. objects in a 0.8 cone about the jet

reco::VertexRef reco::tau::RecoTauBuilderPlugin::primaryVertex ( const reco::PFJetRef jet) const [inline]

Member Data Documentation

Definition at line 91 of file RecoTauBuilderPlugins.h.

Referenced by beginEvent(), and getPFCands().

Definition at line 89 of file RecoTauBuilderPlugins.h.

Referenced by beginEvent(), and RecoTauBuilderPlugin().

Definition at line 92 of file RecoTauBuilderPlugins.h.

Referenced by beginEvent(), and primaryVertex().