Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Atlfast Namespace Reference

The Atlfast namespace: Constains all AtlfastEvent and AtlfastAlgs code. More...


Compounds

class  AssociationManager
 This class has been provided as an interim solution to the association problem. More...

class  AtlfastProtoJet
 AtlfastProtoJets are simple objects that inherit from the JetRec ProtoJet class. More...

class  Cell
 Represent 2D surface elements in eta-phi space of the Calorimeter. More...

class  CellDescriptor
 ID class to represent a unique identifier to individual cells. More...

class  Cluster
 This class represents a cluster of energy with a centroid at a given 3-vector position. More...

class  EPileupDeposit
 Represnts a simple energy deposit in a cell. More...

class  EventHeader
 Contains infomation on the whole Event, such as event shape variables and missing momentum. More...

class  IKinematic
 Kinematic interface for 4-vector like entities. More...

class  ITrackParameters
 Common interface for track parameters. More...

class  Jet
 Represents a Jet made from clusters. More...

struct  ParticleCodes
 List of particles pdg ID. More...

class  Quartet
 Adapted from STL pair class: holds four quantites instead of two. More...

class  ReconstructedParticle
 Represents the most simple particles such as Electron, Muon, Photon, etc. More...

class  Track
 Represents a track object. More...

class  TrackParameters
 Represents the parameters of a track. More...

class  TrackTrajectory
 Represents the trajectory of a track. More...

class  TypedCollection
 Provide a type for different instances of containers of the same object type. More...

class  TypedCollectionFactory
 Factory for making TypedCollections. More...


Typedefs

typedef ObjectVector< CellCellCollection
typedef CellCollection::iterator CellIterator
typedef std::list< Cell * > CellList
typedef CellList::iterator CellListI
typedef CellList::const_iterator CellListConstI
typedef std::vector< Cell * > CellVector
typedef CellVector::iterator CellVectorI
typedef CellVector::const_iterator CellVectorConstI
typedef ObjectVector< ClusterClusterCollection
typedef std::list< Cluster * > ClusList
typedef std::list< Cluster
* >::iterator 
ClusListI
typedef std::list< Cluster
* >::const_iterator 
ClusListConstI
typedef ObjectVector< JetJetCollection
typedef std::vector< const
HepMC::GenParticle * > 
MCparticleCollection
typedef std::vector< const
HepMC::GenParticle * >::const_iterator 
MCparticleCollectionCIter
typedef ObjectVector< ReconstructedParticleReconstructedParticleCollection
typedef ObjectVector< TrackTrackCollection
typedef std::list< Track * > TrackList
typedef std::list< Track
* >::iterator 
TrackListI
typedef std::list< Track
* >::const_iterator 
TrackListConstI

Functions

MsgStream & operator<< (MsgStream &s, const EventHeader &e)
MsgStream & operator<< (MsgStream &s, const EventHeader *const e)
MsgStream & operator<< (MsgStream &s, const IKinematic &r)
MsgStream & operator<< (MsgStream &s, const IKinematic *const p)
MsgStream & operator<< (MsgStream &s, const Track &t)
MsgStream & operator<< (MsgStream &s, const Track *t)
ostream & operator<< (ostream &s, const TrackTrajectory &traj)
MsgStream & operator<< (MsgStream &s, const TrackTrajectory &traj)
MsgStream & operator<< (MsgStream &, const ITrackParameters &)
MsgStream & operator<< (MsgStream &, const ITrackParameters *)


Detailed Description

The Atlfast namespace: Constains all AtlfastEvent and AtlfastAlgs code.

Authors: P.Clarke, J.Couchman, H.Phillips, P.Sherwood, R.Steward

Written: 27-July-2000 Revised: 27-November-2002


Typedef Documentation

typedef ObjectVector<Cell> Atlfast::CellCollection
 

Definition at line 30 of file CellCollection.h.

typedef CellCollection::iterator Atlfast::CellIterator
 

Definition at line 31 of file CellCollection.h.

Referenced by Atlfast::Cluster::Cluster().

typedef std::list<Cell*> Atlfast::CellList
 

Definition at line 32 of file CellCollection.h.

typedef CellList::const_iterator Atlfast::CellListConstI
 

Definition at line 34 of file CellCollection.h.

typedef CellList::iterator Atlfast::CellListI
 

Definition at line 33 of file CellCollection.h.

typedef std::vector<Cell*> Atlfast::CellVector
 

Definition at line 35 of file CellCollection.h.

typedef CellVector::const_iterator Atlfast::CellVectorConstI
 

Definition at line 37 of file CellCollection.h.

typedef CellVector::iterator Atlfast::CellVectorI
 

Definition at line 36 of file CellCollection.h.

typedef std::list<Cluster*> Atlfast::ClusList
 

Definition at line 18 of file ClusterCollection.h.

typedef std::list<Cluster*>::const_iterator Atlfast::ClusListConstI
 

Definition at line 20 of file ClusterCollection.h.

typedef std::list<Cluster*>::iterator Atlfast::ClusListI
 

Definition at line 19 of file ClusterCollection.h.

typedef ObjectVector<Cluster> Atlfast::ClusterCollection
 

Definition at line 17 of file ClusterCollection.h.

typedef ObjectVector<Jet> Atlfast::JetCollection
 

Definition at line 17 of file JetCollection.h.

typedef std::vector<const HepMC::GenParticle*> Atlfast::MCparticleCollection
 

Definition at line 18 of file MCparticleCollection.h.

typedef std::vector<const HepMC::GenParticle*>::const_iterator Atlfast::MCparticleCollectionCIter
 

Definition at line 20 of file MCparticleCollection.h.

typedef ObjectVector<ReconstructedParticle> Atlfast::ReconstructedParticleCollection
 

Definition at line 17 of file ReconstructedParticleCollection.h.

typedef ObjectVector<Track> Atlfast::TrackCollection
 

Definition at line 17 of file TrackCollection.h.

typedef std::list<Track*> Atlfast::TrackList
 

Definition at line 18 of file TrackCollection.h.

typedef std::list<Track*>::const_iterator Atlfast::TrackListConstI
 

Definition at line 20 of file TrackCollection.h.

typedef std::list<Track*>::iterator Atlfast::TrackListI
 

Definition at line 19 of file TrackCollection.h.


Function Documentation

MsgStream& operator<< MsgStream &   ,
const ITrackParameters  
 

MsgStream& operator<< MsgStream &   ,
const ITrackParameters  
 

MsgStream & Atlfast::operator<< MsgStream &    s,
const TrackTrajectory   t
 

Definition at line 55 of file TrackTrajectory.cxx.

References Atlfast::TrackParameters::cotTheta(), Atlfast::TrackTrajectory::curvature(), Atlfast::TrackParameters::eta(), Atlfast::TrackParameters::impactParameter(), Atlfast::TrackParameters::invPtCharge(), Atlfast::TrackTrajectory::parameters(), Atlfast::TrackParameters::phi(), Atlfast::TrackParameters::pT(), Atlfast::TrackTrajectory::radius(), Phi::val(), and Atlfast::TrackParameters::zPerigee().

00056 {
00057   TrackParameters param = traj.parameters();
00058   
00059   s << "TrackTrajectory"<<endreq; 
00060 
00061     s<<setiosflags(ios::fixed);
00062     s<<setprecision(7);
00063     s<<setw(20);
00064 
00065   s   <<setw(20)<< param.pT()
00066       << "        pT"<<endreq;
00067   s    <<setw(20)<< param.eta()
00068       << "        eta"<<endreq;
00069 
00070   s << "----------------------------" << endreq;
00071  
00072   s    <<setw(20)<< param.impactParameter()
00073       << "        d0"<<endreq; 
00074   s    <<setw(20)<< param.zPerigee()
00075       << "        z0" << endreq;  
00076   s   <<setw(20)<< param.phi().val()
00077       << "       phi" <<endreq;
00078   s    <<setw(20)<<param.cotTheta()
00079       << " cot Theta" << endreq;
00080   s    <<setw(20)<< param.invPtCharge()
00081       << "  1/(q.PT)" <<endreq;
00082   s << "----------------------------" << endreq;
00083   s    <<setw(20)<< traj.radius()
00084       << "    radius" <<endreq;
00085   s    <<setw(20)<< traj.curvature()
00086       << " curvature" <<endreq<<endreq;
00087 
00088   return s;
00089 }

ostream & Atlfast::operator<< ostream &    s,
const TrackTrajectory   t
 

Definition at line 19 of file TrackTrajectory.cxx.

References Atlfast::TrackParameters::cotTheta(), Atlfast::TrackTrajectory::curvature(), Atlfast::TrackParameters::eta(), Atlfast::TrackParameters::impactParameter(), Atlfast::TrackParameters::invPtCharge(), Atlfast::TrackTrajectory::parameters(), Atlfast::TrackParameters::phi(), Atlfast::TrackParameters::pT(), Atlfast::TrackTrajectory::radius(), Phi::val(), and Atlfast::TrackParameters::zPerigee().

00020 {
00021   TrackParameters param = traj.parameters();
00022   
00023   s << "TrackTrajectory"<<endl; 
00024 
00025     s<<setiosflags(ios::fixed);
00026     s<<setprecision(7);
00027     s<<setw(20);
00028 
00029   s   <<setw(20)<< param.pT()
00030       << "        pT"<<endl;
00031   s    <<setw(20)<< param.eta()
00032       << "        eta"<<endl;
00033 
00034   s << "----------------------------" << endl;
00035  
00036   s    <<setw(20)<< param.impactParameter()
00037       << "        d0"<<endl; 
00038   s    <<setw(20)<< param.zPerigee()
00039       << "        z0" << endl;  
00040   s   <<setw(20)<< param.phi().val()
00041       << "       phi" <<endl;
00042   s    <<setw(20)<<param.cotTheta()
00043       << " cot Theta" << endl;
00044   s    <<setw(20)<< param.invPtCharge()
00045       << "  1/(q.PT)" <<endl;
00046   s << "----------------------------" << endl;
00047   s    <<setw(20)<< traj.radius()
00048       << "    radius" <<endl;
00049   s    <<setw(20)<< traj.curvature()
00050       << " curvature" <<endl<<endl;
00051 
00052   return s;
00053 }

MsgStream & Atlfast::operator<< MsgStream &    s,
const Track   t
 

Definition at line 90 of file Track.cxx.

00091 {
00092   return s << *t ;
00093 }

MsgStream & Atlfast::operator<< MsgStream &    s,
const Track   t
 

Definition at line 24 of file Track.cxx.

References Atlfast::TrackParameters::cotTheta(), Atlfast::TrackTrajectory::curvature(), Atlfast::TrackParameters::eta(), Atlfast::TrackParameters::impactParameter(), Atlfast::TrackParameters::invPtCharge(), Atlfast::TrackTrajectory::parameters(), Atlfast::Track::pdg_id(), Atlfast::TrackParameters::phi(), Atlfast::TrackParameters::pT(), Atlfast::TrackTrajectory::radius(), Atlfast::Track::smearMatrix(), Atlfast::Track::trajectory(), Atlfast::Track::truth(), Atlfast::Track::truthTrajectory(), Phi::val(), and Atlfast::TrackParameters::zPerigee().

00025 {
00026   if (t.truth()) {
00027     s << "Track created from particle " << t.pdg_id() << endreq << " with (px,py,pz) " 
00028     <<t.truth()->momentum().px() <<" "
00029     <<t.truth()->momentum().py() <<" "
00030     <<t.truth()->momentum().pz() <<" "
00031     <<endreq<<endreq;
00032   } 
00033   TrackTrajectory traj = t.trajectory();
00034   TrackParameters param = traj.parameters();
00035   TrackTrajectory truthTraj = t.truthTrajectory();
00036   TrackParameters truthParam = truthTraj.parameters();
00037   
00038   s << "     unsmeared Track       smeared Track"<<endreq; 
00039 
00040     s<<setiosflags(ios::fixed);
00041     s<<setprecision(7);
00042     s<<setw(20);
00043 
00044     s <<setw(20)<< truthParam.pT() 
00045       <<setw(20)<< param.pT()
00046       << "        pT"<<endreq;
00047     s <<setw(20)<< truthParam.eta() 
00048       <<setw(20)<< param.eta()
00049       << "        eta"<<endreq;
00050     s << "------------------  -------------------" << endreq;
00051 
00052     s <<setw(20)<< truthParam.impactParameter() 
00053       <<setw(20)<< param.impactParameter()
00054       << "        d0"<<endreq; 
00055     s <<setw(20)<< truthParam.zPerigee() 
00056       <<setw(20)<< param.zPerigee()
00057       << "        z0" << endreq;  
00058     s <<setw(20)<< truthParam.phi().val()
00059       <<setw(20)<< param.phi().val()
00060       << "       phi" <<endreq;
00061      s <<setw(20)<< truthParam.cotTheta()
00062       <<setw(20)<<param.cotTheta()
00063       << " cot Theta" << endreq;
00064     s <<setw(20)<< truthParam.invPtCharge()
00065       <<setw(20)<< param.invPtCharge()
00066       << "  1/(q.PT)" <<endreq;
00067     s << "-------------------  -------------------" << endreq;
00068     s <<setw(20)<< truthTraj.radius()
00069       <<setw(20)<< traj.radius()
00070       << "    radius" <<endreq;
00071     s <<setw(20)<< truthTraj.curvature()
00072       <<setw(20)<< traj.curvature()
00073       << " curvature" <<endreq<<endreq;
00074         
00075     s << "Matrix used"<<endreq ;
00076     s << setiosflags(2048);
00077     for (int a = 1; a<6; a++)
00078       {
00079         for (int b=1; b<6; b++)
00080           {
00081             s <<setw(10)<< t.smearMatrix() (a,b);
00082           }
00083         s <<endreq;
00084       }
00085 
00086   
00087   return s ;
00088 }

MsgStream & Atlfast::operator<< MsgStream &    s,
const IKinematic *const    p
 

Definition at line 16 of file IKinematic.cxx.

00016                                                                      {
00017     s << *p;
00018     return s ;
00019   }

MsgStream & Atlfast::operator<< MsgStream &    s,
const IKinematic   r
 

Definition at line 8 of file IKinematic.cxx.

References Atlfast::IKinematic::eT(), Atlfast::IKinematic::eta(), Atlfast::IKinematic::momentum(), and Atlfast::IKinematic::phi().

00008                                                                {
00009     s << " /E=   " << r.momentum().e()
00010       << " /eT = " << r.eT() 
00011       << " /eta= " << r.eta() 
00012       << " /phi= " << r.phi()<<endreq;
00013     return s ;
00014   }

MsgStream & Atlfast::operator<< MsgStream &    s,
const EventHeader *const    e
 

Definition at line 31 of file EventHeader.cxx.

00031                                                                      {
00032     s<<*e;
00033     return s;
00034   }

MsgStream & Atlfast::operator<< MsgStream &    s,
const EventHeader   e
 

Definition at line 10 of file EventHeader.cxx.

References Atlfast::EventHeader::eventCircularity(), Atlfast::EventHeader::jetCircularity(), Atlfast::EventHeader::nBJets(), Atlfast::EventHeader::nCJets(), Atlfast::EventHeader::nElectrons(), Atlfast::EventHeader::nIsolatedMuons(), Atlfast::EventHeader::nJets(), Atlfast::EventHeader::nMuons(), Atlfast::EventHeader::nNonIsolatedMuons(), Atlfast::EventHeader::nPhotons(), Atlfast::EventHeader::nTauJets(), Atlfast::EventHeader::oblateness(), Atlfast::EventHeader::pEscaped(), Atlfast::EventHeader::pMiss(), and Atlfast::EventHeader::thrust().

00010                                                                {
00011     s 
00012       << "nElectrons:        "<< e.nElectrons()        <<"\n"
00013       << "nIsolatedMuons:    "<< e.nIsolatedMuons()    <<"\n"
00014       << "nMuons:            "<< e.nMuons()            <<"\n"
00015       << "nNonIsolatedMuons: "<< e.nNonIsolatedMuons() <<"\n"
00016       << "nPhotons:          "<< e.nPhotons()          <<"\n"
00017       << "nJets:             "<< e.nJets()             <<"\n"
00018       << "nBJets:            "<< e.nBJets()            <<"\n"
00019       << "nCJets:            "<< e.nCJets()            <<"\n"
00020       << "nTauJets:          "<< e.nTauJets()          <<"\n"
00021       << "jetCircularity:    "<< e.jetCircularity()    <<"\n"
00022       << "eventCircularity:  "<< e.eventCircularity()  <<"\n"
00023       << "thrust:            "<< e.thrust()            <<"\n"
00024       << "oblateness:        "<< e.oblateness()        <<"\n"
00025       << "pMiss:             "<< e.pMiss()             <<"\n"
00026       << "pEscaped:          "<< e.pEscaped()          <<"  "
00027       ;
00028     return s;
00029   }


Generated on Fri Nov 29 12:55:18 2002 by doxygen1.3-rc1