CMS 3D CMS Logo

L2TauECALCluster Class Reference

#include <RecoTauTag/HLTProducers/interface/L2TauIsolationAlgs.h>

List of all members.

Public Member Functions

void addCrystal (const math::PtEtaPhiELorentzVector &)
 L2TauECALCluster (const math::PtEtaPhiELorentzVector &)
 L2TauECALCluster ()
int nCrystals () const
math::PtEtaPhiELorentzVector p4 () const
 ~L2TauECALCluster ()

Private Attributes

int m_ncrystals
math::PtEtaPhiELorentzVector p4_


Detailed Description

Definition at line 25 of file L2TauIsolationAlgs.h.


Constructor & Destructor Documentation

L2TauECALCluster::L2TauECALCluster (  ) 

Definition at line 11 of file L2TauIsolationAlgs.cc.

References m_ncrystals, and p4_.

00012 {
00013   p4_ = math::PtEtaPhiELorentzVector();
00014   m_ncrystals=0;
00015 }

L2TauECALCluster::L2TauECALCluster ( const math::PtEtaPhiELorentzVector c  ) 

Definition at line 17 of file L2TauIsolationAlgs.cc.

References addCrystal(), m_ncrystals, and p4_.

00018 {
00019   m_ncrystals=0;
00020   p4_ = math::PtEtaPhiELorentzVector();
00021   addCrystal(c);
00022 }

L2TauECALCluster::~L2TauECALCluster (  ) 

Definition at line 26 of file L2TauIsolationAlgs.cc.

00027 {}


Member Function Documentation

void L2TauECALCluster::addCrystal ( const math::PtEtaPhiELorentzVector crystal  ) 

Definition at line 40 of file L2TauIsolationAlgs.cc.

References p4_.

Referenced by L2TauECALCluster().

00041 {
00042   p4_+=crystal;
00043 }

int L2TauECALCluster::nCrystals (  )  const

Definition at line 31 of file L2TauIsolationAlgs.cc.

References m_ncrystals.

00032 {return m_ncrystals;}

math::PtEtaPhiELorentzVector L2TauECALCluster::p4 (  )  const

Definition at line 35 of file L2TauIsolationAlgs.cc.

References p4_.

00036 {return p4_;}


Member Data Documentation

int L2TauECALCluster::m_ncrystals [private]

Definition at line 46 of file L2TauIsolationAlgs.h.

Referenced by L2TauECALCluster(), and nCrystals().

math::PtEtaPhiELorentzVector L2TauECALCluster::p4_ [private]

Definition at line 43 of file L2TauIsolationAlgs.h.

Referenced by addCrystal(), L2TauECALCluster(), and p4().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:27:09 2009 for CMSSW by  doxygen 1.5.4