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 <FWCore/ParameterSet/interface/ConfigurationDescriptions.h>
#include <FWCore/ParameterSet/interface/ParameterSetDescription.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 119 of file TauDiscriminationProducerBase.h.

Definition at line 117 of file TauDiscriminationProducerBase.h.

Definition at line 115 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 124 of file TauDiscriminationProducerBase.h.

References Exception.

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