BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnVspRaw2Digit.h
Go to the documentation of this file.
1
#ifndef BMNVSPRAW2DIGIT_H
2
#define BMNVSPRAW2DIGIT_H
3
// C++
4
// #include <fstream>
5
// #include <iostream>
6
// #include <sstream>
7
// ROOT
8
#include <
TClonesArray.h
>
9
// BmnRoot
10
#include "
BmnEnums.h
"
11
#include "
BmnEventHeader.h
"
12
#include "
BmnVSPStationSet.h
"
13
14
using
std::map;
15
using
std::vector;
16
17
class
BmnVspRaw2Digit
18
{
19
public
:
20
BmnVspRaw2Digit
(
Int_t
period,
Int_t
run,
TString
mapFileName =
""
, BmnSetup bmnSetup =
kBMNSETUP
);
21
// BmnVspRaw2Digit(TString mappingFile, TString INLFile, TTree* digiTree = NULL);
22
23
virtual
~BmnVspRaw2Digit
() {}
24
25
BmnStatus
FillEvent
(
TClonesArray
* adc,
TClonesArray
* digits,
BmnEventHeader
* eh =
nullptr
);
26
// BmnStatus ReadChannelMap(TString mappingFile);
27
28
private
:
29
uint32_t
fPeriod
;
30
uint32_t
fRun
;
31
BmnSetup
fSetup
;
32
33
unique_ptr<BmnVSPStationSet>
station_set
;
34
35
ClassDef
(
BmnVspRaw2Digit
, 1);
36
};
37
38
#endif
// BMNVSPRAW2DIGIT_H
Int_t
int Int_t
ClassDef
#define ClassDef(name, id)
TClonesArray.h
BmnStatus
BmnStatus
Define status code.
Definition
BmnEnums.h:93
kBMNSETUP
@ kBMNSETUP
Definition
BmnEnums.h:166
BmnEventHeader
Definition
BmnEventHeader.h:24
BmnVspRaw2Digit
Definition
BmnVspRaw2Digit.h:18
BmnVspRaw2Digit::fRun
uint32_t fRun
Definition
BmnVspRaw2Digit.h:30
BmnVspRaw2Digit::fSetup
BmnSetup fSetup
Definition
BmnVspRaw2Digit.h:31
BmnVspRaw2Digit::station_set
unique_ptr< BmnVSPStationSet > station_set
Definition
BmnVspRaw2Digit.h:33
BmnVspRaw2Digit::FillEvent
BmnStatus FillEvent(TClonesArray *adc, TClonesArray *digits, BmnEventHeader *eh=nullptr)
BmnVspRaw2Digit::fPeriod
uint32_t fPeriod
Definition
BmnVspRaw2Digit.h:29
BmnVspRaw2Digit::BmnVspRaw2Digit
BmnVspRaw2Digit(Int_t period, Int_t run, TString mapFileName="", BmnSetup bmnSetup=kBMNSETUP)
BmnVspRaw2Digit::~BmnVspRaw2Digit
virtual ~BmnVspRaw2Digit()
Definition
BmnVspRaw2Digit.h:23
TClonesArray
TString
BmnEnums.h
Define enumerations used in tracking.
BmnEventHeader.h
BmnVSPStationSet.h
install
include
BmnVspRaw2Digit.h
Generated on
for BmnRoot by
1.17.0