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/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 "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 94 of file TauDiscriminationProducerBase.h.

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

References edm::hlt::Exception.

99 {
100  // this generic one shoudl never be called.
101  // these are specialized in TauDiscriminationProducerBase.cc
102  throw cms::Exception("TauDiscriminationProducerBase")
103  << "Unsupported TauType used. You must use either PFTau or CaloTaus.";
104 }