CMS 3D CMS Logo

Classes | Typedefs | Functions
TauDiscriminationProducerBase.h File Reference
#include "FWCore/Framework/interface/stream/EDProducer.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "DataFormats/TauReco/interface/PFTau.h"
#include "DataFormats/TauReco/interface/PFTauDiscriminator.h"
#include "DataFormats/PatCandidates/interface/Tau.h"
#include "DataFormats/PatCandidates/interface/PATTauDiscriminator.h"
#include "DataFormats/TauReco/interface/CaloTau.h"
#include "DataFormats/TauReco/interface/CaloTauDiscriminator.h"

Go to the source code of this file.

Classes

struct  TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauDiscInfo
 
class  TauDiscriminationProducerBase< TauType, TauDiscriminator >
 

Typedefs

typedef TauDiscriminationProducerBase< reco::CaloTau, reco::CaloTauDiscriminatorCaloTauDiscriminationProducerBase
 
typedef TauDiscriminationProducerBase< pat::Tau, pat::PATTauDiscriminatorPATTauDiscriminationProducerBase
 
typedef TauDiscriminationProducerBase< reco::PFTau, reco::PFTauDiscriminatorPFTauDiscriminationProducerBase
 

Functions

template<class TauType >
std::string getProducerString ()
 helper function retrieve the correct cfi getter string (ie PFTauProducer) More...
 

Typedef Documentation

Definition at line 115 of file TauDiscriminationProducerBase.h.

Definition at line 113 of file TauDiscriminationProducerBase.h.

Definition at line 111 of file TauDiscriminationProducerBase.h.

Function Documentation

template<class TauType >
std::string getProducerString ( )

helper function retrieve the correct cfi getter string (ie PFTauProducer)

Definition at line 120 of file TauDiscriminationProducerBase.h.

References Exception.

121 {
122  // this generic one shoudl never be called.
123  // these are specialized in TauDiscriminationProducerBase.cc
124  throw cms::Exception("TauDiscriminationProducerBase")
125  << "Unsupported TauType used. You must use either PFTau, PATTau or CaloTaus.";
126 }