BmnRoot 26.10.0-210-gc52d34b0
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnRun8GemTopDM.h
Go to the documentation of this file.
1/*
2 BM@N alignment routine
3 BM@N experiment at NICA complex, JINR, 2025
4
5 Department: Math & Soft Group of HEP lab
6 Author: Igor Polev, polev@jinr.int
7
8 BmnRun8GemTopDM class declaration
9 Run8 full representation, GEM only, top half of each station
10*/
11
12#ifndef BMNRUN8GEMTOPDM_H
13#define BMNRUN8GEMTOPDM_H
14
15#include "BmnRun8TopDM.h"
16
17/*
18 * Like BmnRun8TopDM but restricted to the GEM subsystem: silicon stations are
19 * not enumerated and every silicon hit is ignored. Keeps the top half of each
20 * GEM station (14 elements grouped into 7 station-half composites).
21 */
22
24{
25 protected:
26 // enumeration starts at the first GEM station, past all silicon ones
27 virtual Int_t FirstStation() const noexcept override { return SIL_STATION_CNT; }
28
29 public:
30 virtual Bool_t IgnoreHit(Int_t HitDetectorID) const noexcept override
31 {
32 return SIL_SYSTEM_ID == (HitDetectorID >> 24) // drop all silicon hits
33 || BmnRun8HalfDM::IgnoreHit(HitDetectorID); // and the unwanted GEM half
34 }
35
37 {
38 fDescription = "Run8 GEM top half of independent parts: "
39 "14 elements in 7 station halves";
40 }
41 virtual ~BmnRun8GemTopDM() override; // out-of-line vtable anchor
42};
43
44#endif // BMNRUN8GEMTOPDM_H
bool Bool_t
int Int_t
std::string fDescription
static constexpr const Int_t SIL_STATION_CNT
Definition BmnRun8DM.h:52
static constexpr const Int_t SIL_SYSTEM_ID
Definition BmnRun8DM.h:51
virtual ~BmnRun8GemTopDM() override
virtual Int_t FirstStation() const noexcept override
virtual Bool_t IgnoreHit(Int_t HitDetectorID) const noexcept override
virtual Bool_t IgnoreHit(Int_t CbmDetectorID) const noexcept override