| 
    LCIO
    02.17
    
   | 
 
Implementation of SIOObjectHandler to handle IO of CalorimeterHits. More...
#include <SIOCalHitHandler.h>
 Inheritance diagram for SIO::SIOCalHitHandler:Public Member Functions | |
| SIOCalHitHandler () | |
| Constructor.  More... | |
| void | read (sio::read_device &device, EVENT::LCObject *objP, sio::version_type vers) override | 
| Reads lcio objects from an SIO stream.  More... | |
| void | write (sio::write_device &device, const EVENT::LCObject *obj) override | 
| Writes lcio objects to an SIO stream.  More... | |
| EVENT::LCObject * | create () const override | 
| Factory method to create an object of the type of the collection.  More... | |
  Public Member Functions inherited from SIO::SIOObjectHandler | |
| SIOObjectHandler (const std::string &colType) | |
| Constructor with collection type.  More... | |
| virtual | ~SIOObjectHandler ()=default | 
| Default destructor.  More... | |
| unsigned int | flag () const | 
| Get the collection flag.  More... | |
| const std::string & | collectionType () const | 
| Get the collection type associated to the object handler (see EVENT/LCIO.h)  More... | |
| virtual void | initReading (sio::read_device &device, EVENT::LCCollection *collection, sio::version_type vers) | 
| Init collection reading.  More... | |
| virtual void | initWriting (sio::write_device &device, EVENT::LCCollection *collection) | 
| Init collection writing.  More... | |
Additional Inherited Members | |
  Protected Attributes inherited from SIO::SIOObjectHandler | |
| const std::string | _collectionType | 
| The collection type associated to LCIO object.  More... | |
| unsigned int | _flag {0} | 
| The collection flag.  More... | |
Implementation of SIOObjectHandler to handle IO of CalorimeterHits.
Definition at line 13 of file SIOCalHitHandler.h.
| SIO::SIOCalHitHandler::SIOCalHitHandler | ( | ) | 
Constructor.
Definition at line 15 of file SIOCalHitHandler.cc.
      
  | 
  overridevirtual | 
Factory method to create an object of the type of the collection.
Implements SIO::SIOObjectHandler.
Definition at line 86 of file SIOCalHitHandler.cc.
      
  | 
  overridevirtual | 
Reads lcio objects from an SIO stream.
Implements SIO::SIOObjectHandler.
Definition at line 22 of file SIOCalHitHandler.cc.
References IMPL::CalorimeterHitImpl::_cellID0, IMPL::CalorimeterHitImpl::_cellID1, IMPL::CalorimeterHitImpl::_energy, IMPL::CalorimeterHitImpl::_energyError, SIO::SIOObjectHandler::_flag, IMPL::CalorimeterHitImpl::_position, IMPL::CalorimeterHitImpl::_rawHit, IMPL::CalorimeterHitImpl::_time, IMPL::CalorimeterHitImpl::_type, and IMPL::LCFlagImpl::bitSet().
      
  | 
  overridevirtual | 
Writes lcio objects to an SIO stream.
Implements SIO::SIOObjectHandler.
Definition at line 59 of file SIOCalHitHandler.cc.
References SIO::SIOObjectHandler::_flag, IMPL::LCFlagImpl::bitSet(), EVENT::CalorimeterHit::getCellID0(), EVENT::CalorimeterHit::getCellID1(), EVENT::CalorimeterHit::getEnergy(), EVENT::CalorimeterHit::getEnergyError(), EVENT::CalorimeterHit::getPosition(), EVENT::CalorimeterHit::getRawHit(), EVENT::CalorimeterHit::getTime(), and EVENT::CalorimeterHit::getType().
 1.8.5