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

tpc_tracking::MCParticles Class Reference

#include <MCParticle.h>

Inheritance diagram for tpc_tracking::MCParticles:

tpc_tracking::CustomLCIOCollection< lcio::MCParticle > tpc_tracking::CustomLCIOCollection< lcio::MCParticle > tpc_tracking::EventObject tpc_tracking::EventObject tpc_tracking::EventObject tpc_tracking::EventObject List of all members.

Public Member Functions

 MCParticles ()
 ~MCParticles ()
int get_nparticles ()
void ls ()
void ll ()
std::auto_ptr< std::vector<
MCParticle > > 
get_all ()
std::auto_ptr< std::vector<
MCParticle > > 
get_sources ()
MCParticle get_particle (MCParticleNumber number)
 MCParticles ()
 ~MCParticles ()
int get_nparticles ()
void ls ()
void ll ()
std::auto_ptr< std::vector<
MCParticle > > 
get_all ()
std::auto_ptr< std::vector<
MCParticle > > 
get_sources ()
MCParticle get_particle (MCParticleNumber number)
void read_collection (lcio::LCEvent *lc_event)
void read_collection (lcio::LCEvent *lc_event)
unsigned int get_number (lcio::MCParticle *pt)
unsigned int get_number (lcio::MCParticle *pt)
void rebuild_number_map ()
void rebuild_number_map ()
virtual bool derived_create ()
virtual bool derived_create ()
virtual bool derived_empty ()
virtual bool derived_empty ()
virtual bool derived_write (lcio::LCEvent *lc_event)
virtual bool derived_write (lcio::LCEvent *lc_event)
virtual bool derived_read (lcio::LCEvent *lc_event)
virtual bool derived_read (lcio::LCEvent *lc_event)
lcio::MCParticleget_object (int number)
lcio::MCParticleget_object (int number)
int get_nobjects ()
int get_nobjects ()
virtual const char * get_collection_name ()
virtual const char * get_collection_name ()
virtual void print_status (bool bendl=true)
virtual void print_status (bool bendl=true)
virtual bool empty ()
virtual bool empty ()
virtual bool create ()
virtual bool create ()
virtual bool create_if_empty ()
virtual bool create_if_empty ()
virtual bool reread (lcio::LCEvent *lc_event)
virtual bool reread (lcio::LCEvent *lc_event)
virtual bool read_once (lcio::LCEvent *lc_event)
virtual bool read_once (lcio::LCEvent *lc_event)
virtual bool read (lcio::LCEvent *lc_event)
virtual bool read (lcio::LCEvent *lc_event)
virtual bool write (lcio::LCEvent *lc_event)
virtual bool write (lcio::LCEvent *lc_event)
virtual bool write_if_modified (lcio::LCEvent *lc_event)
virtual bool write_if_modified (lcio::LCEvent *lc_event)
bool bempty ()
bool bempty ()
bool bread_from_event ()
bool bread_from_event ()
bool bread_from_event_failed ()
bool bread_from_event_failed ()
bool bmodified ()
bool bmodified ()

Static Public Member Functions

void export_to_python (boost::python::object &tpc)
void export_to_python (boost::python::object &tpc)

Protected Member Functions

std::string determine_collection_name (lcio::LCEvent *lc_event)
std::string determine_collection_name (lcio::LCEvent *lc_event)
lcio::LCCollectionget_collection ()
lcio::LCCollectionget_collection ()
void set_collection (lcio::LCCollection *collection, bool bDeleteOnEmpty=true)
void set_collection (lcio::LCCollection *collection, bool bDeleteOnEmpty=true)
void set_empty (bool bEmpty=true)
void set_empty (bool bEmpty=true)
void set_read_from_event (bool bReadFromEvent=true)
void set_read_from_event (bool bReadFromEvent=true)
void set_read_from_event_failed (bool bReadFromEventFailed=true)
void set_read_from_event_failed (bool bReadFromEventFailed=true)
void set_modified (bool bModified=true)
void set_modified (bool bModified=true)

Constructor & Destructor Documentation

tpc_tracking::MCParticles::MCParticles  ) 
 

Definition at line 20 of file MCParticle.cc.

tpc_tracking::MCParticles::~MCParticles  ) 
 

Definition at line 24 of file MCParticle.cc.

tpc_tracking::MCParticles::MCParticles  ) 
 

tpc_tracking::MCParticles::~MCParticles  ) 
 


Member Function Documentation

bool tpc_tracking::EventObject::bempty  )  [inherited]
 

bool tpc_tracking::EventObject::bempty  )  [inherited]
 

Definition at line 16 of file EventObject.cc.

Referenced by tpc_tracking::EventObject::create_if_empty(), tpc_tracking::IonizationCenters::generate_charge_information(), tpc_tracking::ChargedPads::get_max_ion_charge(), tpc_tracking::ChargedPads::get_max_nionization_centers(), tpc_tracking::SimTracks::ls(), ls(), tpc_tracking::IonizationCenters::ls(), tpc_tracking::ChargedPads::ls(), tpc_tracking::ChargedPads::make_adc_values(), tpc_tracking::EventObject::print_status(), tpc_tracking::IonizationCenters::put_charge_on_pads(), tpc_tracking::EventObject::read(), tpc_tracking::EventObject::read_once(), and tpc_tracking::EventObject::reread().

bool tpc_tracking::EventObject::bmodified  )  [inherited]
 

bool tpc_tracking::EventObject::bmodified  )  [inherited]
 

Definition at line 25 of file EventObject.cc.

Referenced by tpc_tracking::EventObject::print_status(), and tpc_tracking::EventObject::write_if_modified().

bool tpc_tracking::EventObject::bread_from_event  )  [inherited]
 

bool tpc_tracking::EventObject::bread_from_event  )  [inherited]
 

Definition at line 19 of file EventObject.cc.

Referenced by tpc_tracking::EventObject::print_status().

bool tpc_tracking::EventObject::bread_from_event_failed  )  [inherited]
 

bool tpc_tracking::EventObject::bread_from_event_failed  )  [inherited]
 

Definition at line 22 of file EventObject.cc.

Referenced by tpc_tracking::EventObject::print_status().

virtual bool tpc_tracking::EventObject::create  )  [virtual, inherited]
 

bool tpc_tracking::EventObject::create  )  [virtual, inherited]
 

Definition at line 63 of file EventObject.cc.

References tpc_tracking::EventObject::derived_create(), tpc_tracking::EventObject::set_empty(), and tpc_tracking::EventObject::set_modified().

Referenced by tpc_tracking::EventObject::create_if_empty().

virtual bool tpc_tracking::EventObject::create_if_empty  )  [virtual, inherited]
 

bool tpc_tracking::EventObject::create_if_empty  )  [virtual, inherited]
 

Definition at line 57 of file EventObject.cc.

References tpc_tracking::EventObject::bempty(), and tpc_tracking::EventObject::create().

virtual bool tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::derived_create  )  [inline, virtual, inherited]
 

Implements tpc_tracking::EventObject.

Definition at line 46 of file CustomLCIOCollection.h.

References tpc_assert.

virtual bool tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::derived_create  )  [inline, virtual, inherited]
 

Implements tpc_tracking::EventObject.

Definition at line 46 of file CustomLCIOCollection.h.

References tpc_assert.

virtual bool tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::derived_empty  )  [inline, virtual, inherited]
 

Implements tpc_tracking::EventObject.

Definition at line 49 of file CustomLCIOCollection.h.

References tpc_info3.

virtual bool tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::derived_empty  )  [inline, virtual, inherited]
 

Implements tpc_tracking::EventObject.

Definition at line 49 of file CustomLCIOCollection.h.

References tpc_info3.

virtual bool tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::derived_read lcio::LCEvent lc_event  )  [inline, virtual, inherited]
 

Implements tpc_tracking::EventObject.

Definition at line 83 of file CustomLCIOCollection.h.

virtual bool tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::derived_read lcio::LCEvent lc_event  )  [inline, virtual, inherited]
 

Implements tpc_tracking::EventObject.

Definition at line 83 of file CustomLCIOCollection.h.

virtual bool tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::derived_write lcio::LCEvent lc_event  )  [inline, virtual, inherited]
 

Implements tpc_tracking::EventObject.

Definition at line 63 of file CustomLCIOCollection.h.

References EVENT::LCEvent::addCollection(), EVENT::LCEvent::getCollection(), EVENT::LCEvent::removeCollection(), and tpc_assert.

virtual bool tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::derived_write lcio::LCEvent lc_event  )  [inline, virtual, inherited]
 

Implements tpc_tracking::EventObject.

Definition at line 63 of file CustomLCIOCollection.h.

References EVENT::LCEvent::addCollection(), EVENT::LCEvent::getCollection(), EVENT::LCEvent::removeCollection(), and tpc_assert.

std::string tpc_tracking::MCParticles::determine_collection_name lcio::LCEvent lc_event  )  [protected, virtual]
 

Implements tpc_tracking::CustomLCIOCollection< lcio::MCParticle >.

std::string tpc_tracking::MCParticles::determine_collection_name lcio::LCEvent lc_event  )  [protected, virtual]
 

Implements tpc_tracking::CustomLCIOCollection< lcio::MCParticle >.

Definition at line 38 of file MCParticle.cc.

virtual bool tpc_tracking::EventObject::empty  )  [virtual, inherited]
 

bool tpc_tracking::EventObject::empty  )  [virtual, inherited]
 

Definition at line 72 of file EventObject.cc.

References tpc_tracking::EventObject::derived_empty(), tpc_tracking::EventObject::set_empty(), tpc_tracking::EventObject::set_modified(), tpc_tracking::EventObject::set_read_from_event(), and tpc_tracking::EventObject::set_read_from_event_failed().

void tpc_tracking::MCParticles::export_to_python boost::python::object &  tpc  )  [static]
 

void tpc_tracking::MCParticles::export_to_python boost::python::object &  tpc  )  [static]
 

Definition at line 9 of file MCParticle.cc.

std::auto_ptr<std::vector<MCParticle> > tpc_tracking::MCParticles::get_all  ) 
 

std::auto_ptr< std::vector< MCParticle > > tpc_tracking::MCParticles::get_all  ) 
 

Definition at line 76 of file MCParticle.cc.

References tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::get_collection(), EVENT::LCCollection::getNumberOfElements(), and tpc_tracking::MCParticle::init_from().

lcio::LCCollection* tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::get_collection  )  [inline, protected, inherited]
 

Definition at line 106 of file CustomLCIOCollection.h.

lcio::LCCollection* tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::get_collection  )  [inline, protected, inherited]
 

Definition at line 106 of file CustomLCIOCollection.h.

Referenced by get_all(), get_nparticles(), get_particle(), get_sources(), ll(), and ls().

virtual const char* tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::get_collection_name  )  [inline, virtual, inherited]
 

Definition at line 101 of file CustomLCIOCollection.h.

virtual const char* tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::get_collection_name  )  [inline, virtual, inherited]
 

Definition at line 101 of file CustomLCIOCollection.h.

int tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::get_nobjects  )  [inline, inherited]
 

Definition at line 95 of file CustomLCIOCollection.h.

int tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::get_nobjects  )  [inline, inherited]
 

Definition at line 95 of file CustomLCIOCollection.h.

int tpc_tracking::MCParticles::get_nparticles  ) 
 

int tpc_tracking::MCParticles::get_nparticles  ) 
 

Definition at line 43 of file MCParticle.cc.

References tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::get_collection(), and EVENT::LCCollection::getNumberOfElements().

Referenced by get_particle().

unsigned int tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::get_number lcio::MCParticle pt  )  [inline, inherited]
 

Definition at line 28 of file CustomLCIOCollection.h.

unsigned int tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::get_number lcio::MCParticle pt  )  [inline, inherited]
 

Definition at line 28 of file CustomLCIOCollection.h.

lcio::MCParticle * tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::get_object int  number  )  [inline, inherited]
 

Definition at line 89 of file CustomLCIOCollection.h.

lcio::MCParticle * tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::get_object int  number  )  [inline, inherited]
 

Definition at line 89 of file CustomLCIOCollection.h.

MCParticle tpc_tracking::MCParticles::get_particle MCParticleNumber  number  ) 
 

MCParticle tpc_tracking::MCParticles::get_particle MCParticleNumber  number  ) 
 

Definition at line 29 of file MCParticle.cc.

References tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::get_collection(), get_nparticles(), and tpc_tracking::MCParticle::init_from().

std::auto_ptr<std::vector<MCParticle> > tpc_tracking::MCParticles::get_sources  ) 
 

std::auto_ptr< std::vector< MCParticle > > tpc_tracking::MCParticles::get_sources  ) 
 

Definition at line 90 of file MCParticle.cc.

References tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::get_collection(), EVENT::LCCollection::getNumberOfElements(), tpc_tracking::MCParticle::init_from(), and tpc_tracking::MCParticle::is_source().

void tpc_tracking::MCParticles::ll  ) 
 

void tpc_tracking::MCParticles::ll  ) 
 

Definition at line 62 of file MCParticle.cc.

References tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::get_collection(), tpc_tracking::MCParticle::get_name(), EVENT::LCCollection::getNumberOfElements(), tpc_tracking::MCParticle::init_from(), and tpc_tracking::MCParticle::is_ignorable().

void tpc_tracking::MCParticles::ls  )  [virtual]
 

Reimplemented from tpc_tracking::EventObject.

void tpc_tracking::MCParticles::ls  )  [virtual]
 

Reimplemented from tpc_tracking::EventObject.

Definition at line 51 of file MCParticle.cc.

References tpc_tracking::EventObject::bempty(), tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::get_collection(), EVENT::LCCollection::getNumberOfElements(), and tpc_tracking::EventObject::print_status().

virtual void tpc_tracking::EventObject::print_status bool  bendl = true  )  [virtual, inherited]
 

void tpc_tracking::EventObject::print_status bool  bendl = true  )  [virtual, inherited]
 

Definition at line 41 of file EventObject.cc.

References tpc_tracking::EventObject::bempty(), tpc_tracking::EventObject::bmodified(), tpc_tracking::EventObject::bread_from_event(), and tpc_tracking::EventObject::bread_from_event_failed().

Referenced by tpc_tracking::SimTracks::ls(), tpc_tracking::SimTrackerHits::ls(), ls(), tpc_tracking::IonizationCenters::ls(), tpc_tracking::EventObject::ls(), and tpc_tracking::ChargedPads::ls().

virtual bool tpc_tracking::EventObject::read lcio::LCEvent lc_event  )  [virtual, inherited]
 

bool tpc_tracking::EventObject::read lcio::LCEvent lc_event  )  [virtual, inherited]
 

Definition at line 95 of file EventObject.cc.

References tpc_tracking::EventObject::bempty(), tpc_tracking::EventObject::derived_read(), tpc_tracking::EventObject::set_empty(), tpc_tracking::EventObject::set_read_from_event(), tpc_tracking::EventObject::set_read_from_event_failed(), and tpc_assert.

Referenced by tpc_tracking::EventObject::read_once(), and tpc_tracking::EventObject::reread().

void tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::read_collection lcio::LCEvent lc_event  )  [inline, inherited]
 

Definition at line 16 of file CustomLCIOCollection.h.

References EVENT::LCEvent::getCollection(), tpc_assert, and tpc_info3.

void tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::read_collection lcio::LCEvent lc_event  )  [inline, inherited]
 

Definition at line 16 of file CustomLCIOCollection.h.

References EVENT::LCEvent::getCollection(), tpc_assert, and tpc_info3.

virtual bool tpc_tracking::EventObject::read_once lcio::LCEvent lc_event  )  [virtual, inherited]
 

bool tpc_tracking::EventObject::read_once lcio::LCEvent lc_event  )  [virtual, inherited]
 

Definition at line 83 of file EventObject.cc.

References tpc_tracking::EventObject::bempty(), and tpc_tracking::EventObject::read().

void tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::rebuild_number_map  )  [inline, inherited]
 

Definition at line 35 of file CustomLCIOCollection.h.

References tpc_assert.

void tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::rebuild_number_map  )  [inline, inherited]
 

Definition at line 35 of file CustomLCIOCollection.h.

References tpc_assert.

virtual bool tpc_tracking::EventObject::reread lcio::LCEvent lc_event  )  [virtual, inherited]
 

bool tpc_tracking::EventObject::reread lcio::LCEvent lc_event  )  [virtual, inherited]
 

Definition at line 89 of file EventObject.cc.

References tpc_tracking::EventObject::bempty(), and tpc_tracking::EventObject::read().

void tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::set_collection lcio::LCCollection collection,
bool  bDeleteOnEmpty = true
[inline, protected, inherited]
 

Definition at line 109 of file CustomLCIOCollection.h.

References tpc_assert.

void tpc_tracking::CustomLCIOCollection< lcio::MCParticle >::set_collection lcio::LCCollection collection,
bool  bDeleteOnEmpty = true
[inline, protected, inherited]
 

Definition at line 109 of file CustomLCIOCollection.h.

References tpc_assert.

void tpc_tracking::EventObject::set_empty bool  bEmpty = true  )  [protected, inherited]
 

void tpc_tracking::EventObject::set_empty bool  bEmpty = true  )  [protected, inherited]
 

Definition at line 28 of file EventObject.cc.

References tpc_tracking::EventObject::m_bEmpty.

Referenced by tpc_tracking::EventObject::create(), tpc_tracking::EventObject::empty(), tpc_tracking::EventObject::EventObject(), and tpc_tracking::EventObject::read().

void tpc_tracking::EventObject::set_modified bool  bModified = true  )  [protected, inherited]
 

void tpc_tracking::EventObject::set_modified bool  bModified = true  )  [protected, inherited]
 

Definition at line 37 of file EventObject.cc.

References tpc_tracking::EventObject::m_bModified.

Referenced by tpc_tracking::EventObject::create(), tpc_tracking::EventObject::empty(), tpc_tracking::EventObject::EventObject(), and tpc_tracking::EventObject::write().

void tpc_tracking::EventObject::set_read_from_event bool  bReadFromEvent = true  )  [protected, inherited]
 

void tpc_tracking::EventObject::set_read_from_event bool  bReadFromEvent = true  )  [protected, inherited]
 

Definition at line 31 of file EventObject.cc.

References tpc_tracking::EventObject::m_bReadFromEvent.

Referenced by tpc_tracking::EventObject::empty(), tpc_tracking::EventObject::EventObject(), and tpc_tracking::EventObject::read().

void tpc_tracking::EventObject::set_read_from_event_failed bool  bReadFromEventFailed = true  )  [protected, inherited]
 

void tpc_tracking::EventObject::set_read_from_event_failed bool  bReadFromEventFailed = true  )  [protected, inherited]
 

Definition at line 34 of file EventObject.cc.

References tpc_tracking::EventObject::m_bReadFromEventFailed.

Referenced by tpc_tracking::EventObject::empty(), tpc_tracking::EventObject::EventObject(), and tpc_tracking::EventObject::read().

virtual bool tpc_tracking::EventObject::write lcio::LCEvent lc_event  )  [virtual, inherited]
 

bool tpc_tracking::EventObject::write lcio::LCEvent lc_event  )  [virtual, inherited]
 

Definition at line 106 of file EventObject.cc.

References tpc_tracking::EventObject::derived_write(), and tpc_tracking::EventObject::set_modified().

Referenced by tpc_tracking::EventObject::write_if_modified().

virtual bool tpc_tracking::EventObject::write_if_modified lcio::LCEvent lc_event  )  [virtual, inherited]
 

bool tpc_tracking::EventObject::write_if_modified lcio::LCEvent lc_event  )  [virtual, inherited]
 

Definition at line 113 of file EventObject.cc.

References tpc_tracking::EventObject::bmodified(), and tpc_tracking::EventObject::write().


The documentation for this class was generated from the following files:
Generated on Sun Jun 3 06:32:36 2007 for A TPC Tracking Environment by  doxygen 1.3.9.1