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
19struct BmnMwpcMapping {
20 UInt_t serial;
21 Short_t station;
22 Short_t plane;
23};
24
26{
27 private:
28 TString fMapFileName;
29 ifstream fMapFile;
30
31 vector<BmnMwpcMapping> fMap;
32
33public:
34 BmnMwpcRaw2Digit(TString mapName);
36 virtual ~BmnMwpcRaw2Digit() {}
37
38 void SetMapFileName(TString name) {
39 fMapFileName = name;
40 };
41 void FillEvent(TClonesArray *hrb, TClonesArray *mwpc);
42
44};
45
46#endif /* BMNMWPCRAW2DIGIT_H */
void SetMapFileName(TString name)
ClassDef(BmnMwpcRaw2Digit, 1)
void FillEvent(TClonesArray *hrb, TClonesArray *mwpc)
BmnMwpcRaw2Digit(TString mapName)
virtual ~BmnMwpcRaw2Digit()
Define enumerations used in tracking.