PandaRoot
BSEmcDataConcentratorLookUp.h
Go to the documentation of this file.
1
//****************************************************************************
2
//* This file is part of PandaRoot. *
3
//* *
4
//* PandaRoot is distributed under the terms of the *
5
//* GNU General Public License (GPL) version 3, *
6
//* copied verbatim in the file "LICENSE". *
7
//* *
8
//* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9
//* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10
//* The authors are listed in the file "AUTHORS". *
11
//****************************************************************************
12
13
#ifndef BSEMCDATACONCENTRATORLOOKUP_HH
14
#define BSEMCDATACONCENTRATORLOOKUP_HH
15
16
#include "Rtypes.h"
17
#include "RtypesCore.h"
18
#include "TObject.h"
19
#include "TString.h"
20
21
class
TBuffer;
22
class
TClass;
23
class
TMemberInspector;
24
25
enum class
BSEmcDetectorType
: Int_t {
FWENDCAP
,
BWENDCAP
,
BARREL
,
SHASHLYK
};
26
36
class
BSEmcDataConcentratorLookUp
:
public
TObject {
37
public
:
38
Int_t GetNumberOfDCsFor(TString t_detector)
const
;
// for mapping into virtual Data Concentrators (DC)
39
Int_t GetNumberOfDCsFor(
BSEmcDetectorType
t_detector)
const
;
// for mapping into virtual Data Concentrators (DC)
40
41
Int_t GetDCNumber(Int_t t_detectorId)
const
;
// for mapping into virtual Data Concentrators (DC)
42
43
ClassDef(
BSEmcDataConcentratorLookUp
, 8);
44
};
45
46
#endif
/*BSEMCDATACONCENTRATORLOOKUP_HH*/
BSEmcDetectorType
BSEmcDetectorType
Definition:
BSEmcDataConcentratorLookUp.h:25
BSEmcDataConcentratorLookUp
rudimentary if-statement heavy lookup for data concentrator number for each crystal (detectorId) deve...
Definition:
BSEmcDataConcentratorLookUp.h:36
BSEmcDetectorType::FWENDCAP
BSEmcDetectorType::BARREL
BSEmcDetectorType::BWENDCAP
BSEmcDetectorType::SHASHLYK
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
detectors
emc_restructured
Base
EmcMC
DigiCreation
BSEmcDataConcentratorLookUp.h
Generated on Fri Nov 29 2024 06:04:38 for PandaRoot by
1.8.13