CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
CaloJetMETcorrInputProducer_namespace::InputTypeCheckerT< pat::Jet > Class Template Reference

Public Member Functions

void operator() (const pat::Jet &jet) const
 

Detailed Description

template<>
class CaloJetMETcorrInputProducer_namespace::InputTypeCheckerT< pat::Jet >

Definition at line 12 of file PATCaloJetMETcorrInputProducer.cc.

Member Function Documentation

void CaloJetMETcorrInputProducer_namespace::InputTypeCheckerT< pat::Jet >::operator() ( const pat::Jet jet) const
inline

Definition at line 16 of file PATCaloJetMETcorrInputProducer.cc.

References pat::Jet::isCaloJet().

17  {
18  // check that pat::Jet is of Calo-type
19  if ( !jet.isCaloJet() )
20  throw cms::Exception("InvalidInput")
21  << "Input pat::Jet is not of Calo-type !!\n";
22  }
bool isCaloJet() const
check to see if the jet is a reco::CaloJet
Definition: Jet.h:231