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.21 2010/02/22 14:54:31 mbluj 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  bool addTauID_;
85  typedef std::pair<std::string, edm::InputTag> NameTag;
86  std::vector<NameTag> tauIDSrcs_;
87 
88  // tools
90 
92  pat::helper::MultiIsolator::IsolationValuePairs isolatorTmpStorage_; // better here than recreate at each event
93  std::vector<std::pair<pat::IsolationKeys,edm::InputTag> > isoDepositLabels_;
94 
97 
100 
103 
104  template <typename TauCollectionType, typename TauDiscrType> float getTauIdDiscriminator(const edm::Handle<TauCollectionType>&, size_t, const edm::Handle<TauDiscrType>&);
105  };
106 
107 }
108 
109 #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< std::pair< pat::IsolationKeys, edm::InputTag > > isoDepositLabels_
bool embedSignalPFChargedHadrCands_
std::vector< NameTag > tauIDSrcs_
GreaterByPt< Tau > pTTauComparator_
Produces pat::Tau&#39;s.