|
|
Go to the documentation of this file. 1 #ifndef ECAL_FENIXSTRIP_H
2 #define ECAL_FENIXSTRIP_H
136 std::cout <<
" Warning: 0 size vector found in EcalFenixStripProcess!!!!!" << std::endl;
140 uint32_t stripid = elId.
rawId() & 0xfffffff8;
161 std::cout <<
" Warning: 0 size vector found in EcalFenixStripProcess!!!!!" << std::endl;
165 uint32_t stripid = elId.
rawId() & 0xfffffff8;
194 std::cout <<
"\n\nEcalFenixStrip input is a vector of size: " << nrXtals << std::endl;
197 for (
int cryst = 0; cryst < nrXtals; cryst++) {
200 std::cout <<
"cryst= " << cryst <<
" EBDataFrame/EEDataFrame is: " << std::endl;
201 for (
int i = 0;
i < df[cryst].size();
i++) {
213 << nrXtals << std::endl;
214 for (
int ix = 0; ix < nrXtals; ix++) {
217 for (
unsigned int i = 0;
i <
lin_out_[ix].size();
i++) {
243 for (
unsigned int ix = 0; ix <
add_out_.size(); ix++) {
260 for (
unsigned int ix = 0; ix <
filt_out_.size(); ix++) {
266 for (
unsigned int ix = 0; ix <
fgvb_out_.size(); ix++) {
275 std::cout <<
"output of peakfinder is a vector of size: " <<
peak_out_.size() << std::endl;
276 for (
unsigned int ix = 0; ix <
peak_out_.size(); ix++) {
const EcalTPGPedestals * ecaltpPed_
EcalFenixLinearizer * getLinearizer(int i) const
Ecal trigger electronics identification [32:20] Unused (so far) [19:13] TCC id [12:6] TT id [5:3] pse...
void process(std::vector< std::vector< int >> &lin_out, std::vector< int > &output)
std::vector< int > add_out_
void process(const edm::EventSetup &, std::vector< const T > &, int nrxtals, std::vector< int > &out)
void process(const edm::EventSetup &setup, std::vector< EBDataFrame > &samples, int nrXtals, std::vector< int > &out)
virtual ~EcalFenixStrip()
const EcalTPGStripStatus * ecaltpgStripStatus_
void process_part1(int identif, std::vector< T > &df, int nrXtals, uint32_t stripid, const EcalTPGPedestals *ecaltpPed, const EcalTPGLinearizationConst *ecaltpLin, const EcalTPGWeightIdMap *ecaltpgWeightMap, const EcalTPGWeightGroup *ecaltpgWeightGroup, const EcalTPGCrystalStatus *ecaltpBadX)
EcalFenixAmplitudeFilter * amplitude_filter_
calculates the peak for Fenix strip, barrel input : 18 bits output: boolean
void process_part2_endcap(uint32_t stripid, const EcalTPGSlidingWindow *ecaltpgSlidW, const EcalTPGFineGrainStripEE *ecaltpgFgStripEE, const EcalTPGStripStatus *ecaltpgStripStatus)
void setPointers(const EcalTPGPedestals *ecaltpPed, const EcalTPGLinearizationConst *ecaltpLin, const EcalTPGWeightIdMap *ecaltpgWeightMap, const EcalTPGWeightGroup *ecaltpgWeightGroup, const EcalTPGSlidingWindow *ecaltpgSlidW, const EcalTPGFineGrainStripEE *ecaltpgFgStripEE, const EcalTPGCrystalStatus *ecaltpgBadX, const EcalTPGStripStatus *ecaltpgStripStatus)
bool getMissedStripFlag() const
const EcalTPGWeightIdMap * ecaltpgWeightMap_
EcalFenixStrip(const edm::EventSetup &setup, const EcalElectronicsMapping *theMapping, bool debug, bool famos, int maxNrSamples, int nbMaxXtals)
EcalFenixStripFormatEE * getFormatterEE() const
const EcalTPGWeightGroup * ecaltpgWeightGroup_
void process(const std::vector< std::vector< int >> &linout, int nrXtals, std::vector< int > &output)
std::vector< int > fgvb_out_temp_
const EcalTPGCrystalStatus * ecaltpgBadX_
EcalFenixAmplitudeFilter * getFilter() const
EcalFenixStripFormatEB * fenixFormatterEB_
EcalFenixEtStrip * getAdder() const
void setParameters(int identif, uint32_t id, const EcalTPGFineGrainStripEE *)
EcalFenixEtStrip * adder_
std::vector< int > format_out_
void setParameters(uint32_t raw, const EcalTPGPedestals *ecaltpPed, const EcalTPGLinearizationConst *ecaltpLin, const EcalTPGCrystalStatus *ecaltpBadX)
EcalFenixStripFgvbEE * fgvbEE_
EcalFenixStripFormatEB * getFormatterEB() const
void process_part2_barrel(uint32_t stripid, const EcalTPGSlidingWindow *ecaltpgSlidW, const EcalTPGFineGrainStripEE *ecaltpgFgStripEE)
Linearisation for Fenix strip input: 16 bits corresponding to input EBDataFrame output: 18 bits.
const EcalTPGSlidingWindow * ecaltpgSlidW_
calculation of Fgvb for the endcap in Fenix Strip calculates fgvb for the endcap in Fenix Strip
EcalFenixStripFgvbEE * getFGVB() const
EcalTriggerElectronicsId getTriggerElectronicsId(const DetId &id) const
Get the trigger electronics id for this det id.
class representing the Fenix chip, format strip
std::vector< int > filt_out_
void setbadStripMissing(bool flag)
std::vector< std::vector< int > > lin_out_
EcalFenixPeakFinder * getPeakFinder() const
void setParameters(uint32_t raw, const EcalTPGWeightIdMap *ecaltpgWeightMap, const EcalTPGWeightGroup *ecaltpgWeightGroup)
std::vector< int > peak_out_
std::vector< EcalFenixLinearizer * > linearizer_
calculates .... for Fenix strip, barrel input: 18 bits output: 18 bits
const EcalTPGFineGrainStripEE * ecaltpgFgStripEE_
EcalFenixStripFormatEE * fenixFormatterEE_
const EcalElectronicsMapping * theMapping_
std::vector< int > fgvb_out_
bool getbadStripMissing() const
const EcalTPGLinearizationConst * ecaltpLin_
EcalFenixPeakFinder * peak_finder_
void process(const edm::EventSetup &setup, std::vector< EEDataFrame > &samples, int nrXtals, std::vector< int > &out)