#include <RecoJets/JetAlgorithms/interface/JetTrackConeAssociator.h>
Public Types | |
typedef JetTrackAssociator < JetC >::JetRef | JetRef |
typedef JetTrackAssociator < JetC >::TrackRef | TrackRef |
Public Member Functions | |
virtual bool | associate (const JetRef &fJet, const TrackRef &fTrack) const |
virtual method to make association | |
JetTrackConeAssociator (double fConeSize) | |
virtual | ~JetTrackConeAssociator () |
Private Attributes | |
double | mConeSize |
Definition at line 14 of file JetTrackConeAssociator.h.
typedef JetTrackAssociator<JetC>::JetRef JetTrackConeAssociator< JetC >::JetRef |
Reimplemented from JetTrackAssociator< JetC >.
Definition at line 16 of file JetTrackConeAssociator.h.
typedef JetTrackAssociator<JetC>::TrackRef JetTrackConeAssociator< JetC >::TrackRef |
Reimplemented from JetTrackAssociator< JetC >.
Definition at line 17 of file JetTrackConeAssociator.h.
JetTrackConeAssociator< JetC >::JetTrackConeAssociator | ( | double | fConeSize | ) | [inline] |
virtual JetTrackConeAssociator< JetC >::~JetTrackConeAssociator | ( | ) | [inline, virtual] |
virtual bool JetTrackConeAssociator< JetC >::associate | ( | const JetRef & | fJet, | |
const TrackRef & | fTrack | |||
) | const [inline, virtual] |
virtual method to make association
Implements JetTrackAssociator< JetC >.
Definition at line 22 of file JetTrackConeAssociator.h.
References deltaR(), and JetTrackConeAssociator< JetC >::mConeSize.
00022 { 00023 return deltaR (fJet->eta(), fJet->phi(), fTrack->eta(), fTrack->phi()) <= mConeSize; 00024 }
double JetTrackConeAssociator< JetC >::mConeSize [private] |
Definition at line 26 of file JetTrackConeAssociator.h.
Referenced by JetTrackConeAssociator< JetC >::associate().