82 LogDebug(
"") <<
" EcalEBPhase2TrigPrimAlgo: digi size " << digi->size() << std::endl;
98 for (
int itow = 0; itow <
nrTowers_; ++itow) {
102 LogDebug(
"") <<
" Data for TOWER num " << itow <<
" index " <<
index <<
" TowerId " << thisTower <<
" zside " 103 << thisTower.
zside() <<
" ieta " << thisTower.
ieta() <<
" iphi " << thisTower.
iphi() <<
" size " 108 for (
unsigned int iStrip = 0; iStrip <
towerMapEB_[itow].size(); ++iStrip) {
110 LogDebug(
"") <<
" Data for STRIP num " << iStrip << std::endl;
111 std::vector<EBDataFrame_Ph2> &dataFrames =
118 LogDebug(
"") <<
" Number of xTals " << nxstals << std::endl;
124 for (
int iXstal = 0; iXstal < nxstals; iXstal++) {
125 const EBDetId &myid = dataFrames[iXstal].id();
129 LogDebug(
"") <<
" Data for TOWER num " << itow <<
" index " <<
index <<
" TowerId " << thisTower <<
" size " 131 LogDebug(
"") <<
"nXinBCP " << nXinBCP <<
" myid rawId " << myid.
rawId() <<
" xTal iEta " << myid.
ieta()
132 <<
" iPhi " << myid.
iphi() << std::endl;
141 LogDebug(
"") <<
" ****** iChannel " << iChannel << std::endl;
142 for (
int i = 0;
i < dataFrames[iXstal].size();
i++) {
143 LogDebug(
"") <<
" " << dataFrames[iXstal][
i].adc();
150 EBDetId id = dataFrames[iXstal].id();
151 LogDebug(
"") <<
"iXstal= " << iXstal << std::endl;
152 LogDebug(
"") <<
"iXstal= " << iXstal <<
" id " <<
id <<
" EcalDataFrame_Ph2 is: " << std::endl;
153 for (
int i = 0;
i < dataFrames[iXstal].size();
i++) {
163 for (
unsigned int i = 0;
i <
lin_out_.size();
i++) {
169 LogDebug(
"") <<
"EcalEBPhase2TrigPrimAlgo output of linearize for channel " << iXstal << std::endl;
170 for (
unsigned int i = 0;
i <
lin_out_.size();
i++) {
187 LogDebug(
"") <<
"EcalEBPhase2TrigPrimAlgo output of amp finder is a vector of size: " <<
std::dec 218 LogDebug(
"") <<
"EcalEBPhase2TrigPrimAlgo output of timefinder is a vector of size: " <<
std::dec 231 for (
unsigned int iSample = 0; iSample <
outEt_.size(); ++iSample) {
238 for (
unsigned int iSample = 0; iSample <
outEt_.size(); ++iSample) {
245 LogDebug(
"") <<
" EcalEBPhase2TrigPrimAlgo after getting the formatter " << std::endl;
246 for (
unsigned int iSample = 0; iSample <
outEt_.size(); ++iSample) {
259 for (
int iSample = 0; iSample < 16; ++iSample) {
260 etInADC =
outEt_[iSample];
263 LogDebug(
"") <<
"TrigPrimAlgo outEt " <<
outEt_[iSample] <<
" outTime " <<
outTime_[iSample] << std::endl;
264 LogDebug(
"") <<
"TrigPrimAlgo etInADCt " <<
outEt_[iSample] <<
" outTime " <<
time << std::endl;
279 LogDebug(
"") <<
" Accepted xTals " << nXinBCP << std::endl;
std::vector< int > filt_out_
const EcalEBPhase2TPGTimeWeightIdMap * ecaltpgTimeWeightMap_
int ieta() const
get the tower ieta
int iphi() const
get the crystal iphi
void process(const EBDigiCollectionPh2::Digi &df, std::vector< int > &output_percry)
bool process(const std::vector< int > &linInput)
std::vector< std::pair< int, EcalTrigTowerDetId > > hitTowers_
int ieta() const
get the crystal ieta
static const unsigned int nrSamples_
U second(std::pair< T, U > const &p)
EcalEBPhase2TimeReconstructor * getTimeFinder() const
int zside() const
get the z-side of the tower (1/-1)
const EcalTPGWeightGroup * ecaltpgWeightGroup_
std::vector< int > outEt_
std::vector< int64_t > outTime_
ALPAKA_FN_ACC ALPAKA_FN_INLINE uint32_t ix(uint32_t id)
const EcalTPGCrystalStatus * ecaltpgBadX_
constexpr uint32_t rawId() const
get the raw id
EcalEBPhase2Linearizer * getLinearizer() const
std::vector< std::vector< std::pair< int, std::vector< EBDataFrame_Ph2 > > > > towerMapEB_
void setParameters(EBDetId id, const EcalLiteDTUPedestalsMap *peds, const EcalEBPhase2TPGLinearizationConstMap *ecaltplin, const EcalTPGCrystalStatus *ecaltpBadX)
const EcalEBPhase2TPGLinearizationConstMap * ecaltpLin_
void setParameters(uint32_t raw, const EcalEBPhase2TPGAmplWeightIdMap *ecaltpgWeightMap, const EcalTPGWeightGroup *ecaltpgWeightGroup)
std::vector< int64_t > time_out_
const EcalLiteDTUPedestalsMap * ecaltpPed_
std::vector< int > lin_out_
EcalEBPhase2AmplitudeReconstructor * getAmplitudeFinder() const
void clean(std::vector< std::vector< std::pair< int, std::vector< T > > > > &towerMap)
void setParameters(EBDetId id, const EcalLiteDTUPedestalsMap *peds, const EcalEBPhase2TPGLinearizationConstMap *ecaltplin, const EcalTPGCrystalStatus *ecaltpBadX)
void setParameters(uint32_t raw, const EcalEBPhase2TPGTimeWeightIdMap *ecaltpgTimeWeightMap, const EcalTPGWeightGroup *ecaltpgWeightGroup)
int iphi() const
get the tower iphi
EcalEBPhase2SpikeTagger * getSpikeTagger() const
const EcalEBPhase2TPGAmplWeightIdMap * ecaltpgAmplWeightMap_
EcalEBPhase2TPFormatter * getTPFormatter() const
void fillMap(EBDigiCollectionPh2 const *col, std::vector< std::vector< std::pair< int, std::vector< EBDataFrame_Ph2 > > > > &towerMap)