5#ifndef MUONTGC_CNVTOOLS_TGCSLBDATAHELPER_H
6#define MUONTGC_CNVTOOLS_TGCSLBDATAHELPER_H
58 std::vector<TgcRawData *> &vChannel)
const;
65 std::vector<TgcRawData *> &vChannel)
const;
68 static bool setType( uint16_t subDetectorId,
78 uint16_t subDetectorId,
120 void getSL_F(
const bool * bitArray,
126 uint16_t roi[])
const;
130 void getSL_E(
const bool * bitArray,
136 uint16_t roi[])
const;
140 void getHPT_F(
const bool * bitArray,
148 int16_t delta[])
const;
152 void getHPT_E(
const bool * bitArray,
160 int16_t delta[])
const;
175 static uint16_t
getVal(
const bool* bitArray, std::size_t start, std::size_t
width) ;
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
static bool isValid_HPT(bool hit, bool strip, uint16_t chip, uint16_t index, bool hipt, uint16_t hitId, uint16_t pos, int16_t delta)
Check if it is valid high-pT coincidence or not.
TgcSlbDataHelper(void)
Constructor.
void getLPTforInner(const bool *bitArray, bool hit[]) const
Decode low-pT coincidence (tracklet) information for inner from bit array.
void convertToHits(uint16_t subDetectorId, uint16_t rodId, const TgcSlbData *slb, std::vector< TgcRawData * > &vChannel) const
Convert to Hits.
TgcSlbDataHelper(const TgcSlbDataHelper &)=delete
void getHPT_E(const bool *bitArray, bool hit[], bool strip[], uint16_t chip[], uint16_t index[], bool hipt[], uint16_t hitId[], uint16_t sub[], int16_t delta[]) const
Decode high-pT coincidence information for endcap region from bit array.
static bool isAdjacent(int ibit)
Adjacent or not.
void getLPTforTripletStrip(const bool *bitArray, bool hit[], int pos[]) const
Decode low-pT coincidence (tracklet) information for triplet strip from bit array.
void getSL_F(const bool *bitArray, bool &cand3plus, bool hit[], bool muplus[], uint16_t pt[], bool overlap[], uint16_t roi[]) const
Decode Sector Logic coincidence information for forward region from bit array.
static bool setType(uint16_t subDetectorId, uint16_t rodId, TgcSlbData *slb, int moduleType)
Set SLB Type based on sswId and moduleType.
virtual ~TgcSlbDataHelper(void)
Destructor.
static uint16_t getVal(const bool *bitArray, std::size_t start, std::size_t width)
Get a value in a range of a bitArray.
TgcSlbDataHelper & operator=(const TgcSlbDataHelper &)=delete
void getSL_E(const bool *bitArray, bool &cand3plus, bool hit[], bool muplus[], uint16_t pt[], bool overlap[], uint16_t roi[]) const
Decode Sector Logic coincidence information for endcap region from bit array.
void convertToCoincidences(uint16_t subDetectorId, uint16_t rodId, const TgcSlbData *slb, std::vector< TgcRawData * > &vChannel) const
Convert to coincidences.
void getLPTforTripletWire(const bool *bitArray, bool hit[], int pos[]) const
Decode low-pT coincidence (tracklet) information for triplet wire from bit array.
void getHPT_F(const bool *bitArray, bool hit[], bool strip[], uint16_t chip[], uint16_t index[], bool hipt[], uint16_t hitId[], uint16_t sub[], int16_t delta[]) const
Decode high-pT coincidence information for forward region from bit array.
static uint16_t getSector(bool forward, uint16_t subDetectorId, uint16_t rodId, const TgcSlbData *slb)
Set sector for HpT/SL based on slbId.
void getLPTforDoublet(const bool *bitArray, bool hit[], int delta[], int pos[]) const
Decode low-pT coincidence (tracklet) information for doublet from bit array.
This is the SLB data class which represents an SLB block.
An unit object of TGC ROD output.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.