#ifndef HSHOWGEANTREADER_H
#define HSHOWGEANTREADER_H

#include "TTree.h"
#include "hgeantreader.h"
#include "hmatrixcategory.h"
class HGeantShower;
class HLocation;

class HShowerGeantReader : public HGeantReader {
private:
  TTree* t;                         //  Pointer to the root tree
  HMatrixCategory* fGeantShowCat;   //! SHOWER HGeant input data
  Int_t fEventId;                   //! event counter
public:
  HShowerGeantReader(void);
  ~HShowerGeantReader(void);
  Bool_t init(void); 
  Bool_t execute(void); 
  inline HMatrixCategory* getGeantShowerCat(void) {return fGeantShowCat;}
  inline HGeantShower* getGeantShower(HLocation locate) {
     return (HGeantShower*)(fGeantShowCat->getObject(locate));
  }
  ClassDef(HShowerGeantReader,0) // SHOWER reader for HGeant Root file
};

#endif /* !HSHOWGEANTREADER_H */





Last change: Sat May 22 13:13:31 2010
Last generated: 2010-05-22 13:13

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.