CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
PFJetCorretPair Class Reference

#include <GammaJetAnalysis.h>

Inheritance diagram for PFJetCorretPair:

Public Member Functions

bool isValid () const
 
const reco::PFJetjet (void) const
 
void jet (const reco::PFJet *j)
 
 PFJetCorretPair ()
 
 PFJetCorretPair (const reco::PFJet *j, double s)
 
double scale (void) const
 
void scale (double d)
 
double scaledEt () const
 
 ~PFJetCorretPair ()
 

Detailed Description

Definition at line 91 of file GammaJetAnalysis.h.

Constructor & Destructor Documentation

PFJetCorretPair::PFJetCorretPair ( )
inline

Definition at line 93 of file GammaJetAnalysis.h.

References plotBeamSpotDB::first, and edm::second().

93  {
94  first=0;
95  second=1.0;
96  }
U second(std::pair< T, U > const &p)
PFJetCorretPair::PFJetCorretPair ( const reco::PFJet j,
double  s 
)
inline

Definition at line 97 of file GammaJetAnalysis.h.

References plotBeamSpotDB::first, j, alignCSCRings::s, and edm::second().

97  {
98  first=j;
99  second=s;
100  }
U second(std::pair< T, U > const &p)
int j
Definition: DBlmapReader.cc:9
PFJetCorretPair::~PFJetCorretPair ( )
inline

Definition at line 101 of file GammaJetAnalysis.h.

101 {}

Member Function Documentation

bool PFJetCorretPair::isValid ( void  ) const
inline

Definition at line 108 of file GammaJetAnalysis.h.

References plotBeamSpotDB::first, and NULL.

Referenced by GammaJetAnalysis::analyze(), and core.AutoHandle.AutoHandle::ReallyLoad().

108 { return (first!=NULL) ? true:false; }
#define NULL
Definition: scimark2.h:8
const reco::PFJet* PFJetCorretPair::jet ( void  ) const
inline
void PFJetCorretPair::jet ( const reco::PFJet j)
inline

Definition at line 104 of file GammaJetAnalysis.h.

References plotBeamSpotDB::first, and j.

104 { first=j; return; }
int j
Definition: DBlmapReader.cc:9
double PFJetCorretPair::scale ( void  ) const
inline
void PFJetCorretPair::scale ( double  d)
inline
double PFJetCorretPair::scaledEt ( ) const
inline

Definition at line 107 of file GammaJetAnalysis.h.

References plotBeamSpotDB::first, and edm::second().

Referenced by GammaJetAnalysis::analyze().

107 { return first->et() * second; }
U second(std::pair< T, U > const &p)