1#ifndef BMNPROFRAW2DIGIT_H
2#define BMNPROFRAW2DIGIT_H
5#include <boost/circular_buffer.hpp>
6#include <boost/exception/all.hpp>
7#include <boost/property_tree/json_parser.hpp>
8#include <boost/property_tree/ptree.hpp>
10#include "TClonesArray.h"
16#include "BmnADCDigit.h"
20#include "BmnProfRawTools.h"
21#include "BmnSiProfDigit.h"
23#include <BmnSiBTStationSet.h>
28namespace pt = boost::property_tree;
65 for (Int_t idigit = 0; idigit < fInAdcArray->GetEntriesFast(); idigit++) {
68 for (
auto&
m : fChannelMaps)
69 for (
auto& vecEl :
m.second) {
77 new ((*fWorkAdcArray)[fWorkAdcArray->GetEntriesFast()])
88 string fLocalMapFileName;
89 string fGlobalMapFileName;
94 unique_ptr<BmnSiBTStationSet> fSiBTStationSet;
103 void ProcessAdc(TClonesArray* adc, TClonesArray* csc, Bool_t doFill);
104 BmnStatus ReadGlobalMapFile(
string name);
map< PlMapKey, ProfiInfo > GlobalProfiMap
map< uint16_t, ProfiLocal > LayerIdProfiMap
map< uint16_t, LayerIdProfiMap > Mod2LocalProfiMap
UShort_t * GetUShortValue() const
BmnStatus FillNoisyChannels()
GlobalProfiMap & GetGlobalMap()
static unique_ptr< BmnSiProfStationSet > GetProfStationSet(Int_t period)
BmnStatus FillProfiles(TClonesArray *adc)
int FillExtractedBits(TClonesArray *fInAdcArray, TClonesArray *fWorkAdcArray)
BmnStatus FillEvent(TClonesArray *adc, TClonesArray *csc)