CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PATTauProducer.h
Go to the documentation of this file.
1 //
2 // $Id: PATTauProducer.h,v 1.23 2011/09/26 12:36:30 veelken Exp $
3 //
4 
5 #ifndef PhysicsTools_PatAlgos_PATTauProducer_h
6 #define PhysicsTools_PatAlgos_PATTauProducer_h
7 
24 
26 
28 
32 
34 
38 
41 
42 #include <string>
43 
44 
45 namespace pat {
46 
48 
49  public:
50 
51  explicit PATTauProducer(const edm::ParameterSet & iConfig);
53 
54  virtual void produce(edm::Event & iEvent, const edm::EventSetup & iSetup);
55 
56  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
57 
58  private:
59 
60  // configurables
76 
79  std::vector<edm::InputTag> genMatchSrc_;
80 
84 
86  std::vector<edm::InputTag> tauJetCorrFactorsSrc_;
87 
88  bool addTauID_;
89  typedef std::pair<std::string, edm::InputTag> NameTag;
90  std::vector<NameTag> tauIDSrcs_;
91 
92  // tools
94 
96  pat::helper::MultiIsolator::IsolationValuePairs isolatorTmpStorage_; // better here than recreate at each event
97  std::vector<std::pair<pat::IsolationKeys,edm::InputTag> > isoDepositLabels_;
98 
101 
104 
107 
108  template <typename TauCollectionType, typename TauDiscrType> float getTauIdDiscriminator(const edm::Handle<TauCollectionType>&, size_t, const edm::Handle<TauDiscrType>&);
109  };
110 
111 }
112 
113 #endif
Assists in assimilating all pat::UserData into pat objects.
std::pair< std::string, edm::InputTag > NameTag
virtual void produce(edm::Event &iEvent, const edm::EventSetup &iSetup)
pat::helper::MultiIsolator::IsolationValuePairs isolatorTmpStorage_
pat::helper::EfficiencyLoader efficiencyLoader_
pat::helper::KinResolutionsLoader resolutionLoader_
float getTauIdDiscriminator(const edm::Handle< TauCollectionType > &, size_t, const edm::Handle< TauDiscrType > &)
edm::InputTag genJetMatchSrc_
std::vector< edm::InputTag > genMatchSrc_
bool embedIsolationPFChargedHadrCands_
int iEvent
Definition: GenABIO.cc:243
pat::helper::MultiIsolator isolator_
edm::InputTag tauSrc_
bool embedIsolationPFNeutralHadrCands_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
pat::PATUserDataHelper< pat::Tau > userDataHelper_
bool embedSignalPFNeutralHadrCands_
std::vector< std::pair< pat::IsolationKeys, float > > IsolationValuePairs
Definition: MultiIsolator.h:16
PATTauProducer(const edm::ParameterSet &iConfig)
std::vector< edm::InputTag > tauJetCorrFactorsSrc_
std::vector< std::pair< pat::IsolationKeys, edm::InputTag > > isoDepositLabels_
bool embedSignalPFChargedHadrCands_
std::vector< NameTag > tauIDSrcs_
GreaterByPt< Tau > pTTauComparator_
Produces pat::Tau&#39;s.