CMS 3D CMS Logo

List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes
EcalEBTrigPrimTestAlgo Class Reference

#include <EcalEBTrigPrimTestAlgo.h>

Public Member Functions

 EcalEBTrigPrimTestAlgo (const EcalTrigTowerConstituentsMap *eTTmap, const CaloGeometry *theGeometry, int nSamples, int binofmax, bool tcpFormat, bool debug, bool famos)
 
 EcalEBTrigPrimTestAlgo (int nSamples, int binofmax, bool tcpFormat, bool debug, bool famos)
 
void run (const EBDigiCollection *col, EcalEBTrigPrimDigiCollection &result, EcalEBTrigPrimDigiCollection &resultTcp)
 
void setPointers (const EcalTPGLinearizationConst *ecaltpLin, const EcalTPGPedestals *ecaltpPed, const EcalTPGCrystalStatus *ecaltpgBadX, const EcalTPGWeightIdMap *ecaltpgWeightMap, const EcalTPGWeightGroup *ecaltpgWeightGroup, const EcalTPGSlidingWindow *ecaltpgSlidW, const EcalTPGLutGroup *ecaltpgLutGroup, const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGTowerStatus *ecaltpgBadTT, const EcalTPGSpike *ecaltpgSpike)
 
virtual ~EcalEBTrigPrimTestAlgo ()
 

Private Types

enum  { nbMaxStrips_ = 5 }
 
enum  { nbMaxXtals_ = 5 }
 

Private Member Functions

template<class T >
void clean (std::vector< std::vector< std::pair< int, std::vector< T > > > > &towerMap)
 
template<class Coll >
void fillMap (Coll const *col, std::vector< std::vector< std::pair< int, std::vector< typename Coll::Digi > > > > &towerMap)
 
int findStripNr (const EBDetId &id)
 
int findStripNr (const EEDetId &id)
 
EcalEBFenixAmplitudeFiltergetFilter () const
 
EcalEBFenixTcpFormatgetFormatter () const
 
EcalEBFenixStripFormatEBgetFormatterEB () const
 
int getIndex (const EBDigiCollection *, EcalTrigTowerDetId &id)
 
int getIndex (const EEDigiCollection *, EcalTrigTowerDetId &id)
 
EcalEBFenixLinearizergetLinearizer (int i) const
 
EcalEBFenixPeakFindergetPeakFinder () const
 
void init ()
 
template<class T >
void initStructures (std::vector< std::vector< std::pair< int, std::vector< T > > > > &towMap)
 

Private Attributes

EcalEBFenixAmplitudeFilteramplitude_filter_
 
bool barrelOnly_
 
int binOfMaximum_
 
bool debug_
 
const EcalTPGTowerStatusecaltpgBadTT_
 
const EcalTPGCrystalStatusecaltpgBadX_
 
const EcalTPGLutIdMapecaltpgLut_
 
const EcalTPGLutGroupecaltpgLutGroup_
 
const EcalTPGSlidingWindowecaltpgSlidW_
 
const EcalTPGSpikeecaltpgSpike_
 
const EcalTPGWeightGroupecaltpgWeightGroup_
 
const EcalTPGWeightIdMapecaltpgWeightMap_
 
const EcalTPGLinearizationConstecaltpLin_
 
const EcalTPGPedestalsecaltpPed_
 
const EcalTrigTowerConstituentsMapeTTmap_ = nullptr
 
bool famos_
 
EcalEBFenixStripFormatEBfenixFormatterEB_
 
EcalEBFenixTcpFormatfenixTcpFormat_
 
std::vector< int > fgvb_out_
 
std::vector< int > fgvb_out_temp_
 
std::vector< int > filt_out_
 
std::vector< int > format_out_
 
std::vector< std::pair< int, EcalTrigTowerDetId > > hitTowers_
 
std::vector< std::vector< int > > lin_out_
 
std::vector< EcalEBFenixLinearizer * > linearizer_
 
int maxNrSamples_
 
int nrTowers_
 
int nSamples_
 
EcalEBFenixPeakFinderpeak_finder_
 
std::vector< int > peak_out_
 
std::vector< std::vector< int > > striptp_
 
bool tcpFormat_
 
std::vector< int > tcpformat_out_
 
const CaloGeometrytheGeometry_ = nullptr
 
const EcalElectronicsMappingtheMapping_
 
float threshold
 
std::vector< std::vector< std::pair< int, std::vector< EBDataFrame > > > > towerMapEB_
 
std::vector< std::vector< std::pair< int, std::vector< EEDataFrame > > > > towerMapEE_
 
std::vector< EcalEBTriggerPrimitiveSampletowtp2_
 
std::vector< EcalEBTriggerPrimitiveSampletowtp_
 

Static Private Attributes

static const unsigned int maxNrSamplesOut_ = 10
 
static const unsigned int maxNrTowers_ = 2448
 
static const unsigned int nrSamples_ = 5
 

Detailed Description

Author
N. Marinelli - Univ. of Notre Dame forPhase II While the new digitization is not yet implemented, we use the old Digis to make TP per crystal

EcalEBTrigPrimTestAlgo starting point for Phase II: build TPs out of Phase I digis to start building the infrastructures

Definition at line 37 of file EcalEBTrigPrimTestAlgo.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
nbMaxStrips_ 

Definition at line 124 of file EcalEBTrigPrimTestAlgo.h.

124 { nbMaxStrips_ = 5 };

◆ anonymous enum

anonymous enum
private
Enumerator
nbMaxXtals_ 

Definition at line 125 of file EcalEBTrigPrimTestAlgo.h.

125 { nbMaxXtals_ = 5 };

Constructor & Destructor Documentation

◆ EcalEBTrigPrimTestAlgo() [1/2]

EcalEBTrigPrimTestAlgo::EcalEBTrigPrimTestAlgo ( const EcalTrigTowerConstituentsMap eTTmap,
const CaloGeometry theGeometry,
int  nSamples,
int  binofmax,
bool  tcpFormat,
bool  debug,
bool  famos 
)
explicit

Definition at line 43 of file EcalEBTrigPrimTestAlgo.cc.

50  : eTTmap_(eTTmap),
51  theGeometry_(theGeometry),
52  nSamples_(nSam),
53  binOfMaximum_(binofmax),
54  tcpFormat_(tcpFormat),
55  barrelOnly_(false),
56  debug_(debug),
57  famos_(famos)
58 
59 {
60  maxNrSamples_ = 10;
61  this->init();
62 }

References init(), and maxNrSamples_.

◆ EcalEBTrigPrimTestAlgo() [2/2]

EcalEBTrigPrimTestAlgo::EcalEBTrigPrimTestAlgo ( int  nSamples,
int  binofmax,
bool  tcpFormat,
bool  debug,
bool  famos 
)
explicit

Definition at line 65 of file EcalEBTrigPrimTestAlgo.cc.

66  : nSamples_(nSam),
67  binOfMaximum_(binofmax),
68  tcpFormat_(tcpFormat),
69  barrelOnly_(true),
70  debug_(debug),
71  famos_(famos)
72 
73 {
74  maxNrSamples_ = 10;
75  this->init();
76 }

References init(), and maxNrSamples_.

◆ ~EcalEBTrigPrimTestAlgo()

EcalEBTrigPrimTestAlgo::~EcalEBTrigPrimTestAlgo ( )
virtual

Definition at line 111 of file EcalEBTrigPrimTestAlgo.cc.

111  {
112  for (int i = 0; i < nbMaxXtals_; i++)
113  delete linearizer_[i];
114  delete amplitude_filter_;
115  delete peak_finder_;
116  delete fenixFormatterEB_;
117  delete fenixTcpFormat_;
118 }

References amplitude_filter_, fenixFormatterEB_, fenixTcpFormat_, mps_fire::i, linearizer_, nbMaxXtals_, and peak_finder_.

Member Function Documentation

◆ clean()

template<class T >
void EcalEBTrigPrimTestAlgo::clean ( std::vector< std::vector< std::pair< int, std::vector< T > > > > &  towerMap)
private

Definition at line 167 of file EcalEBTrigPrimTestAlgo.h.

167  {
168  // clean internal data structures
169  for (unsigned int i = 0; i < maxNrTowers_; ++i)
170  for (int j = 0; j < nbMaxStrips_; ++j)
171  (towMap[i])[j].first = 0;
172  return;
173 }

References mps_fire::i, dqmiolumiharvest::j, maxNrTowers_, and nbMaxStrips_.

Referenced by run().

◆ fillMap()

template<class Coll >
void EcalEBTrigPrimTestAlgo::fillMap ( Coll const *  col,
std::vector< std::vector< std::pair< int, std::vector< typename Coll::Digi > > > > &  towerMap 
)
private

Definition at line 176 of file EcalEBTrigPrimTestAlgo.h.

177  {
178  typedef typename Coll::Digi Digi;
179 
180  // implementation for Barrel
181  if (col) {
182  nrTowers_ = 0;
183  if (debug_)
184  std::cout << "Fill mapping, Collection size = " << col->size() << std::endl;
185  ;
186  for (unsigned int i = 0; i < col->size(); ++i) {
187  Digi samples((*col)[i]);
188  EcalTrigTowerDetId coarser = (*eTTmap_).towerOf(samples.id());
189  int index = getIndex(col, coarser);
190  int stripnr = findStripNr(samples.id());
191 
192  int filled = 0;
193  for (unsigned int ij = 0; ij < towerMap[index].size(); ++ij)
194  filled += towerMap[index][ij].first;
195  if (!filled) {
196  hitTowers_[nrTowers_++] = std::pair<int, EcalTrigTowerDetId>(index, coarser);
197  }
198 
199  //FIXME: temporary protection
200  int ncryst = towerMap[index][stripnr - 1].first;
201  if (ncryst >= nbMaxXtals_) {
202  edm::LogError("EcalTrigPrimFunctionAlgo")
203  << "! Too many xtals for TT " << coarser << " stripnr " << stripnr << " xtalid " << samples.id();
204  continue;
205  }
206  ((towerMap[index])[stripnr - 1].second)[ncryst] = samples;
207  (towerMap[index])[stripnr - 1].first++;
208  }
209 
210  if (debug_)
211  std::cout << "fillMap"
212  << "[EcalTrigPrimFunctionalAlgo] (found " << col->size() << " frames in " << towerMap.size()
213  << " towers) " << std::endl;
214  } else {
215  if (debug_)
216  std::cout << "FillMap - FillMap Collection size=0 !!!!" << std::endl;
217  ;
218  }
219 }

References cuy::col, gather_cfg::cout, debug_, TrendClient_cfi::Digi, findStripNr(), first, getIndex(), hitTowers_, mps_fire::i, nbMaxXtals_, nrTowers_, EgammaValidation_cff::samples, and edm::second().

Referenced by run().

◆ findStripNr() [1/2]

int EcalEBTrigPrimTestAlgo::findStripNr ( const EBDetId id)
private

Definition at line 319 of file EcalEBTrigPrimTestAlgo.cc.

319  {
320  int stripnr;
321  int n = ((id.ic() - 1) % 100) / 20; //20 corresponds to 4 * ecal_barrel_crystals_per_strip FIXME!!
322  if (id.ieta() < 0)
323  stripnr = n + 1;
324  else
325  stripnr = nbMaxStrips_ - n;
326  return stripnr;
327 }

References LEDCalibrationChannels::ieta, dqmiodumpmetadata::n, and nbMaxStrips_.

Referenced by fillMap().

◆ findStripNr() [2/2]

int EcalEBTrigPrimTestAlgo::findStripNr ( const EEDetId id)
private

◆ getFilter()

EcalEBFenixAmplitudeFilter* EcalEBTrigPrimTestAlgo::getFilter ( ) const
inlineprivate

Definition at line 150 of file EcalEBTrigPrimTestAlgo.h.

150 { return amplitude_filter_; }

References amplitude_filter_.

Referenced by run().

◆ getFormatter()

EcalEBFenixTcpFormat* EcalEBTrigPrimTestAlgo::getFormatter ( ) const
inlineprivate

Definition at line 162 of file EcalEBTrigPrimTestAlgo.h.

162 { return fenixTcpFormat_; }

References fenixTcpFormat_.

Referenced by run().

◆ getFormatterEB()

EcalEBFenixStripFormatEB* EcalEBTrigPrimTestAlgo::getFormatterEB ( ) const
inlineprivate

Definition at line 160 of file EcalEBTrigPrimTestAlgo.h.

160 { return fenixFormatterEB_; }

References fenixFormatterEB_.

Referenced by run().

◆ getIndex() [1/2]

int EcalEBTrigPrimTestAlgo::getIndex ( const EBDigiCollection ,
EcalTrigTowerDetId id 
)
inlineprivate

Definition at line 89 of file EcalEBTrigPrimTestAlgo.h.

89 { return id.hashedIndex(); }

Referenced by fillMap().

◆ getIndex() [2/2]

int EcalEBTrigPrimTestAlgo::getIndex ( const EEDigiCollection ,
EcalTrigTowerDetId id 
)
inlineprivate

Definition at line 91 of file EcalEBTrigPrimTestAlgo.h.

91  {
92  int ind = (id.ietaAbs() - 18) * 72 + id.iphi();
93  if (id.zside() < 0)
94  ind += 792;
95  return ind;
96  }

References LEDCalibrationChannels::iphi, and ecaldqm::zside().

◆ getLinearizer()

EcalEBFenixLinearizer* EcalEBTrigPrimTestAlgo::getLinearizer ( int  i) const
inlineprivate

Definition at line 147 of file EcalEBTrigPrimTestAlgo.h.

147 { return linearizer_[i]; }

References mps_fire::i, and linearizer_.

Referenced by run().

◆ getPeakFinder()

EcalEBFenixPeakFinder* EcalEBTrigPrimTestAlgo::getPeakFinder ( ) const
inlineprivate

Definition at line 159 of file EcalEBTrigPrimTestAlgo.h.

159 { return peak_finder_; }

References peak_finder_.

Referenced by run().

◆ init()

void EcalEBTrigPrimTestAlgo::init ( void  )
private

Definition at line 79 of file EcalEBTrigPrimTestAlgo.cc.

79  {
80  // initialise data structures
82  hitTowers_.resize(maxNrTowers_);
83 
84  linearizer_.resize(nbMaxXtals_);
85  for (int i = 0; i < nbMaxXtals_; i++)
87 
88  //
89  std::vector<int> v;
90  v.resize(maxNrSamples_);
91  lin_out_.resize(nbMaxXtals_);
92  for (int i = 0; i < 5; i++)
93  lin_out_[i] = v;
94  //
96  filt_out_.resize(maxNrSamples_);
97  peak_out_.resize(maxNrSamples_);
98  // these two are dummy
99  fgvb_out_.resize(maxNrSamples_);
101  //
104  format_out_.resize(maxNrSamples_);
105  //
108 }

References amplitude_filter_, binOfMaximum_, debug_, famos_, fenixFormatterEB_, fenixTcpFormat_, fgvb_out_, fgvb_out_temp_, filt_out_, format_out_, hitTowers_, mps_fire::i, initStructures(), lin_out_, linearizer_, maxNrSamples_, maxNrTowers_, nbMaxXtals_, peak_finder_, peak_out_, tcpFormat_, tcpformat_out_, towerMapEB_, and findQualityFiles::v.

Referenced by EcalEBTrigPrimTestAlgo().

◆ initStructures()

template<class T >
void EcalEBTrigPrimTestAlgo::initStructures ( std::vector< std::vector< std::pair< int, std::vector< T > > > > &  towMap)
private

Definition at line 222 of file EcalEBTrigPrimTestAlgo.h.

222  {
223  //initialise internal data structures
224 
225  std::vector<T> vec0(nbMaxXtals_);
226  std::vector<std::pair<int, std::vector<T> > > vec1(nbMaxStrips_);
227  for (int i = 0; i < nbMaxStrips_; ++i)
228  vec1[i] = std::pair<int, std::vector<T> >(0, vec0);
229  towMap.resize(maxNrTowers_);
230  for (unsigned int i = 0; i < maxNrTowers_; ++i)
231  towMap[i] = vec1;
232 
233  std::vector<int> vecint(maxNrSamples_);
234  striptp_.resize(nbMaxStrips_);
235  for (int i = 0; i < nbMaxStrips_; ++i)
236  striptp_[i] = vecint;
237 }

References mps_fire::i, maxNrSamples_, maxNrTowers_, nbMaxStrips_, nbMaxXtals_, and striptp_.

Referenced by init().

◆ run()

void EcalEBTrigPrimTestAlgo::run ( const EBDigiCollection col,
EcalEBTrigPrimDigiCollection result,
EcalEBTrigPrimDigiCollection resultTcp 
)

Definition at line 120 of file EcalEBTrigPrimTestAlgo.cc.

122  {
123  //typedef typename Coll::Digi Digi;
124  if (debug_) {
125  std::cout << " EcalEBTrigPrimTestAlgo: Testing that the algorythm with digis is well plugged " << std::endl;
126  std::cout << " EcalEBTrigPrimTestAlgo: digi size " << digi->size() << std::endl;
127  }
128 
129  uint16_t etInADC;
131  int firstSample = binOfMaximum_ - 1 - nrSamples_ / 2;
132  int lastSample = binOfMaximum_ - 1 + nrSamples_ / 2;
133 
134  if (debug_) {
135  std::cout << " binOfMaximum_ " << binOfMaximum_ << " nrSamples_" << nrSamples_ << std::endl;
136  std::cout << " first sample " << firstSample << " last " << lastSample << std::endl;
137  }
138 
140  fillMap(digi, towerMapEB_);
141 
142  for (int itow = 0; itow < nrTowers_; ++itow) {
143  int index = hitTowers_[itow].first;
144  const EcalTrigTowerDetId &thisTower = hitTowers_[itow].second;
145  if (debug_)
146  std::cout << " Data for TOWER num " << itow << " index " << index << " TowerId " << thisTower << " size "
147  << towerMapEB_[itow].size() << std::endl;
148  // loop over all strips assigned to this trigger tower
149  int nxstals = 0;
150  for (unsigned int iStrip = 0; iStrip < towerMapEB_[itow].size(); ++iStrip) {
151  if (debug_)
152  std::cout << " Data for STRIP num " << iStrip << std::endl;
153  std::vector<EBDataFrame> &dataFrames =
154  (towerMapEB_[index])[iStrip].second; //vector of dataframes for this strip, size; nr of crystals/strip
155 
156  nxstals = (towerMapEB_[index])[iStrip].first;
157  if (nxstals <= 0)
158  continue;
159  if (debug_)
160  std::cout << " Number of xTals " << nxstals << std::endl;
161 
162  const EcalTriggerElectronicsId elId = theMapping_->getTriggerElectronicsId(dataFrames[0].id());
163  uint32_t stripid = elId.rawId() & 0xfffffff8;
164 
165  // loop over the xstals in a strip
166  for (int iXstal = 0; iXstal < nxstals; iXstal++) {
167  const EBDetId &myid = dataFrames[iXstal].id();
169  tp.setSize(nrSamples_);
170 
171  if (debug_) {
172  std::cout << std::endl;
173  std::cout << "iXstal= " << iXstal << " id " << dataFrames[iXstal].id() << " EBDataFrame is: " << std::endl;
174  for (int i = 0; i < dataFrames[iXstal].size(); i++) {
175  std::cout << " " << std::dec << dataFrames[iXstal][i].adc();
176  }
177  std::cout << std::endl;
178  }
179  // Call the linearizer
180  this->getLinearizer(iXstal)->setParameters(
181  dataFrames[iXstal].id().rawId(), ecaltpPed_, ecaltpLin_, ecaltpgBadX_);
182  this->getLinearizer(iXstal)->process(dataFrames[iXstal], lin_out_[iXstal]);
183 
184  for (unsigned int i = 0; i < lin_out_[iXstal].size(); i++) {
185  if ((lin_out_[iXstal])[i] > 0X3FFFF)
186  (lin_out_[iXstal])[i] = 0X3FFFF;
187  }
188 
189  if (debug_) {
190  std::cout << "output of linearizer for channel " << iXstal << std::endl;
191  std::cout << " lin_out[iXstal].size()= " << std::dec << lin_out_[iXstal].size() << std::endl;
192  for (unsigned int i = 0; i < lin_out_[iXstal].size(); i++) {
193  std::cout << " " << std::dec << (lin_out_[iXstal])[i];
194  }
195  std::cout << std::endl;
196  }
197 
198  // Call the amplitude filter
201 
202  if (debug_) {
203  std::cout << "output of filter is a vector of size: " << std::dec << filt_out_.size() << std::endl;
204  for (unsigned int ix = 0; ix < filt_out_.size(); ix++) {
205  std::cout << std::dec << filt_out_[ix] << " ";
206  }
207  std::cout << std::endl;
208  }
209 
210  // call peakfinder
212 
213  if (debug_) {
214  std::cout << "output of peakfinder is a vector of size: " << std::dec << peak_out_.size() << std::endl;
215  for (unsigned int ix = 0; ix < peak_out_.size(); ix++) {
216  std::cout << std::dec << peak_out_[ix] << " ";
217  }
218  std::cout << std::endl;
219  }
220 
221  // call formatter
222  this->getFormatterEB()->setParameters(stripid, ecaltpgSlidW_);
224 
225  if (debug_) {
226  std::cout << "output of formatter is a vector of size: " << format_out_.size() << std::endl;
227  for (unsigned int i = 0; i < format_out_.size(); i++) {
228  std::cout << " " << std::dec << format_out_[i] << " ";
229  }
230  std::cout << std::endl;
231  }
232 
233  // call final tcp formatter
234  this->getFormatter()->setParameters(
237  // loop over the time samples and fill the TP
238  int nSam = 0;
239  for (int iSample = firstSample; iSample <= lastSample; ++iSample) {
240  etInADC = tcpformat_out_[iSample];
241  if (debug_)
242  std::cout << " format_out " << tcpformat_out_[iSample] << " etInADC " << etInADC << std::endl;
243 
244  bool isASpike = false; // no spikes for now
245  int timing = 0; // set to 0 value for now
246  tp.setSample(nSam, EcalEBTriggerPrimitiveSample(etInADC, isASpike, timing));
247 
248  nSam++;
249  if (debug_)
250  std::cout << "in TestAlgo"
251  << " tp size " << tp.size() << std::endl;
252  }
253 
254  if (!tcpFormat_)
255  result.push_back(tp);
256  else
257  resultTcp.push_back(tp);
258 
259  } // Loop over the xStals
260 
261  } //loop over strips in one tower
262  }
263 
264  /*
265  for (unsigned int i=0;i<digi->size();i++) {
266  EBDataFrame myFrame((*digi)[i]);
267  const EBDetId & myid1 = myFrame.id();
268  tp= EcalTriggerPrimitiveDigi( myid1);
269  tp.setSize( myFrame.size());
270  int nSam=0;
271 
272  if (debug_) {
273  std::cout << " data frame size " << myFrame.size() << " Id " << myFrame.id() << std::endl;
274  std::cout << " Sample data ADC: " << std::endl;
275  for (int iSample=0; iSample<myFrame.size(); iSample++) {
276  std::cout << " " << std::dec<< myFrame.sample(iSample).adc() ;
277  }
278  std::cout<<std::endl;
279  }
280 
281 
282  this->getLinearizer(i)->setParameters( myFrame.id().rawId(),ecaltpPed_,ecaltpLin_,ecaltpgBadX_) ;
283  //this->getLinearizer(i)->process( myFrame,lin_out_[i]);
284 
285  if (debug_) {
286  std::cout<< "cryst: "<< i <<" value : "<<std::dec<<std::endl;
287  std::cout<<" lin_out[i].size()= "<<std::dec<<lin_out_[i].size()<<std::endl;
288  for (unsigned int j =0; j<lin_out_[i].size();j++){
289  std::cout <<" "<<std::dec<<(lin_out_[i])[j];
290  }
291  std::cout<<std::endl;
292  }
293 
294 
295  for (int iSample=0; iSample<myFrame.size(); iSample++) {
296  etInADC= myFrame.sample(iSample).adc();
297  EcalEBTriggerPrimitiveSample mysam(etInADC);
298  tp.setSample(nSam, mysam );
299  nSam++;
300  if (debug_) std::cout << "in TestAlgo" <<" tp size "<<tp.size() << std::endl;
301  }
302 
303  if (!tcpFormat_)
304  result.push_back(tp);
305  else
306  resultTcp.push_back(tp);
307 
308 
309  if (debug_) std::cout << " result size " << result.size() << std::endl;
310 
311 
312 
313  }
314  */
315 }

References binOfMaximum_, clean(), gather_cfg::cout, debug_, TauDecayModes::dec, ecaltpgBadTT_, ecaltpgBadX_, ecaltpgLut_, ecaltpgLutGroup_, ecaltpgSlidW_, ecaltpgSpike_, ecaltpgWeightGroup_, ecaltpgWeightMap_, ecaltpLin_, ecaltpPed_, fgvb_out_, fgvb_out_temp_, fillMap(), filt_out_, first, castor_dqm_sourceclient-live_cfg::firstSample, format_out_, getFilter(), getFormatter(), getFormatterEB(), getLinearizer(), getPeakFinder(), EcalElectronicsMapping::getTriggerElectronicsId(), hitTowers_, mps_fire::i, CastorRawToDigi_cfi::lastSample, lin_out_, nrSamples_, nrTowers_, peak_out_, EcalEBFenixPeakFinder::process(), EcalEBFenixAmplitudeFilter::process(), EcalEBFenixStripFormatEB::process(), EcalEBFenixTcpFormat::process(), EcalEBFenixLinearizer::process(), edm::SortedCollection< T, SORT >::push_back(), EcalTriggerElectronicsId::rawId(), DetId::rawId(), mps_fire::result, edm::second(), EcalEBFenixStripFormatEB::setParameters(), EcalEBFenixTcpFormat::setParameters(), EcalEBFenixAmplitudeFilter::setParameters(), EcalEBFenixLinearizer::setParameters(), edm::DataFrameContainer::size(), tcpFormat_, tcpformat_out_, theMapping_, ecalMatacq_cfi::timing, towerMapEB_, and cmsswSequenceInfo::tp.

◆ setPointers()

void EcalEBTrigPrimTestAlgo::setPointers ( const EcalTPGLinearizationConst ecaltpLin,
const EcalTPGPedestals ecaltpPed,
const EcalTPGCrystalStatus ecaltpgBadX,
const EcalTPGWeightIdMap ecaltpgWeightMap,
const EcalTPGWeightGroup ecaltpgWeightGroup,
const EcalTPGSlidingWindow ecaltpgSlidW,
const EcalTPGLutGroup ecaltpgLutGroup,
const EcalTPGLutIdMap ecaltpgLut,
const EcalTPGTowerStatus ecaltpgBadTT,
const EcalTPGSpike ecaltpgSpike 
)
inline

Definition at line 54 of file EcalEBTrigPrimTestAlgo.h.

63  {
64  ecaltpPed_ = ecaltpPed;
65  ecaltpLin_ = ecaltpLin;
66  ecaltpgBadX_ = ecaltpgBadX;
67  ecaltpgWeightMap_ = ecaltpgWeightMap;
68  ecaltpgWeightGroup_ = ecaltpgWeightGroup;
69  ecaltpgSlidW_ = ecaltpgSlidW;
70  ecaltpgLutGroup_ = ecaltpgLutGroup;
71  ecaltpgLut_ = ecaltpgLut;
72  ecaltpgBadTT_ = ecaltpgBadTT;
73  ecaltpgSpike_ = ecaltpgSpike;
74  }

References ecaltpgBadTT_, ecaltpgBadX_, ecaltpgLut_, ecaltpgLutGroup_, ecaltpgSlidW_, ecaltpgSpike_, ecaltpgWeightGroup_, ecaltpgWeightMap_, ecaltpLin_, and ecaltpPed_.

Member Data Documentation

◆ amplitude_filter_

EcalEBFenixAmplitudeFilter* EcalEBTrigPrimTestAlgo::amplitude_filter_
private

Definition at line 130 of file EcalEBTrigPrimTestAlgo.h.

Referenced by getFilter(), init(), and ~EcalEBTrigPrimTestAlgo().

◆ barrelOnly_

bool EcalEBTrigPrimTestAlgo::barrelOnly_
private

Definition at line 107 of file EcalEBTrigPrimTestAlgo.h.

◆ binOfMaximum_

int EcalEBTrigPrimTestAlgo::binOfMaximum_
private

Definition at line 103 of file EcalEBTrigPrimTestAlgo.h.

Referenced by init(), and run().

◆ debug_

bool EcalEBTrigPrimTestAlgo::debug_
private

Definition at line 108 of file EcalEBTrigPrimTestAlgo.h.

Referenced by fillMap(), init(), and run().

◆ ecaltpgBadTT_

const EcalTPGTowerStatus* EcalEBTrigPrimTestAlgo::ecaltpgBadTT_
private

Definition at line 144 of file EcalEBTrigPrimTestAlgo.h.

Referenced by run(), and setPointers().

◆ ecaltpgBadX_

const EcalTPGCrystalStatus* EcalEBTrigPrimTestAlgo::ecaltpgBadX_
private

Definition at line 138 of file EcalEBTrigPrimTestAlgo.h.

Referenced by run(), and setPointers().

◆ ecaltpgLut_

const EcalTPGLutIdMap* EcalEBTrigPrimTestAlgo::ecaltpgLut_
private

Definition at line 143 of file EcalEBTrigPrimTestAlgo.h.

Referenced by run(), and setPointers().

◆ ecaltpgLutGroup_

const EcalTPGLutGroup* EcalEBTrigPrimTestAlgo::ecaltpgLutGroup_
private

Definition at line 142 of file EcalEBTrigPrimTestAlgo.h.

Referenced by run(), and setPointers().

◆ ecaltpgSlidW_

const EcalTPGSlidingWindow* EcalEBTrigPrimTestAlgo::ecaltpgSlidW_
private

Definition at line 141 of file EcalEBTrigPrimTestAlgo.h.

Referenced by run(), and setPointers().

◆ ecaltpgSpike_

const EcalTPGSpike* EcalEBTrigPrimTestAlgo::ecaltpgSpike_
private

Definition at line 145 of file EcalEBTrigPrimTestAlgo.h.

Referenced by run(), and setPointers().

◆ ecaltpgWeightGroup_

const EcalTPGWeightGroup* EcalEBTrigPrimTestAlgo::ecaltpgWeightGroup_
private

Definition at line 140 of file EcalEBTrigPrimTestAlgo.h.

Referenced by run(), and setPointers().

◆ ecaltpgWeightMap_

const EcalTPGWeightIdMap* EcalEBTrigPrimTestAlgo::ecaltpgWeightMap_
private

Definition at line 139 of file EcalEBTrigPrimTestAlgo.h.

Referenced by run(), and setPointers().

◆ ecaltpLin_

const EcalTPGLinearizationConst* EcalEBTrigPrimTestAlgo::ecaltpLin_
private

Definition at line 137 of file EcalEBTrigPrimTestAlgo.h.

Referenced by run(), and setPointers().

◆ ecaltpPed_

const EcalTPGPedestals* EcalEBTrigPrimTestAlgo::ecaltpPed_
private

Definition at line 136 of file EcalEBTrigPrimTestAlgo.h.

Referenced by run(), and setPointers().

◆ eTTmap_

const EcalTrigTowerConstituentsMap* EcalEBTrigPrimTestAlgo::eTTmap_ = nullptr
private

Definition at line 98 of file EcalEBTrigPrimTestAlgo.h.

◆ famos_

bool EcalEBTrigPrimTestAlgo::famos_
private

Definition at line 109 of file EcalEBTrigPrimTestAlgo.h.

Referenced by init().

◆ fenixFormatterEB_

EcalEBFenixStripFormatEB* EcalEBTrigPrimTestAlgo::fenixFormatterEB_
private

Definition at line 132 of file EcalEBTrigPrimTestAlgo.h.

Referenced by getFormatterEB(), init(), and ~EcalEBTrigPrimTestAlgo().

◆ fenixTcpFormat_

EcalEBFenixTcpFormat* EcalEBTrigPrimTestAlgo::fenixTcpFormat_
private

Definition at line 133 of file EcalEBTrigPrimTestAlgo.h.

Referenced by getFormatter(), init(), and ~EcalEBTrigPrimTestAlgo().

◆ fgvb_out_

std::vector<int> EcalEBTrigPrimTestAlgo::fgvb_out_
private

Definition at line 155 of file EcalEBTrigPrimTestAlgo.h.

Referenced by init(), and run().

◆ fgvb_out_temp_

std::vector<int> EcalEBTrigPrimTestAlgo::fgvb_out_temp_
private

Definition at line 156 of file EcalEBTrigPrimTestAlgo.h.

Referenced by init(), and run().

◆ filt_out_

std::vector<int> EcalEBTrigPrimTestAlgo::filt_out_
private

Definition at line 151 of file EcalEBTrigPrimTestAlgo.h.

Referenced by init(), and run().

◆ format_out_

std::vector<int> EcalEBTrigPrimTestAlgo::format_out_
private

Definition at line 153 of file EcalEBTrigPrimTestAlgo.h.

Referenced by init(), and run().

◆ hitTowers_

std::vector<std::pair<int, EcalTrigTowerDetId> > EcalEBTrigPrimTestAlgo::hitTowers_
private

Definition at line 120 of file EcalEBTrigPrimTestAlgo.h.

Referenced by fillMap(), init(), and run().

◆ lin_out_

std::vector<std::vector<int> > EcalEBTrigPrimTestAlgo::lin_out_
private

Definition at line 148 of file EcalEBTrigPrimTestAlgo.h.

Referenced by init(), and run().

◆ linearizer_

std::vector<EcalEBFenixLinearizer *> EcalEBTrigPrimTestAlgo::linearizer_
private

Definition at line 129 of file EcalEBTrigPrimTestAlgo.h.

Referenced by getLinearizer(), init(), and ~EcalEBTrigPrimTestAlgo().

◆ maxNrSamples_

int EcalEBTrigPrimTestAlgo::maxNrSamples_
private

Definition at line 104 of file EcalEBTrigPrimTestAlgo.h.

Referenced by EcalEBTrigPrimTestAlgo(), init(), and initStructures().

◆ maxNrSamplesOut_

const unsigned int EcalEBTrigPrimTestAlgo::maxNrSamplesOut_ = 10
staticprivate

Definition at line 113 of file EcalEBTrigPrimTestAlgo.h.

◆ maxNrTowers_

const unsigned int EcalEBTrigPrimTestAlgo::maxNrTowers_ = 2448
staticprivate

Definition at line 112 of file EcalEBTrigPrimTestAlgo.h.

Referenced by clean(), init(), and initStructures().

◆ nrSamples_

const unsigned int EcalEBTrigPrimTestAlgo::nrSamples_ = 5
staticprivate

Definition at line 114 of file EcalEBTrigPrimTestAlgo.h.

Referenced by run().

◆ nrTowers_

int EcalEBTrigPrimTestAlgo::nrTowers_
private

Definition at line 111 of file EcalEBTrigPrimTestAlgo.h.

Referenced by fillMap(), and run().

◆ nSamples_

int EcalEBTrigPrimTestAlgo::nSamples_
private

Definition at line 102 of file EcalEBTrigPrimTestAlgo.h.

◆ peak_finder_

EcalEBFenixPeakFinder* EcalEBTrigPrimTestAlgo::peak_finder_
private

Definition at line 131 of file EcalEBTrigPrimTestAlgo.h.

Referenced by getPeakFinder(), init(), and ~EcalEBTrigPrimTestAlgo().

◆ peak_out_

std::vector<int> EcalEBTrigPrimTestAlgo::peak_out_
private

Definition at line 152 of file EcalEBTrigPrimTestAlgo.h.

Referenced by init(), and run().

◆ striptp_

std::vector<std::vector<int> > EcalEBTrigPrimTestAlgo::striptp_
private

Definition at line 117 of file EcalEBTrigPrimTestAlgo.h.

Referenced by initStructures().

◆ tcpFormat_

bool EcalEBTrigPrimTestAlgo::tcpFormat_
private

Definition at line 106 of file EcalEBTrigPrimTestAlgo.h.

Referenced by init(), and run().

◆ tcpformat_out_

std::vector<int> EcalEBTrigPrimTestAlgo::tcpformat_out_
private

Definition at line 163 of file EcalEBTrigPrimTestAlgo.h.

Referenced by init(), and run().

◆ theGeometry_

const CaloGeometry* EcalEBTrigPrimTestAlgo::theGeometry_ = nullptr
private

Definition at line 99 of file EcalEBTrigPrimTestAlgo.h.

◆ theMapping_

const EcalElectronicsMapping* EcalEBTrigPrimTestAlgo::theMapping_
private

Definition at line 127 of file EcalEBTrigPrimTestAlgo.h.

Referenced by run().

◆ threshold

float EcalEBTrigPrimTestAlgo::threshold
private

Definition at line 101 of file EcalEBTrigPrimTestAlgo.h.

Referenced by utils.StatisticalTest::get_status().

◆ towerMapEB_

std::vector<std::vector<std::pair<int, std::vector<EBDataFrame> > > > EcalEBTrigPrimTestAlgo::towerMapEB_
private

Definition at line 118 of file EcalEBTrigPrimTestAlgo.h.

Referenced by init(), and run().

◆ towerMapEE_

std::vector<std::vector<std::pair<int, std::vector<EEDataFrame> > > > EcalEBTrigPrimTestAlgo::towerMapEE_
private

Definition at line 119 of file EcalEBTrigPrimTestAlgo.h.

◆ towtp2_

std::vector<EcalEBTriggerPrimitiveSample> EcalEBTrigPrimTestAlgo::towtp2_
private

Definition at line 122 of file EcalEBTrigPrimTestAlgo.h.

◆ towtp_

std::vector<EcalEBTriggerPrimitiveSample> EcalEBTrigPrimTestAlgo::towtp_
private

Definition at line 121 of file EcalEBTrigPrimTestAlgo.h.

EcalEBTrigPrimTestAlgo::nSamples_
int nSamples_
Definition: EcalEBTrigPrimTestAlgo.h:102
EcalEBTrigPrimTestAlgo::amplitude_filter_
EcalEBFenixAmplitudeFilter * amplitude_filter_
Definition: EcalEBTrigPrimTestAlgo.h:130
EcalEBTrigPrimTestAlgo::nrTowers_
int nrTowers_
Definition: EcalEBTrigPrimTestAlgo.h:111
EcalEBTrigPrimTestAlgo::binOfMaximum_
int binOfMaximum_
Definition: EcalEBTrigPrimTestAlgo.h:103
EcalEBFenixStripFormatEB
Formatting for Fenix strip input: 18 bits + 3x 1bit (fgvb, gapflagbit, output from peakfinder) output...
Definition: EcalEBFenixStripFormatEB.h:18
mps_fire.i
i
Definition: mps_fire.py:428
EcalEBTrigPrimTestAlgo::init
void init()
Definition: EcalEBTrigPrimTestAlgo.cc:79
EcalEBTrigPrimTestAlgo::maxNrTowers_
static const unsigned int maxNrTowers_
Definition: EcalEBTrigPrimTestAlgo.h:112
EcalEBTrigPrimTestAlgo::tcpFormat_
bool tcpFormat_
Definition: EcalEBTrigPrimTestAlgo.h:106
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
EcalEBTrigPrimTestAlgo::nbMaxXtals_
Definition: EcalEBTrigPrimTestAlgo.h:125
EcalEBTrigPrimTestAlgo::ecaltpgBadTT_
const EcalTPGTowerStatus * ecaltpgBadTT_
Definition: EcalEBTrigPrimTestAlgo.h:144
EcalTriggerElectronicsId
Ecal trigger electronics identification [32:20] Unused (so far) [19:13] TCC id [12:6] TT id [5:3] pse...
Definition: EcalTriggerElectronicsId.h:18
vec1
std::vector< double > vec1
Definition: HCALResponse.h:15
EcalEBTrigPrimTestAlgo::eTTmap_
const EcalTrigTowerConstituentsMap * eTTmap_
Definition: EcalEBTrigPrimTestAlgo.h:98
EcalEBFenixLinearizer
Linearisation for Fenix strip input: 16 bits corresponding to input EBDataFrame output: 18 bits.
Definition: EcalEBFenixLinearizer.h:19
ecaldqm::zside
int zside(DetId const &)
Definition: EcalDQMCommonUtils.cc:189
EBDetId
Definition: EBDetId.h:17
cuy.col
col
Definition: cuy.py:1009
gather_cfg.cout
cout
Definition: gather_cfg.py:144
TrendClient_cfi.Digi
Digi
Definition: TrendClient_cfi.py:7
edm::second
U second(std::pair< T, U > const &p)
Definition: ParameterSet.cc:222
EcalEBFenixAmplitudeFilter::process
void process()
Definition: EcalEBFenixAmplitudeFilter.cc:72
EcalEBTrigPrimTestAlgo::fgvb_out_temp_
std::vector< int > fgvb_out_temp_
Definition: EcalEBTrigPrimTestAlgo.h:156
EcalEBTrigPrimTestAlgo::findStripNr
int findStripNr(const EBDetId &id)
Definition: EcalEBTrigPrimTestAlgo.cc:319
EcalTrigTowerDetId
Definition: EcalTrigTowerDetId.h:14
findQualityFiles.v
v
Definition: findQualityFiles.py:179
EcalEBTrigPrimTestAlgo::initStructures
void initStructures(std::vector< std::vector< std::pair< int, std::vector< T > > > > &towMap)
Definition: EcalEBTrigPrimTestAlgo.h:222
EcalEBTrigPrimTestAlgo::getIndex
int getIndex(const EBDigiCollection *, EcalTrigTowerDetId &id)
Definition: EcalEBTrigPrimTestAlgo.h:89
EcalEBTrigPrimTestAlgo::theMapping_
const EcalElectronicsMapping * theMapping_
Definition: EcalEBTrigPrimTestAlgo.h:127
EcalEBTrigPrimTestAlgo::filt_out_
std::vector< int > filt_out_
Definition: EcalEBTrigPrimTestAlgo.h:151
EcalEBTrigPrimTestAlgo::fenixFormatterEB_
EcalEBFenixStripFormatEB * fenixFormatterEB_
Definition: EcalEBTrigPrimTestAlgo.h:132
edm::SortedCollection::push_back
void push_back(T const &t)
Definition: SortedCollection.h:188
EcalEBTrigPrimTestAlgo::clean
void clean(std::vector< std::vector< std::pair< int, std::vector< T > > > > &towerMap)
Definition: EcalEBTrigPrimTestAlgo.h:167
EcalEBTrigPrimTestAlgo::ecaltpPed_
const EcalTPGPedestals * ecaltpPed_
Definition: EcalEBTrigPrimTestAlgo.h:136
EcalEBTrigPrimTestAlgo::ecaltpgLut_
const EcalTPGLutIdMap * ecaltpgLut_
Definition: EcalEBTrigPrimTestAlgo.h:143
EcalEBTriggerPrimitiveSample
Definition: EcalEBTriggerPrimitiveSample.h:12
EcalEBTrigPrimTestAlgo::lin_out_
std::vector< std::vector< int > > lin_out_
Definition: EcalEBTrigPrimTestAlgo.h:148
EgammaValidation_cff.samples
samples
Definition: EgammaValidation_cff.py:18
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
EcalEBTrigPrimTestAlgo::tcpformat_out_
std::vector< int > tcpformat_out_
Definition: EcalEBTrigPrimTestAlgo.h:163
debug
#define debug
Definition: HDRShower.cc:19
EcalEBTrigPrimTestAlgo::maxNrSamples_
int maxNrSamples_
Definition: EcalEBTrigPrimTestAlgo.h:104
EcalEBTrigPrimTestAlgo::debug_
bool debug_
Definition: EcalEBTrigPrimTestAlgo.h:108
CastorRawToDigi_cfi.lastSample
lastSample
Definition: CastorRawToDigi_cfi.py:23
EcalEBTrigPrimTestAlgo::fenixTcpFormat_
EcalEBFenixTcpFormat * fenixTcpFormat_
Definition: EcalEBTrigPrimTestAlgo.h:133
EcalEBFenixLinearizer::setParameters
void setParameters(uint32_t raw, const EcalTPGPedestals *ecaltpPed, const EcalTPGLinearizationConst *ecaltpLin, const EcalTPGCrystalStatus *ecaltpBadX)
Definition: EcalEBFenixLinearizer.cc:20
EcalEBTrigPrimTestAlgo::ecaltpgWeightMap_
const EcalTPGWeightIdMap * ecaltpgWeightMap_
Definition: EcalEBTrigPrimTestAlgo.h:139
EcalEBTrigPrimTestAlgo::famos_
bool famos_
Definition: EcalEBTrigPrimTestAlgo.h:109
cmsswSequenceInfo.tp
tp
Definition: cmsswSequenceInfo.py:17
first
auto first
Definition: CAHitNtupletGeneratorKernelsImpl.h:125
EcalEBTrigPrimTestAlgo::ecaltpgLutGroup_
const EcalTPGLutGroup * ecaltpgLutGroup_
Definition: EcalEBTrigPrimTestAlgo.h:142
EcalEBTrigPrimTestAlgo::getLinearizer
EcalEBFenixLinearizer * getLinearizer(int i) const
Definition: EcalEBTrigPrimTestAlgo.h:147
LEDCalibrationChannels.ieta
ieta
Definition: LEDCalibrationChannels.py:63
EcalEBTrigPrimTestAlgo::nrSamples_
static const unsigned int nrSamples_
Definition: EcalEBTrigPrimTestAlgo.h:114
EcalEBTrigPrimTestAlgo::fillMap
void fillMap(Coll const *col, std::vector< std::vector< std::pair< int, std::vector< typename Coll::Digi > > > > &towerMap)
Definition: EcalEBTrigPrimTestAlgo.h:176
EcalEBTrigPrimTestAlgo::peak_out_
std::vector< int > peak_out_
Definition: EcalEBTrigPrimTestAlgo.h:152
castor_dqm_sourceclient-live_cfg.firstSample
firstSample
Definition: castor_dqm_sourceclient-live_cfg.py:64
EcalEBTrigPrimTestAlgo::linearizer_
std::vector< EcalEBFenixLinearizer * > linearizer_
Definition: EcalEBTrigPrimTestAlgo.h:129
EcalEBFenixStripFormatEB::setParameters
void setParameters(uint32_t &, const EcalTPGSlidingWindow *&)
Definition: EcalEBFenixStripFormatEB.cc:51
EcalEBFenixPeakFinder::process
int process()
Definition: EcalEBFenixPeakFinder.cc:23
EcalEBTrigPrimTestAlgo::ecaltpgSlidW_
const EcalTPGSlidingWindow * ecaltpgSlidW_
Definition: EcalEBTrigPrimTestAlgo.h:141
EcalElectronicsMapping::getTriggerElectronicsId
EcalTriggerElectronicsId getTriggerElectronicsId(const DetId &id) const
Get the trigger electronics id for this det id.
Definition: EcalElectronicsMapping.cc:389
EcalEBTrigPrimTestAlgo::format_out_
std::vector< int > format_out_
Definition: EcalEBTrigPrimTestAlgo.h:153
EcalEBTrigPrimTestAlgo::striptp_
std::vector< std::vector< int > > striptp_
Definition: EcalEBTrigPrimTestAlgo.h:117
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
EcalEBFenixStripFormatEB::process
int process()
Definition: EcalEBFenixStripFormatEB.cc:16
EcalEBFenixAmplitudeFilter
calculates .... for Fenix strip, barrel input: 18 bits output: 18 bits
Definition: EcalEBFenixAmplitudeFilter.h:17
EcalEBFenixTcpFormat::setParameters
void setParameters(uint32_t towid, const EcalTPGLutGroup *ecaltpgLutGroup, const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGTowerStatus *ecaltpgbadTT, const EcalTPGSpike *ecaltpgSpike)
Definition: EcalEBFenixTcpFormat.cc:131
EcalEBTrigPrimTestAlgo::getFormatter
EcalEBFenixTcpFormat * getFormatter() const
Definition: EcalEBTrigPrimTestAlgo.h:162
EcalEBTrigPrimTestAlgo::theGeometry_
const CaloGeometry * theGeometry_
Definition: EcalEBTrigPrimTestAlgo.h:99
EcalEBTrigPrimTestAlgo::ecaltpLin_
const EcalTPGLinearizationConst * ecaltpLin_
Definition: EcalEBTrigPrimTestAlgo.h:137
ecalMatacq_cfi.timing
timing
Definition: ecalMatacq_cfi.py:26
EcalEBTriggerPrimitiveDigi
Definition: EcalEBTriggerPrimitiveDigi.h:15
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
EcalEBTrigPrimTestAlgo::hitTowers_
std::vector< std::pair< int, EcalTrigTowerDetId > > hitTowers_
Definition: EcalEBTrigPrimTestAlgo.h:120
EcalEBFenixPeakFinder
calculates the peak for Fenix strip, barrel input : 18 bits output: boolean
Definition: EcalEBFenixPeakFinder.h:16
EcalEBFenixLinearizer::process
int process()
Definition: EcalEBFenixLinearizer.cc:51
EcalEBTrigPrimTestAlgo::peak_finder_
EcalEBFenixPeakFinder * peak_finder_
Definition: EcalEBTrigPrimTestAlgo.h:131
EcalEBFenixTcpFormat::process
void process(std::vector< int > &, std::vector< int > &)
Definition: EcalEBFenixTcpFormat.cc:19
EcalEBTrigPrimTestAlgo::getPeakFinder
EcalEBFenixPeakFinder * getPeakFinder() const
Definition: EcalEBTrigPrimTestAlgo.h:159
EcalEBTrigPrimTestAlgo::nbMaxStrips_
Definition: EcalEBTrigPrimTestAlgo.h:124
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
EcalEBTrigPrimTestAlgo::barrelOnly_
bool barrelOnly_
Definition: EcalEBTrigPrimTestAlgo.h:107
mps_fire.result
result
Definition: mps_fire.py:311
EcalEBFenixAmplitudeFilter::setParameters
void setParameters(uint32_t raw, const EcalTPGWeightIdMap *ecaltpgWeightMap, const EcalTPGWeightGroup *ecaltpgWeightGroup)
Definition: EcalEBFenixAmplitudeFilter.cc:95
EcalEBFenixTcpFormat
Formatting for Fenix Tcp input 10 bits from Ettot 1 bit from fgvb 3 bits TriggerTowerFlag output: 16 ...
Definition: EcalEBFenixTcpFormat.h:22
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
EcalEBTrigPrimTestAlgo::fgvb_out_
std::vector< int > fgvb_out_
Definition: EcalEBTrigPrimTestAlgo.h:155
EcalEBTrigPrimTestAlgo::getFilter
EcalEBFenixAmplitudeFilter * getFilter() const
Definition: EcalEBTrigPrimTestAlgo.h:150
EcalEBTrigPrimTestAlgo::towerMapEB_
std::vector< std::vector< std::pair< int, std::vector< EBDataFrame > > > > towerMapEB_
Definition: EcalEBTrigPrimTestAlgo.h:118
TauDecayModes.dec
dec
Definition: TauDecayModes.py:142
EcalTriggerElectronicsId::rawId
uint32_t rawId() const
Definition: EcalTriggerElectronicsId.h:28
EcalEBTrigPrimTestAlgo::ecaltpgSpike_
const EcalTPGSpike * ecaltpgSpike_
Definition: EcalEBTrigPrimTestAlgo.h:145
EcalEBTrigPrimTestAlgo::ecaltpgBadX_
const EcalTPGCrystalStatus * ecaltpgBadX_
Definition: EcalEBTrigPrimTestAlgo.h:138
EcalEBTrigPrimTestAlgo::getFormatterEB
EcalEBFenixStripFormatEB * getFormatterEB() const
Definition: EcalEBTrigPrimTestAlgo.h:160
EcalEBTrigPrimTestAlgo::ecaltpgWeightGroup_
const EcalTPGWeightGroup * ecaltpgWeightGroup_
Definition: EcalEBTrigPrimTestAlgo.h:140