FairShip
Loading...
Searching...
No Matches
CaloScoringPlane.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2// SPDX-FileCopyrightText: Copyright CERN for the benefit of the SHiP
3// Collaboration
4
5#ifndef CALOSCORINGPLANE_CALOSCORINGPLANE_H_
6#define CALOSCORINGPLANE_CALOSCORINGPLANE_H_
7
9#include "ScoringPlane.h"
10#include "ShipUnit.h"
11
21class CaloScoringPlane : public SHiP::ScoringPlane<CaloScoringPlanePoint> {
22 public:
23 CaloScoringPlane(const char* Name, Bool_t Active);
25
27 void SetZposition(Double_t z) { fZPos = z; }
29 void SetBoxDimensions(Double_t x, Double_t y, Double_t z) {
30 fXSize = x;
31 fYSize = y;
32 fZSize = z;
33 }
34
35 void ConstructGeometry() override;
36
37 private:
38 Double_t fZPos = 0.;
39 Double_t fXSize = 4.0 * ShipUnit::m;
40 Double_t fYSize = 6.0 * ShipUnit::m;
41 Double_t fZSize = 1.0 * ShipUnit::mm;
42
45};
46
47#endif // CALOSCORINGPLANE_CALOSCORINGPLANE_H_
void ConstructGeometry() override
Double_t fYSize
full width
void SetBoxDimensions(Double_t x, Double_t y, Double_t z)
CaloScoringPlane(const char *Name, Bool_t Active)
Double_t fZSize
full height
void SetZposition(Double_t z)
CaloScoringPlane & operator=(const CaloScoringPlane &)=delete
CaloScoringPlane(const CaloScoringPlane &)=delete
full thickness
Thin vacuum planes that record every track entering them.
constexpr double mm
Definition ShipUnit.h:25
constexpr double m
Definition ShipUnit.h:24