Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

UTIL Namespace Reference


Classes

class  UTIL::LCSplitWriter
class  UTIL::LCTokenizer
class  UTIL::BitFieldValue
class  UTIL::BitField64
class  UTIL::CellIDDecoder< T >
class  UTIL::CellIDEncoder< T >
class  UTIL::IndexMap
class  UTIL::LCFixedObject< NINT, NFLOAT, NDOUBLE >
class  UTIL::LCObjectHandle< T >
class  UTIL::LCRelationNavigator
class  UTIL::LCStdHepRdr
class  UTIL::LCTime
struct  UTIL::LCTime::CalendarTime
class  UTIL::LCTOOLS
class  UTIL::LCTypedVector< T >
struct  UTIL::lcio_short< T >

Functions

std::ostream & operator<< (std::ostream &os, const BitField64 &b)
std::ostream & operator<< (std::ostream &out, const UTIL::lcio_short< EVENT::Vertex > &sV)
std::ostream & operator<< (std::ostream &out, const EVENT::Vertex *v)
const std::string & header (const EVENT::Vertex *v)
const std::string & tail (const EVENT::Vertex *v)
template<>
void CellIDEncoder< IMPL::SimTrackerHitImpl >::setCellID (IMPL::SimTrackerHitImpl *hit)
template<>
int CellIDEncoder< EVENT::SimCalorimeterHit >::cellID1Bit ()
template<>
int CellIDEncoder< EVENT::RawCalorimeterHit >::cellID1Bit ()
template<>
int CellIDEncoder< EVENT::TrackerData >::cellID1Bit ()
template<>
int CellIDEncoder< EVENT::TrackerPulse >::cellID1Bit ()
template<>
int CellIDEncoder< EVENT::TrackerRawData >::cellID1Bit ()
template<class T>
const char * lctypename ()
template<>
const char * lctypename< EVENT::MCParticle > ()
template<>
const char * lctypename< EVENT::SimCalorimeterHit > ()
template<>
const char * lctypename< EVENT::CalorimeterHit > ()
template<>
const char * lctypename< EVENT::RawCalorimeterHit > ()
template<>
const char * lctypename< EVENT::SimTrackerHit > ()
template<>
const char * lctypename< EVENT::TrackerRawData > ()
template<>
const char * lctypename< EVENT::TrackerData > ()
template<>
const char * lctypename< EVENT::TrackerPulse > ()
template<>
const char * lctypename< EVENT::TrackerHit > ()
template<>
const char * lctypename< EVENT::LCStrVec > ()
template<>
const char * lctypename< EVENT::LCFloatVec > ()
template<>
const char * lctypename< EVENT::LCIntVec > ()
template<>
const char * lctypename< EVENT::Track > ()
template<>
const char * lctypename< EVENT::Cluster > ()
template<>
const char * lctypename< EVENT::ReconstructedParticle > ()
template<>
const char * lctypename< EVENT::LCRelation > ()
template<>
const char * lctypename< EVENT::LCGenericObject > ()
template<>
const char * lctypename< EVENT::Vertex > ()
template<class T>
const char * lctypename (const T *t)
template<>
const char * lctypename< EVENT::LCObject > (const EVENT::LCObject *o)
template<class T>
lcio_short< T > lcshort (const T *t)

Variables

int MAX_HITS = 1000


Detailed Description

The namespace UTIL holds convenient and support classes and methods for the LCIO objects.


Function Documentation

template<>
int CellIDEncoder< EVENT::RawCalorimeterHit >::cellID1Bit  ) 
 

specialization that returns the proper bit for the second cellid

Definition at line 110 of file CellIDEncoder.h.

template<>
int CellIDEncoder< EVENT::SimCalorimeterHit >::cellID1Bit  ) 
 

specialization that returns the proper bit for the second cellid

Definition at line 107 of file CellIDEncoder.h.

template<>
int CellIDEncoder< EVENT::TrackerData >::cellID1Bit  ) 
 

specialization that returns the proper bit for the second cellid

Definition at line 113 of file CellIDEncoder.h.

template<>
int CellIDEncoder< EVENT::TrackerPulse >::cellID1Bit  ) 
 

specialization that returns the proper bit for the second cellid

Definition at line 116 of file CellIDEncoder.h.

template<>
int CellIDEncoder< EVENT::TrackerRawData >::cellID1Bit  ) 
 

specialization that returns the proper bit for the second cellid

Definition at line 119 of file CellIDEncoder.h.

template<>
void CellIDEncoder< IMPL::SimTrackerHitImpl >::setCellID IMPL::SimTrackerHitImpl hit  ) 
 

Specialization for SimTrackerHits that have only one cellID

Definition at line 102 of file CellIDEncoder.h.

References IMPL::SimTrackerHitImpl::setCellID().

const std::string & UTIL::header const EVENT::Vertex v  ) 
 

for printing the header of a vertex object (e.g. cout << header(vertexObj) << endl; )

Definition at line 95 of file Operators.cc.

References tail().

Referenced by UTIL::LCTOOLS::printVertices().

template<class T>
lcio_short<T> lcshort const T *  t  ) 
 

Definition at line 35 of file Operators.h.

Referenced by UTIL::LCTOOLS::printVertices().

template<class T>
const char* lctypename const T *  t  ) 
 

Template that returns the LCIO type name as used in the LCCollctions (and files) based on the object's type, e.g.
MCParticle* mcp ;
std::cout << lctypename( mcp ) << std::endl ;

Definition at line 76 of file LCIOTypeInfo.h.

template<class T>
const char * UTIL::lctypename  ) 
 

Template that returns the LCIO type name as used in the LCCollctions (and files), e.g.
std::cout << lctypename<MCParticle>() << std::endl ;
This can be used in user templates to create a new collection of the template type.

Definition at line 44 of file LCIOTypeInfo.h.

template<>
const char* lctypename< EVENT::CalorimeterHit >  ) 
 

template<>
const char* lctypename< EVENT::Cluster >  ) 
 

template<>
const char* lctypename< EVENT::LCFloatVec >  ) 
 

template<>
const char* lctypename< EVENT::LCGenericObject >  ) 
 

template<>
const char* lctypename< EVENT::LCIntVec >  ) 
 

template<>
const char* lctypename< EVENT::LCObject > const EVENT::LCObject o  ) 
 

Specialization for polymorphic LCObject pointers - slow. E.g.:

LCObject* obj = new McParticle ;
std::cout << lctypename( obj ) << std::endl ;

template<>
const char* lctypename< EVENT::LCRelation >  ) 
 

template<>
const char* lctypename< EVENT::LCStrVec >  ) 
 

template<>
const char* lctypename< EVENT::MCParticle >  ) 
 

template<>
const char* lctypename< EVENT::RawCalorimeterHit >  ) 
 

template<>
const char* lctypename< EVENT::ReconstructedParticle >  ) 
 

template<>
const char* lctypename< EVENT::SimCalorimeterHit >  ) 
 

template<>
const char* lctypename< EVENT::SimTrackerHit >  ) 
 

template<>
const char* lctypename< EVENT::Track >  ) 
 

template<>
const char* lctypename< EVENT::TrackerData >  ) 
 

template<>
const char* lctypename< EVENT::TrackerHit >  ) 
 

template<>
const char* lctypename< EVENT::TrackerPulse >  ) 
 

template<>
const char* lctypename< EVENT::TrackerRawData >  ) 
 

template<>
const char* lctypename< EVENT::Vertex >  ) 
 

std::ostream & UTIL::operator<< std::ostream &  out,
const EVENT::Vertex v
 

operator for detailed output of a vertex object (e.g. cout << vertexObj << endl; )

Definition at line 60 of file Operators.cc.

References EVENT::Vertex::getAlgorithmType(), EVENT::Vertex::getAssociatedParticle(), EVENT::Vertex::getChi2(), EVENT::Vertex::getCovMatrix(), EVENT::Vertex::getParameters(), EVENT::Vertex::getPosition(), EVENT::Vertex::getProbability(), EVENT::LCObject::id(), and EVENT::Vertex::isPrimary().

std::ostream & UTIL::operator<< std::ostream &  out,
const UTIL::lcio_short< EVENT::Vertex > &  sV
 

operator for short output of a vertex object (e.g. cout << lcshort(vertexObj) << endl; )

Definition at line 41 of file Operators.cc.

References EVENT::Vertex::getAlgorithmType(), EVENT::Vertex::getAssociatedParticle(), EVENT::Vertex::getChi2(), EVENT::Vertex::getParameters(), EVENT::Vertex::getPosition(), EVENT::Vertex::getProbability(), EVENT::LCObject::id(), and EVENT::Vertex::isPrimary().

std::ostream & UTIL::operator<< std::ostream &  os,
const BitField64 &  b
 

Operator for dumping BitField64 to streams

Definition at line 248 of file BitField64.cc.

References UTIL::BitField64::_map, and UTIL::BitField64::_value.

const std::string & UTIL::tail const EVENT::Vertex v  ) 
 

for printing the tail of a vertex object (e.g. cout << tail(vertexObj) << endl; )

Definition at line 103 of file Operators.cc.

Referenced by header(), and UTIL::LCTOOLS::printVertices().


Variable Documentation

int UTIL::MAX_HITS = 1000 [static]
 

Definition at line 47 of file LCTOOLS.cc.


Generated on Sun Jun 3 06:32:39 2007 for A TPC Tracking Environment by  doxygen 1.3.9.1