CMS 3D CMS Logo

reco::Tau3D Class Reference

reconstructed Tau candidates using 3D angle instead of dR cone More...

#include <RecoTauTag/Pi0Tau/interface/Tau3D.h>

List of all members.

Public Member Functions

const reco::Pi0Collectionpi0s () const
reco::TrackRef seedTrack () const
 Tau3D (const Tau3D &other)
 Tau3D (const reco::TrackRef seedTrack, const reco::TrackRefVector &trackColl, const reco::Pi0Collection &pi0Coll)
 Tau3D ()
const reco::TrackRefVectortracks () const

Private Attributes

reco::Pi0Collection pi0s_
reco::TrackRef seedTrack_
reco::TrackRefVector tracks_

Friends

std::ostream & operator<< (std::ostream &out, const Tau3D &tau)


Detailed Description

reconstructed Tau candidates using 3D angle instead of dR cone

Author:
Dongwook Jang
Date:
December 2006

Definition at line 18 of file Tau3D.h.


Constructor & Destructor Documentation

Tau3D::Tau3D (  ) 

Definition at line 6 of file Tau3D.cc.

References edm::RefVector< C, T, F >::clear(), pi0s_, seedTrack_, and tracks_.

00006             {
00007 
00008   seedTrack_ = reco::TrackRef();
00009   tracks_.clear();
00010   pi0s_.clear();
00011 
00012 }

Tau3D::Tau3D ( const reco::TrackRef  seedTrack,
const reco::TrackRefVector trackColl,
const reco::Pi0Collection pi0Coll 
)

Definition at line 15 of file Tau3D.cc.

References pi0s_, seedTrack_, and tracks_.

00017                                               {
00018 
00019   seedTrack_ = seedTrack;
00020   tracks_ = trackColl;
00021   pi0s_ = pi0Coll;
00022 
00023 }

Tau3D::Tau3D ( const Tau3D other  ) 

Definition at line 26 of file Tau3D.cc.

References pi0s(), pi0s_, seedTrack(), seedTrack_, tracks(), and tracks_.

00026                                   {
00027 
00028   seedTrack_ = other.seedTrack();
00029   tracks_ = other.tracks();
00030   pi0s_ = other.pi0s();
00031 
00032 }


Member Function Documentation

const reco::Pi0Collection& reco::Tau3D::pi0s (  )  const [inline]

Definition at line 37 of file Tau3D.h.

References pi0s_.

Referenced by TauVariables::makeVariables(), reco::operator<<(), and Tau3D().

00037 { return pi0s_; }

reco::TrackRef reco::Tau3D::seedTrack (  )  const [inline]

Definition at line 31 of file Tau3D.h.

References seedTrack_.

Referenced by TauVariables::makeVariables(), and Tau3D().

00031 { return seedTrack_; }

const reco::TrackRefVector& reco::Tau3D::tracks ( void   )  const [inline]

Definition at line 34 of file Tau3D.h.

References tracks_.

Referenced by TauVariables::makeVariables(), reco::operator<<(), and Tau3D().

00034 { return tracks_; }


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const Tau3D tau 
) [friend]

Definition at line 35 of file Tau3D.cc.

00035                                                                   {  
00036   if (!out) return out;  
00037 
00038   out << "tracks size : " << tau.tracks().size()
00039       << ", pi0s size : " << tau.pi0s().size()
00040       << std::endl;
00041 
00042   return out;
00043 }


Member Data Documentation

reco::Pi0Collection reco::Tau3D::pi0s_ [private]

Definition at line 52 of file Tau3D.h.

Referenced by pi0s(), and Tau3D().

reco::TrackRef reco::Tau3D::seedTrack_ [private]

Definition at line 46 of file Tau3D.h.

Referenced by seedTrack(), and Tau3D().

reco::TrackRefVector reco::Tau3D::tracks_ [private]

Definition at line 49 of file Tau3D.h.

Referenced by Tau3D(), and tracks().


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