CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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/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::CaloTauDiscriminator
CaloTauDiscriminationProducerBase
 
typedef
TauDiscriminationProducerBase
< reco::PFTau,
reco::PFTauDiscriminator
PFTauDiscriminationProducerBase
 

Functions

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

Typedef Documentation

Definition at line 111 of file TauDiscriminationProducerBase.h.

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

References edm::hlt::Exception.

116 {
117  // this generic one shoudl never be called.
118  // these are specialized in TauDiscriminationProducerBase.cc
119  throw cms::Exception("TauDiscriminationProducerBase")
120  << "Unsupported TauType used. You must use either PFTau or CaloTaus.";
121 }