detector chamber

This commit is contained in:
AndreaRigoni
2026-03-19 09:46:36 +00:00
parent 176a82f108
commit ca2223e04c
7 changed files with 212 additions and 24 deletions

View File

@@ -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;
};