detector chamber
This commit is contained in:
@@ -31,14 +31,30 @@
|
||||
#include "Core/Types.h"
|
||||
#include "Math/ContainerBox.h"
|
||||
|
||||
#include "HEP/Detectors/Hit.h"
|
||||
#include "HEP/Detectors/HitMC.h"
|
||||
#include "HEP/Detectors/MuonEvent.h"
|
||||
|
||||
namespace uLib {
|
||||
|
||||
|
||||
class DetectorChamber : public ContainerBox {
|
||||
|
||||
typedef ContainerBox BaseClass;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
// set the plane where muons hit is projected
|
||||
// to be represented with a direction vector
|
||||
void SetProjectionPlane(const HLine3f &normal) { m_ProjectionPlane = normal; }
|
||||
|
||||
const HLine3f &GetProjectionPlane() const { return m_ProjectionPlane; }
|
||||
|
||||
MuonEvent ProjectMuonEvent(const MuonEvent &muon) const;
|
||||
|
||||
private:
|
||||
HLine3f m_ProjectionPlane;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user