FairShip
Loading...
Searching...
No Matches
CaloScoringPlane.cxx
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
#include "
CaloScoringPlane.h
"
6
7
#include "
ShipDetectorList.h
"
8
9
CaloScoringPlane::CaloScoringPlane
()
10
: ScoringPlane(
"CaloScoringPlane"
, kTRUE,
kCaloScoringPlane
) {
11
fLineColor
= kOrange;
12
}
13
14
CaloScoringPlane::CaloScoringPlane
(
const
char
* name, Bool_t active)
15
: ScoringPlane(name, active,
kCaloScoringPlane
) {
16
fLineColor
= kOrange;
17
}
18
19
void
CaloScoringPlane::ConstructGeometry
() {
20
// A single plane on the beam axis, set by SetZposition and SetBoxDimensions.
21
AddPlane
(
"CaloScoringPlane"
, 0., 0.,
fZPos
,
fXSize
,
fYSize
,
fZSize
);
22
ScoringPlane::ConstructGeometry();
23
}
CaloScoringPlane.h
ShipDetectorList.h
kCaloScoringPlane
@ kCaloScoringPlane
Definition
ShipDetectorList.h:29
CaloScoringPlane::ConstructGeometry
void ConstructGeometry() override
Definition
CaloScoringPlane.cxx:19
CaloScoringPlane::fYSize
Double_t fYSize
full width
Definition
CaloScoringPlane.h:40
CaloScoringPlane::CaloScoringPlane
CaloScoringPlane()
Definition
CaloScoringPlane.cxx:9
CaloScoringPlane::fXSize
Double_t fXSize
Definition
CaloScoringPlane.h:39
CaloScoringPlane::fZPos
Double_t fZPos
Definition
CaloScoringPlane.h:38
CaloScoringPlane::fZSize
Double_t fZSize
full height
Definition
CaloScoringPlane.h:41
SHiP::ScoringPlane< CaloScoringPlanePoint >::AddPlane
void AddPlane(const char *name, Double_t x, Double_t y, Double_t z, Double_t sizeX, Double_t sizeY, Double_t sizeZ, const std::vector< Int_t > &absPdgCodes={}, Bool_t keepTracks=kTRUE)
Definition
ScoringPlane.h:58
SHiP::ScoringPlane< CaloScoringPlanePoint >::fLineColor
Color_t fLineColor
Definition
ScoringPlane.h:144
CaloScoringPlane
CaloScoringPlane.cxx
Generated by
Doxygen
1.15.0