/* * PndDigiMap.h * * Created on: Nov 22, 2012 * Author: dklein */ #ifndef PNDDIGIMAP_H_ #define PNDDIGIMAP_H_ #include #include "pnddata/SttData/PndSttHit.h" #include "pnddata/SdsData/PndSdsDigiStrip.h" #include "pnddata/SdsData/PndSdsDigiPixel.h" namespace Highway { namespace PndBranch { // branch names const std::string SttHit = "STTHit"; const std::string MvdPixelDigis = "MVDPixelDigis"; const std::string MvdStripDigis = "MVDStripDigis"; } /* namespace PndBranch */ namespace PndPayload { // common base classes class TimeStamp { public: double fTimeStamp; double fTimeStampError; }; class Hit: public TimeStamp { public: double fDx; double fDy; double fDz; int fDetectorID; double fX; double fY; double fZ; }; // All Digis are either a Pixel Digi or a Strip Digi. class SdsDigi: public TimeStamp { public: int fDetID; int fSensorID; int fFE; double fCharge; }; class SdsDigiPixel: public SdsDigi { public: int fCol; int fRow; }; class SdsDigiStrip: public SdsDigi { public: int fChannel; }; // Hits class SttHit: public Hit { public: double fIsochrone; double fIsochroneError; double fPulse; double fDepCharge; int fTubeID; }; } /* namespace PndPayload */ } /* namespace Highway */ #endif /* PNDDIGIMAP_H_ */