1#ifndef BMNCSCRAW2DIGIT_H
2#define BMNCSCRAW2DIGIT_H
9#include "TClonesArray.h"
15#define N_CSC_MODULES 2
16#define N_CSC_CHANNELS 2048
20using std::unordered_map;
29 map<pair<Short_t, Short_t>, Short_t>
shift_map;
65 unordered_map<UInt_t, InChanMapCSC> fOuterMap;
68 map<LocalCSCMapKey, LocalCSC> fLocalMapsMap;
71 unique_ptr<BmnCSCStationSet> fCscStationSet;
74 void ProcessAdc(TClonesArray* csc, Bool_t doFill);
76 BmnStatus ReadLocalMap(
string& FileName, Int_t* Layers, Int_t* Strips, Int_t& iLay, Int_t& ChanShift);
BmnStatus FillNoisyChannels()
BmnCscRaw2Digit(Int_t period, Int_t run, TString MapFileName, BmnSetup bmnSetup=kBMNSETUP)
BmnStatus FillProfiles(TClonesArray *adc)
BmnStatus FillEvent(TClonesArray *adc, TClonesArray *csc)
pair< string, Short_t > LocalCSCMapKey
map< Int_t, BmnCscMapping * > InChanMapCSC
Define enumerations used in tracking.
Short_t Int_t channel_low
map< pair< Short_t, Short_t >, Short_t > shift_map
Int_t channel2layer[N_CSC_CHANNELS]
Int_t channel2strip[N_CSC_CHANNELS]