// ESAF : Euso Simulation and Analysis Framework // $Id: ElecTestDetTransManager.hh,v 1.14 2005/04/13 14:26:40 pesce Exp $ // Electronic test // This DetectorTransportManager does not move real photon // Just put fake photons on focal surface to test electroncis and trigger // M. Pallavicini created May, 12 2003 #ifndef __ELECTESTDETTRANSMANAGER_HH_ #define __ELECTESTDETTRANSMANAGER_HH_ #include "euso.hh" #include "DetectorTransportManager.hh" class ElecTestDetTransManager : public DetectorTransportManager { public: // ctor ElecTestDetTransManager(); // dtor virtual ~ElecTestDetTransManager(); // draw does nothing in this case virtual void Draw() const {} // put photons on focal surface virtual void Go( PhotonsOnPupil* ); // trace one photon virtual Photon* Transport( Photon* ) const { return 0; } EsafConfigClass(Optics,ElecTestDetTransManager) private: Int_t fNumPhotons; // total number of photons Int_t fUniqueChanId; // unique channel id Int_t fPmtId; // pmt identifier Int_t fChanId; // channel in pmt Int_t fMacroCellId; // macrocell to be hit Float_t fStartTime; // first photon time Float_t fEndTime; // last photon time Int_t fTrackLength; // length of simple track along row or column Bool_t fHole; // true if the track has an hole Int_t fHolePosition; // position of hole in the track void SinglePmt(); void MultiPmt(); void BackgroundStudy(); ClassDef(ElecTestDetTransManager,0) }; #endif /* __ELECTESTDETTRANSMANAGER_HH_ */