CMS 3D CMS Logo

Public Types | Public Member Functions | Static Public Member Functions | Friends

PileupJetIdentifier Class Reference

#include <PileupJetIdentifier.h>

Inheritance diagram for PileupJetIdentifier:
StoredPileupJetIdentifier

List of all members.

Public Types

enum  Id { kTight = 0, kMedium = 1, kLoose = 2 }

Public Member Functions

 DECLARE_VARIABLE (idFlag, int)
 DECLARE_VARIABLE (emFrac07, float)
 DECLARE_VARIABLE (emFrac06, float)
 DECLARE_VARIABLE (emFrac05, float)
 DECLARE_VARIABLE (jetM, float)
 DECLARE_VARIABLE (emFrac03, float)
 DECLARE_VARIABLE (emFrac02, float)
 DECLARE_VARIABLE (emFrac01, float)
 DECLARE_VARIABLE (neutFrac07, float)
 DECLARE_VARIABLE (neutFrac06, float)
 DECLARE_VARIABLE (neutFrac05, float)
 DECLARE_VARIABLE (neutFrac04, float)
 DECLARE_VARIABLE (chgEMfrac, float)
 DECLARE_VARIABLE (neutFrac02, float)
 DECLARE_VARIABLE (neutFrac01, float)
 DECLARE_VARIABLE (chFrac07, float)
 DECLARE_VARIABLE (chFrac06, float)
 DECLARE_VARIABLE (chFrac05, float)
 DECLARE_VARIABLE (chFrac04, float)
 DECLARE_VARIABLE (leadPhi, float)
 DECLARE_VARIABLE (dRMeanEm, float)
 DECLARE_VARIABLE (chFrac01, float)
 DECLARE_VARIABLE (minW, float)
 DECLARE_VARIABLE (majW, float)
 DECLARE_VARIABLE (phiW, float)
 DECLARE_VARIABLE (etaW, float)
 DECLARE_VARIABLE (jetW, float)
 DECLARE_VARIABLE (fourthEmFrac, float)
 DECLARE_VARIABLE (thirdEmFrac, float)
 DECLARE_VARIABLE (secondEmFrac, float)
 DECLARE_VARIABLE (leadEmFrac, float)
 DECLARE_VARIABLE (fourthNeutFrac, float)
 DECLARE_VARIABLE (thirdNeutFrac, float)
 DECLARE_VARIABLE (secondNeutFrac, float)
 DECLARE_VARIABLE (leadNeutFrac, float)
 DECLARE_VARIABLE (fourthChFrac, float)
 DECLARE_VARIABLE (chFrac02, float)
 DECLARE_VARIABLE (secondChFrac, float)
 DECLARE_VARIABLE (leadChFrac, float)
 DECLARE_VARIABLE (fourthFrac, float)
 DECLARE_VARIABLE (thirdFrac, float)
 DECLARE_VARIABLE (secondFrac, float)
 DECLARE_VARIABLE (leadFrac, float)
 DECLARE_VARIABLE (sumNePt, float)
 DECLARE_VARIABLE (emFrac04, float)
 DECLARE_VARIABLE (sumPt, float)
 DECLARE_VARIABLE (ptDNe, float)
 DECLARE_VARIABLE (ptDCh, float)
 DECLARE_VARIABLE (neutFrac03, float)
 DECLARE_VARIABLE (ptRMS, float)
 DECLARE_VARIABLE (chFrac03, float)
 DECLARE_VARIABLE (dRMeanCh, float)
 DECLARE_VARIABLE (secondPt, float)
 DECLARE_VARIABLE (dRMeanNeut, float)
 DECLARE_VARIABLE (dRLead2nd, float)
 DECLARE_VARIABLE (dRLeadCent, float)
 DECLARE_VARIABLE (leadChPhi, float)
 DECLARE_VARIABLE (leadChEta, float)
 DECLARE_VARIABLE (leadChPt, float)
 DECLARE_VARIABLE (leadEmPhi, float)
 DECLARE_VARIABLE (thirdChFrac, float)
 DECLARE_VARIABLE (leadEmPt, float)
 DECLARE_VARIABLE (leadNeutPhi, float)
 DECLARE_VARIABLE (leadNeutEta, float)
 DECLARE_VARIABLE (sumChPt, float)
 DECLARE_VARIABLE (secondPhi, float)
 DECLARE_VARIABLE (ptMean, float)
 DECLARE_VARIABLE (secondEta, float)
 DECLARE_VARIABLE (pt2A, float)
 DECLARE_VARIABLE (leadEta, float)
 DECLARE_VARIABLE (leadPt, float)
 DECLARE_VARIABLE (d0, float)
 DECLARE_VARIABLE (leadEmEta, float)
 DECLARE_VARIABLE (chgHadrfrac, float)
 DECLARE_VARIABLE (neuEMfrac, float)
 DECLARE_VARIABLE (leadNeutPt, float)
 DECLARE_VARIABLE (mva, float)
 DECLARE_VARIABLE (jetPhi, float)
 DECLARE_VARIABLE (neuHadrfrac, float)
PileupJetIdentifieroperator= (const StoredPileupJetIdentifier &lhs)
bool passJetId (Id level)
 PileupJetIdentifier ()
 ~PileupJetIdentifier ()

Static Public Member Functions

static bool passJetId (int flag, Id level)

Friends

class PileupJetIdAlgo

Detailed Description

Definition at line 64 of file PileupJetIdentifier.h.


Member Enumeration Documentation

Enumerator:
kTight 
kMedium 
kLoose 

Definition at line 73 of file PileupJetIdentifier.h.

                {
          kTight  = 0,
          kMedium = 1,
          kLoose  = 2
        };

Constructor & Destructor Documentation

PileupJetIdentifier::PileupJetIdentifier ( )

Definition at line 19 of file PileupJetIdentifier.cc.

{
}
PileupJetIdentifier::~PileupJetIdentifier ( )

Definition at line 24 of file PileupJetIdentifier.cc.

{
}

Member Function Documentation

PileupJetIdentifier::DECLARE_VARIABLE ( idFlag  ,
int   
)
PileupJetIdentifier::DECLARE_VARIABLE ( emFrac07  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( emFrac06  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( mva  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( emFrac04  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( emFrac03  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( emFrac02  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( emFrac01  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( neutFrac07  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( neutFrac06  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( neutFrac05  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( neutFrac04  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( neutFrac03  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( neutFrac02  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( neutFrac01  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( chFrac07  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( chFrac06  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( chFrac05  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( chgEMfrac  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( secondPt  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( chFrac02  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( chFrac01  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( minW  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( majW  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( phiW  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( etaW  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( jetW  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( fourthEmFrac  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( thirdEmFrac  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( secondEmFrac  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( leadEmFrac  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( fourthNeutFrac  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( thirdNeutFrac  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( secondNeutFrac  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( leadNeutFrac  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( dRMeanCh  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( thirdChFrac  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( secondChFrac  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( leadChFrac  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( fourthFrac  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( thirdFrac  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( secondFrac  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( leadFrac  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( emFrac05  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( sumChPt  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( sumPt  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( ptDNe  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( ptDCh  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( pt2A  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( ptRMS  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( chFrac03  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( chFrac04  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( dRMeanEm  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( dRMeanNeut  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( dRLead2nd  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( dRLeadCent  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( leadChPhi  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( leadChEta  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( leadChPt  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( fourthChFrac  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( leadEmEta  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( leadEmPt  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( leadNeutPhi  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( sumNePt  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( leadNeutPt  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( secondPhi  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( ptMean  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( secondEta  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( leadPhi  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( leadEta  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( leadPt  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( leadEmPhi  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( neuHadrfrac  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( leadNeutEta  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( neuEMfrac  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( chgHadrfrac  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( jetM  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( d0  ,
float   
)
PileupJetIdentifier::DECLARE_VARIABLE ( jetPhi  ,
float   
)
PileupJetIdentifier& PileupJetIdentifier::operator= ( const StoredPileupJetIdentifier lhs) [inline]

Definition at line 71 of file PileupJetIdentifier.h.

{ ((StoredPileupJetIdentifier &)(*this)) = lhs; return *this;}
bool PileupJetIdentifier::passJetId ( Id  level) [inline]

Definition at line 82 of file PileupJetIdentifier.h.

References passJetId().

Referenced by passJetId().

{ return passJetId(idFlag_,level); }    
static bool PileupJetIdentifier::passJetId ( int  flag,
Id  level 
) [inline, static]

Definition at line 79 of file PileupJetIdentifier.h.

{ return ( flag & (1 << level) ) != 0 ; }

Friends And Related Function Documentation

friend class PileupJetIdAlgo [friend]

Reimplemented from StoredPileupJetIdentifier.

Definition at line 66 of file PileupJetIdentifier.h.