Atlfast Namespace Reference

TwoCptCell implementation. More...


Classes

class  AODNavigationImp
class  AOObase
class  AtlfastDumpCoorObject
class  AtlfastDumperObject
class  AtlfastProtoJet
class  Cell
class  CellDescriptor
class  ChargeService
class  Cluster
class  EPileupDeposit
 Represnts a simple energy deposit in a cell. More...
class  EventHeader
class  IAODNavigation
class  IAOO
class  IAOOvisitor
class  ICell
class  ICluster
class  IKinematic
class  IKinematicBase
class  IKtCluster
class  Interpolator
class  ClosestInterpolators
class  ClosestDoublePairs
class  ITrackParameters
class  ITransportedParticle
class  IsThisAMonopole
class  ITransportedParticleFactory
class  ITwoCptCell
class  Jet
class  KtCluster
class  MagField
struct  ParticleCodes
class  Quartet
class  ReconstructedParticle
class  SimpleKinematic
class  Tau
 Object (true hadronic tau) build from Monte Carlo truth. More...
class  Track
class  TrackParameters
class  TrackTrajectory
class  TransportedMonopole
class  TransportedParticle
class  TransportedSMParticle
class  TwoCptCell
class  TypeVisitor

Typedefs

typedef DataVector< ICellICellCollection
typedef DataVector< ITwoCptCellITwoCptCellCollection
typedef DataVector< ClusterClusterCollection
typedef DataVector< IClusterIClusterCollection
typedef DataVector< JetJetCollection
typedef DataVector< ReconstructedParticleReconstructedParticleCollection
typedef DataVector< TrackTrackCollection
typedef DataVector< SimpleKinematicSimpleKinematicCollection
typedef DataVector< IKinematicIKinematicCollection
typedef std::vector< ITransportedParticle * > ITransportedParticleCollection
typedef ITransportedParticleCollection::const_iterator ITransportedParticleCollectionCIter
typedef ICellCollection::iterator ICellIterator
typedef ITwoCptCellCollection::iterator ITwoCptCellIterator
typedef ClusterCollection::iterator ClusterIterator
typedef JetCollection::iterator JetIterator
typedef ReconstructedParticleCollection::iterator ReconstructedParticleIterator
typedef TrackCollection::iterator TrackIterator
typedef SimpleKinematicCollection::iterator SimpleKinematicIterator
typedef IKinematicCollection::iterator IKinematicIterator
typedef ITransportedParticleCollection::iterator ITransportedParticleCollectionIter
typedef std::vector< const
Cell * > 
CellVector
typedef std::vector< const
Cluster * > 
ClusterVector
typedef std::vector< const
ICluster * > 
IClusterVector
typedef std::vector< const
Jet * > 
JetVector
typedef std::vector< const
Track * > 
TrackVector
typedef std::vector< const
SimpleKinematic * > 
SimpleKinematicVector
typedef std::vector< const
TwoCptCell * > 
TwoCptCellVector
typedef std::vector< const
IKinematic * > 
IKinematicVector
typedef std::vector< const
ReconstructedParticle * > 
ReconstructedParticleVector
typedef DataVector< ITwoCptCellITwoCptCellCollection
typedef std::vector< const
HepMC::GenParticle * > 
MCparticleCollection
typedef std::vector< const
HepMC::GenParticle * >::const_iterator 
MCparticleCollectionCIter
typedef std::vector< double > MCweightContainer
typedef std::vector< MCweightContainerMCweightContainerCollection
typedef DataVector< TauTauContainer
typedef std::vector< TransportedParticle * > TransportedParticleCollection
typedef TransportedParticleCollection::const_iterator TransportedParticleCollectionCIter
typedef TransportedParticleCollection::iterator TransportedParticleCollectionIter

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)
std::ostream & operator<< (std::ostream &s, const ITrackParameters *t)
std::ostream & operator<< (std::ostream &s, const ITrackParameters &t)
MsgStream & operator<< (MsgStream &s, const Track &t)
MsgStream & operator<< (MsgStream &s, const Track *t)
std::ostream & operator<< (std::ostream &s, const TrackTrajectory &traj)
MsgStream & operator<< (MsgStream &s, const TrackTrajectory &traj)
template<class Visitor>
Visitor SimpleAssocsDispatcher (const IAOO *iaoo, Visitor visitor)


Detailed Description

TwoCptCell implementation.

================================================

AOObase class

Header file for am implementation of IAOO. See IAOO.h for comments


Typedef Documentation

typedef DataVector< ICell > Atlfast::ICellCollection

Definition at line 68 of file CollectionDefs.h.

typedef DataVector< ITwoCptCell > Atlfast::ITwoCptCellCollection

Definition at line 69 of file CollectionDefs.h.

typedef DataVector< Cluster > Atlfast::ClusterCollection

Definition at line 70 of file CollectionDefs.h.

typedef DataVector< ICluster > Atlfast::IClusterCollection

Definition at line 71 of file CollectionDefs.h.

typedef DataVector< Jet > Atlfast::JetCollection

Definition at line 72 of file CollectionDefs.h.

typedef DataVector< ReconstructedParticle> Atlfast::ReconstructedParticleCollection

Definition at line 74 of file CollectionDefs.h.

typedef DataVector< Track > Atlfast::TrackCollection

Definition at line 75 of file CollectionDefs.h.

typedef DataVector< SimpleKinematic > Atlfast::SimpleKinematicCollection

Definition at line 76 of file CollectionDefs.h.

typedef DataVector< IKinematic > Atlfast::IKinematicCollection

Definition at line 77 of file CollectionDefs.h.

typedef std::vector<ITransportedParticle*> Atlfast::ITransportedParticleCollection

Definition at line 78 of file CollectionDefs.h.

typedef ITransportedParticleCollection::const_iterator Atlfast::ITransportedParticleCollectionCIter

Definition at line 82 of file CollectionDefs.h.

typedef ICellCollection::iterator Atlfast::ICellIterator

Definition at line 84 of file CollectionDefs.h.

typedef ITwoCptCellCollection::iterator Atlfast::ITwoCptCellIterator

Definition at line 85 of file CollectionDefs.h.

typedef ClusterCollection::iterator Atlfast::ClusterIterator

Definition at line 86 of file CollectionDefs.h.

typedef JetCollection::iterator Atlfast::JetIterator

Definition at line 87 of file CollectionDefs.h.

typedef ReconstructedParticleCollection::iterator Atlfast::ReconstructedParticleIterator

Definition at line 89 of file CollectionDefs.h.

typedef TrackCollection::iterator Atlfast::TrackIterator

Definition at line 90 of file CollectionDefs.h.

typedef SimpleKinematicCollection::iterator Atlfast::SimpleKinematicIterator

Definition at line 91 of file CollectionDefs.h.

typedef IKinematicCollection::iterator Atlfast::IKinematicIterator

Definition at line 92 of file CollectionDefs.h.

typedef ITransportedParticleCollection::iterator Atlfast::ITransportedParticleCollectionIter

Definition at line 94 of file CollectionDefs.h.

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

Definition at line 96 of file CollectionDefs.h.

typedef std::vector< const Cluster* > Atlfast::ClusterVector

Definition at line 97 of file CollectionDefs.h.

typedef std::vector< const ICluster* > Atlfast::IClusterVector

Definition at line 98 of file CollectionDefs.h.

typedef std::vector< const Jet* > Atlfast::JetVector

Definition at line 99 of file CollectionDefs.h.

typedef std::vector< const Track* > Atlfast::TrackVector

Definition at line 100 of file CollectionDefs.h.

typedef std::vector< const SimpleKinematic*> Atlfast::SimpleKinematicVector

Definition at line 101 of file CollectionDefs.h.

typedef std::vector< const TwoCptCell* > Atlfast::TwoCptCellVector

Definition at line 102 of file CollectionDefs.h.

typedef std::vector< const IKinematic* > Atlfast::IKinematicVector

Definition at line 103 of file CollectionDefs.h.

typedef std::vector< const ReconstructedParticle* > Atlfast::ReconstructedParticleVector

Definition at line 105 of file CollectionDefs.h.

typedef DataVector< ITwoCptCell > Atlfast::ITwoCptCellCollection

Definition at line 41 of file ITwoCptCellCollection.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 std::vector<double> Atlfast::MCweightContainer

Definition at line 21 of file MCweightContainerCollection.h.

typedef std::vector<MCweightContainer> Atlfast::MCweightContainerCollection

Definition at line 22 of file MCweightContainerCollection.h.

typedef DataVector<Tau> Atlfast::TauContainer

Definition at line 11 of file TauContainer.h.

typedef std::vector<TransportedParticle*> Atlfast::TransportedParticleCollection

Definition at line 12 of file TransportedParticleCollection.h.

typedef TransportedParticleCollection::const_iterator Atlfast::TransportedParticleCollectionCIter

Definition at line 21 of file TransportedParticleCollection.h.

typedef TransportedParticleCollection::iterator Atlfast::TransportedParticleCollectionIter

Definition at line 25 of file TransportedParticleCollection.h.


Function Documentation

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

Definition at line 12 of file EventHeader.cxx.

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

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

Definition at line 34 of file EventHeader.cxx.

00034                                                                      {
00035     s<<*e;
00036     return s;
00037   }

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

Definition at line 8 of file IKinematic.cxx.

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 IKinematic *const   p 
)

Definition at line 16 of file IKinematic.cxx.

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

std::ostream & Atlfast::operator<< ( std::ostream &  s,
const ITrackParameters *  t 
)

Definition at line 6 of file ITrackParameters.cxx.

00006                                                                       {
00007     return Atlfast::operator<<(s, *t);
00008   }

std::ostream & Atlfast::operator<< ( std::ostream &  s,
const ITrackParameters &  t 
)

Definition at line 9 of file ITrackParameters.cxx.

00009                                                                        {
00010     s 
00011       <<    "eta: "<<            t.eta()<<" "
00012       <<    "phi: "<<            t.phi()<<" "
00013       <<   "q/pT: "<<    t.invPtCharge()<<" "
00014       <<     "d0: "<<t.impactParameter()<<" "
00015       <<     "z0: "<<       t.zPerigee()<<" "
00016       << "cot Th: "<<       t.cotTheta()<<" "
00017       << "\n"
00018       ;
00019     return s;
00020   }

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

Definition at line 17 of file Track.cxx.

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

MsgStream & Atlfast::operator<< ( MsgStream &  s,
const Track *  t 
)

Definition at line 138 of file Track.cxx.

00138                                                           {
00139     return s << *t ;
00140   }

std::ostream & Atlfast::operator<< ( std::ostream &  s,
const TrackTrajectory &  traj 
)

Definition at line 19 of file TrackTrajectory.cxx.

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

MsgStream & Atlfast::operator<< ( MsgStream &  s,
const TrackTrajectory &  traj 
)

Definition at line 55 of file TrackTrajectory.cxx.

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 }

template<class Visitor>
Visitor Atlfast::SimpleAssocsDispatcher ( const IAOO *  iaoo,
Visitor  visitor 
)

Definition at line 17 of file SimpleAssocsDispatcher.h.

00017                                                                      {
00018     visitor = std::for_each(iaoo->begin(), iaoo->end(), visitor);
00019     return visitor;
00020   }


Generated on Fri Sep 21 13:00:19 2007 for AtlfastEvent by  doxygen 1.5.1