BmnRoot
Loading...
Searching...
No Matches
BmnMwpcRaw2Digit.h
Go to the documentation of this file.
1
2
#ifndef BMNMWPCRAW2DIGIT_H
3
#define BMNMWPCRAW2DIGIT_H
4
5
#include "TString.h"
6
#include "TClonesArray.h"
7
#include "BmnHRBDigit.h"
8
#include "BmnSyncDigit.h"
9
#include <iostream>
10
#include "Riostream.h"
11
#include "BmnMwpcDigit.h"
12
#include "BmnEnums.h"
13
#include <cstdlib>
14
#include <bitset>
15
#include <map>
16
17
#define N_WIRES_MWPC 96
18
19
struct
BmnMwpcMapping
{
20
UInt_t
serial
;
21
Short_t
station
;
22
Short_t
plane
;
23
};
24
25
class
BmnMwpcRaw2Digit
26
{
27
private
:
28
TString fMapFileName;
29
ifstream fMapFile;
30
31
vector<BmnMwpcMapping> fMap;
32
33
public
:
34
BmnMwpcRaw2Digit
(TString mapName);
35
BmnMwpcRaw2Digit
() {}
36
virtual
~BmnMwpcRaw2Digit
() {}
37
38
void
SetMapFileName
(TString name) {
39
fMapFileName = name;
40
};
41
void
FillEvent
(TClonesArray *hrb, TClonesArray *mwpc);
42
43
ClassDef
(
BmnMwpcRaw2Digit
, 1);
44
};
45
46
#endif
/* BMNMWPCRAW2DIGIT_H */
BmnMwpcRaw2Digit
Definition
BmnMwpcRaw2Digit.h:26
BmnMwpcRaw2Digit::SetMapFileName
void SetMapFileName(TString name)
Definition
BmnMwpcRaw2Digit.h:38
BmnMwpcRaw2Digit::BmnMwpcRaw2Digit
BmnMwpcRaw2Digit()
Definition
BmnMwpcRaw2Digit.h:35
BmnMwpcRaw2Digit::ClassDef
ClassDef(BmnMwpcRaw2Digit, 1)
BmnMwpcRaw2Digit::FillEvent
void FillEvent(TClonesArray *hrb, TClonesArray *mwpc)
Definition
BmnMwpcRaw2Digit.cxx:34
BmnMwpcRaw2Digit::~BmnMwpcRaw2Digit
virtual ~BmnMwpcRaw2Digit()
Definition
BmnMwpcRaw2Digit.h:36
BmnMwpcMapping
Definition
BmnMwpcRaw2Digit.h:19
BmnMwpcMapping::serial
UInt_t serial
Definition
BmnMwpcRaw2Digit.h:20
BmnMwpcMapping::station
Short_t station
Definition
BmnMwpcRaw2Digit.h:21
BmnMwpcMapping::plane
Short_t plane
Definition
BmnMwpcRaw2Digit.h:22
decoder
BmnMwpcRaw2Digit.h
Generated on Fri May 15 2026 10:40:54 for BmnRoot by
1.9.8