#if !defined(TRACING_XYPIXELPLANE_H) #define TRACING_XYPIXELPLANE_H // -*- C++ -*- // // Package: Tracing // Module: XYPixelPlane // // Description: derived class of Detector // // Usage: // // // Author: Martin Lohner // Created: Jan 23, 1997 // RCS(Id) // // Revision history // // RCS(Log) // system include files // user include files #include "Detector.hh" // forward declarations class MCParticle; //struct HitStruct; class ostream; class XYPixelPlane : public Detector { // friend classses and functions public: // constants, enums and typedefs // Constructors and destructor XYPixelPlane(); XYPixelPlane( const XYPixelPlane& ); virtual ~XYPixelPlane(); // assignment operator(s) const XYPixelPlane& operator=( const XYPixelPlane& ); // member functions // display virtual void printOn( ostream& ) const {} // const member functions // All detectors must specify what they will do // when traversed by a particle virtual MCFBool generateResponse( MCParticle&, MCFBool& oHitActiveArea, DFLOAT = 0 ) const; // clone operation virtual XYPixelPlane* clone() const; virtual const char* nameOf() const { return "XYPixelPlane"; } // static member functions protected: // protected member functions // protected const member functions private: // Constructors and destructor // private member functions MCFBool scoreHit( const logical struckPlane, const integer waferNumber, MCParticle& particle, int& oHitIndexF ) const; // private const member functions // data members // static data members }; // inline function definitions inline ostream& operator<<( ostream& os, const XYPixelPlane& d ) { d.printOn(os); return os; } inline ostream& operator<<( ostream& os, const XYPixelPlane* d ) { d->printOn(os); return os; } // ================================================================== // Comments, suggestions, get on line 1! // // $Id$ // $Log$ // Revision 1.1 2000/06/19 19:59:32 eugenio // Initial revision // // Revision 1.6 1998/11/20 23:47:50 mkl // switch Boolean to MCFBool to avoid clashes with other typedef-ed bool types // // Revision 1.5 1998/08/04 22:58:38 mkl // implemented Detector::generateResponse with extra output argument: oHitActiveArea; only if true, do material effects // // Revision 1.4 1997/12/09 00:33:38 yarba_j // generateResponse( MCParticle& ) -> generateResponse( MCParticle&, DFLOAT (signal) = 0 ) // // Revision 1.3 1997/11/20 21:22:05 mkl // make virtual member function nameOf() explicit // // Revision 1.2 1997/11/13 03:59:29 mkl // switch from zsixy to siz_rect silicon pixel detectors // // Revision 1.1.1.1 1997/03/14 22:52:33 mkl // Imported sources for Martin Lohner s new c++ tracing code // #endif /* TRACING_XYPIXELPLANE_H */