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 116 of file TauDiscriminationProducerBase.h.

Definition at line 114 of file TauDiscriminationProducerBase.h.

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

References Exception.

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