FairShip
Loading...
Searching...
No Matches
CaloScoringPlane Class Reference

Ideal scoring plane downstream of the timing detector. More...

#include <CaloScoringPlane.h>

Inheritance diagram for CaloScoringPlane:
[legend]
Collaboration diagram for CaloScoringPlane:
[legend]

Public Member Functions

 CaloScoringPlane (const char *Name, Bool_t Active)
 CaloScoringPlane ()
void SetZposition (Double_t z)
void SetBoxDimensions (Double_t x, Double_t y, Double_t z)
void ConstructGeometry () override
Public Member Functions inherited from SHiP::ScoringPlane< CaloScoringPlanePoint >
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)
Bool_t ProcessHits (FairVolume *=nullptr) override
void ConstructGeometry () override
Public Member Functions inherited from SHiP::Detector< CaloScoringPlanePoint >
 Detector ()=default
 ~Detector () override=default
CaloScoringPlanePoint * AddHit (Args &&... args)
void Initialize () override
void Reset () override
void EndOfEvent () override
void Register () override
TClonesArray * GetCollection (Int_t iColl) const override
void UpdatePointTrackIndices (const std::vector< Int_t > &indexMap) override
 Update track indices in point collection after track filtering.
void SetSpecialPhysicsCuts () override
void FinishPrimary () override
void FinishRun () override
void BeginPrimary () override
void PostTrack () override
void PreTrack () override
void BeginEvent () override
void CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset) override
Public Member Functions inherited from ISTLPointContainer
virtual ~ISTLPointContainer ()=default

Private Member Functions

 CaloScoringPlane (const CaloScoringPlane &)=delete
 full thickness
CaloScoringPlane & operator= (const CaloScoringPlane &)=delete

Private Attributes

Double_t fZPos = 0.
Double_t fXSize = 4.0 * ShipUnit::m
Double_t fYSize = 6.0 * ShipUnit::m
 full width
Double_t fZSize = 1.0 * ShipUnit::mm
 full height

Additional Inherited Members

Protected Attributes inherited from SHiP::ScoringPlane< CaloScoringPlanePoint >
Color_t fLineColor
Protected Attributes inherited from SHiP::Detector< CaloScoringPlanePoint >
Int_t fEventID
Int_t fTrackID
 event index
Int_t fVolumeID
 track index
TLorentzVector fPos
 volume id
TLorentzVector fMom
 position at entrance
Double_t fTime
 momentum at entrance
Double_t fLength
 time
Double_t fELoss
 length
std::vector< CaloScoringPlanePoint > * fDetPoints
 energy loss
TGeoVolume * fDetector

Detailed Description

Ideal scoring plane downstream of the timing detector.

Replaces the former SplitCal calorimeter. The plane is a thin vacuum box placed where the SplitCal front face used to be, recording a CaloScoringPlanePoint for every track entering it (see SHiP::ScoringPlane for what a point holds). Its node in the top volume is "CaloScoringPlane_1".

Definition at line 21 of file CaloScoringPlane.h.

Constructor & Destructor Documentation

◆ CaloScoringPlane() [1/3]

CaloScoringPlane::CaloScoringPlane ( const char * Name,
Bool_t Active )

Definition at line 14 of file CaloScoringPlane.cxx.

15 : ScoringPlane(name, active, kCaloScoringPlane) {
16 fLineColor = kOrange;
17}
@ kCaloScoringPlane

◆ CaloScoringPlane() [2/3]

CaloScoringPlane::CaloScoringPlane ( )

Definition at line 9 of file CaloScoringPlane.cxx.

10 : ScoringPlane("CaloScoringPlane", kTRUE, kCaloScoringPlane) {
11 fLineColor = kOrange;
12}

◆ CaloScoringPlane() [3/3]

CaloScoringPlane::CaloScoringPlane ( const CaloScoringPlane & )
privatedelete

full thickness

Member Function Documentation

◆ ConstructGeometry()

void CaloScoringPlane::ConstructGeometry ( )
overridevirtual

Create the detector geometry

Implements SHiP::Detector< CaloScoringPlanePoint >.

Definition at line 19 of file CaloScoringPlane.cxx.

19 {
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}
Double_t fYSize
full width
Double_t fZSize
full height
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)

◆ operator=()

CaloScoringPlane & CaloScoringPlane::operator= ( const CaloScoringPlane & )
privatedelete

◆ SetBoxDimensions()

void CaloScoringPlane::SetBoxDimensions ( Double_t x,
Double_t y,
Double_t z )
inline

Full dimensions of the box (cm).

Definition at line 29 of file CaloScoringPlane.h.

◆ SetZposition()

void CaloScoringPlane::SetZposition ( Double_t z)
inline

Centre of the plane in global z (cm).

Definition at line 27 of file CaloScoringPlane.h.

27{ fZPos = z; }

Member Data Documentation

◆ fXSize

Double_t CaloScoringPlane::fXSize = 4.0 * ShipUnit::m
private

Definition at line 39 of file CaloScoringPlane.h.

◆ fYSize

Double_t CaloScoringPlane::fYSize = 6.0 * ShipUnit::m
private

full width

Definition at line 40 of file CaloScoringPlane.h.

◆ fZPos

Double_t CaloScoringPlane::fZPos = 0.
private

Definition at line 38 of file CaloScoringPlane.h.

◆ fZSize

Double_t CaloScoringPlane::fZSize = 1.0 * ShipUnit::mm
private

full height

Definition at line 41 of file CaloScoringPlane.h.


The documentation for this class was generated from the following files: