CMS 3D CMS Logo

Public Member Functions | Private Attributes

reco::CaloMuon Class Reference

#include <DataFormats/MuonReco/interface/CaloMuon.h>

List of all members.

Public Member Functions

MuonEnergy calEnergy () const
 get energy deposition information
float caloCompatibility () const
 CaloMuon ()
int charge () const
 a bunch of useful accessors
double eta () const
 pseudorapidity of momentum vector
virtual TrackRef innerTrack () const
 reference to Track reconstructed in the tracker only
bool isCaloCompatibilityValid () const
bool isEnergyValid () const
 energy deposition
double p () const
 momentum vector magnitude
double phi () const
 azimuthal angle of momentum vector
double pt () const
 track transverse momentum
double px () const
 x coordinate of momentum vector
double py () const
 y coordinate of momentum vector
double pz () const
 z coordinate of momentum vector
void setCalEnergy (const MuonEnergy &calEnergy)
 set energy deposition information
void setCaloCompatibility (float input)
virtual void setInnerTrack (const TrackRef &t)
 set reference to Track
virtual void setTrack (const TrackRef &t)
double theta () const
 polar angle
virtual TrackRef track () const
virtual ~CaloMuon ()

Private Attributes

MuonEnergy calEnergy_
 energy deposition
float caloCompatibility_
 muon hypothesis compatibility with observer calorimeter energy
bool energyValid_
TrackRef innerTrack_
 reference to Track reconstructed in the tracker only

Detailed Description

A lightweight reconstructed Muon to store low momentum muons without matches in the muon detectors. Contains:

Author:
Dmytro Kovalskyi, UCSB
Version:
Id:
CaloMuon.h,v 1.4 2009/03/15 03:33:32 dmytro Exp

Definition at line 22 of file CaloMuon.h.


Constructor & Destructor Documentation

CaloMuon::CaloMuon ( )

Definition at line 4 of file CaloMuon.cc.

References caloCompatibility_, and energyValid_.

                   {
   energyValid_  = false;
   caloCompatibility_ = -9999.;
}
virtual reco::CaloMuon::~CaloMuon ( ) [inline, virtual]

Definition at line 25 of file CaloMuon.h.

{}     

Member Function Documentation

MuonEnergy reco::CaloMuon::calEnergy ( ) const [inline]

get energy deposition information

Definition at line 36 of file CaloMuon.h.

References calEnergy_.

Referenced by setCalEnergy().

{ return calEnergy_; }
float reco::CaloMuon::caloCompatibility ( ) const [inline]

Muon hypothesis compatibility block Relative likelihood based on ECAL, HCAL, HO energy defined as L_muon/(L_muon+L_not_muon)

Definition at line 43 of file CaloMuon.h.

References caloCompatibility_.

Referenced by MuonIdProducer::produce().

{ return caloCompatibility_; }
int reco::CaloMuon::charge ( ) const [inline]

a bunch of useful accessors

Definition at line 48 of file CaloMuon.h.

References edm::Ref< C, T, F >::get(), and innerTrack_.

{ return innerTrack_.get()->charge(); }
double reco::CaloMuon::eta ( ) const [inline]

pseudorapidity of momentum vector

Definition at line 64 of file CaloMuon.h.

References edm::Ref< C, T, F >::get(), and innerTrack_.

{ return innerTrack_.get()->eta(); }
virtual TrackRef reco::CaloMuon::innerTrack ( ) const [inline, virtual]

reference to Track reconstructed in the tracker only

Definition at line 28 of file CaloMuon.h.

References innerTrack_.

Referenced by track().

{ return innerTrack_; }
bool reco::CaloMuon::isCaloCompatibilityValid ( ) const [inline]

Definition at line 45 of file CaloMuon.h.

References caloCompatibility_.

Referenced by MuonIdProducer::produce().

{ return caloCompatibility_>=0; } 
bool reco::CaloMuon::isEnergyValid ( ) const [inline]

energy deposition

Definition at line 34 of file CaloMuon.h.

References energyValid_.

{ return energyValid_; }
double reco::CaloMuon::p ( ) const [inline]

momentum vector magnitude

Definition at line 52 of file CaloMuon.h.

References edm::Ref< C, T, F >::get(), and innerTrack_.

Referenced by MuonIdProducer::produce().

{ return innerTrack_.get()->p(); }
double reco::CaloMuon::phi ( ) const [inline]

azimuthal angle of momentum vector

Definition at line 62 of file CaloMuon.h.

References edm::Ref< C, T, F >::get(), and innerTrack_.

{ return innerTrack_.get()->phi(); }
double reco::CaloMuon::pt ( ) const [inline]

track transverse momentum

Definition at line 54 of file CaloMuon.h.

References edm::Ref< C, T, F >::get(), and innerTrack_.

{ return innerTrack_.get()->pt(); }
double reco::CaloMuon::px ( ) const [inline]

x coordinate of momentum vector

Definition at line 56 of file CaloMuon.h.

References edm::Ref< C, T, F >::get(), and innerTrack_.

{ return innerTrack_.get()->px(); }
double reco::CaloMuon::py ( ) const [inline]

y coordinate of momentum vector

Definition at line 58 of file CaloMuon.h.

References edm::Ref< C, T, F >::get(), and innerTrack_.

{ return innerTrack_.get()->py(); }
double reco::CaloMuon::pz ( ) const [inline]

z coordinate of momentum vector

Definition at line 60 of file CaloMuon.h.

References edm::Ref< C, T, F >::get(), and innerTrack_.

{ return innerTrack_.get()->pz(); }
void reco::CaloMuon::setCalEnergy ( const MuonEnergy calEnergy) [inline]

set energy deposition information

Definition at line 38 of file CaloMuon.h.

References calEnergy(), calEnergy_, and energyValid_.

Referenced by MuonIdProducer::makeCaloMuon().

void reco::CaloMuon::setCaloCompatibility ( float  input) [inline]

Definition at line 44 of file CaloMuon.h.

References caloCompatibility_, and collect_tpl::input.

Referenced by MuonIdProducer::makeCaloMuon().

virtual void reco::CaloMuon::setInnerTrack ( const TrackRef t) [inline, virtual]

set reference to Track

Definition at line 31 of file CaloMuon.h.

References innerTrack_, and matplotRender::t.

Referenced by MuonIdProducer::makeCaloMuon(), and setTrack().

{ innerTrack_ = t; }
virtual void reco::CaloMuon::setTrack ( const TrackRef t) [inline, virtual]

Definition at line 32 of file CaloMuon.h.

References setInnerTrack().

double reco::CaloMuon::theta ( ) const [inline]

polar angle

Definition at line 50 of file CaloMuon.h.

References edm::Ref< C, T, F >::get(), and innerTrack_.

{ return innerTrack_.get()->theta(); }
virtual TrackRef reco::CaloMuon::track ( void  ) const [inline, virtual]

Definition at line 29 of file CaloMuon.h.

References innerTrack().

{ return innerTrack(); }

Member Data Documentation

energy deposition

Definition at line 70 of file CaloMuon.h.

Referenced by calEnergy(), and setCalEnergy().

muon hypothesis compatibility with observer calorimeter energy

Definition at line 73 of file CaloMuon.h.

Referenced by caloCompatibility(), CaloMuon(), isCaloCompatibilityValid(), and setCaloCompatibility().

Definition at line 71 of file CaloMuon.h.

Referenced by CaloMuon(), isEnergyValid(), and setCalEnergy().

reference to Track reconstructed in the tracker only

Definition at line 68 of file CaloMuon.h.

Referenced by charge(), eta(), innerTrack(), p(), phi(), pt(), px(), py(), pz(), setInnerTrack(), and theta().