class representing the Fenix chip, format strip More...
#include <EcalFenixStrip.h>
Public Member Functions | |
EcalFenixStrip (const edm::EventSetup &setup, const EcalElectronicsMapping *theMapping, bool debug, bool famos, int maxNrSamples, int nbMaxXtals) | |
EcalFenixEtStrip * | getAdder () const |
bool | getbadStripMissing () const |
EcalFenixStripFgvbEE * | getFGVB () const |
EcalFenixAmplitudeFilter * | getFilter () const |
EcalFenixStripFormatEB * | getFormatterEB () const |
EcalFenixStripFormatEE * | getFormatterEE () const |
EcalFenixLinearizer * | getLinearizer (int i) const |
EcalFenixPeakFinder * | getPeakFinder () const |
template<class T > | |
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) |
void | process (const edm::EventSetup &setup, std::vector< EEDataFrame > &samples, int nrXtals, std::vector< int > &out) |
template<class T > | |
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) |
void | process_part2_barrel (uint32_t stripid, const EcalTPGSlidingWindow *ecaltpgSlidW, const EcalTPGFineGrainStripEE *ecaltpgFgStripEE) |
void | process_part2_endcap (uint32_t stripid, const EcalTPGSlidingWindow *ecaltpgSlidW, const EcalTPGFineGrainStripEE *ecaltpgFgStripEE, const EcalTPGStripStatus *ecaltpgStripStatus) |
void | setbadStripMissing (bool flag) |
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) |
virtual | ~EcalFenixStrip () |
Private Attributes | |
std::vector< int > | add_out_ |
EcalFenixEtStrip * | adder_ |
EcalFenixAmplitudeFilter * | amplitude_filter_ |
bool | debug_ |
const EcalTPGCrystalStatus * | ecaltpgBadX_ |
const EcalTPGFineGrainStripEE * | ecaltpgFgStripEE_ |
const EcalTPGSlidingWindow * | ecaltpgSlidW_ |
const EcalTPGStripStatus * | ecaltpgStripStatus_ |
const EcalTPGWeightGroup * | ecaltpgWeightGroup_ |
const EcalTPGWeightIdMap * | ecaltpgWeightMap_ |
const EcalTPGLinearizationConst * | ecaltpLin_ |
const EcalTPGPedestals * | ecaltpPed_ |
bool | famos_ |
EcalFenixStripFormatEB * | fenixFormatterEB_ |
EcalFenixStripFormatEE * | fenixFormatterEE_ |
std::vector< int > | fgvb_out_ |
std::vector< int > | fgvb_out_temp_ |
EcalFenixStripFgvbEE * | fgvbEE_ |
std::vector< int > | filt_out_ |
std::vector< int > | format_out_ |
bool | identif_ |
std::vector< std::vector< int > > | lin_out_ |
std::vector < EcalFenixLinearizer * > | linearizer_ |
int | nbMaxXtals_ |
EcalFenixPeakFinder * | peak_finder_ |
std::vector< int > | peak_out_ |
const EcalElectronicsMapping * | theMapping_ |
class representing the Fenix chip, format strip
Definition at line 32 of file EcalFenixStrip.h.
EcalFenixStrip::EcalFenixStrip | ( | const edm::EventSetup & | setup, |
const EcalElectronicsMapping * | theMapping, | ||
bool | debug, | ||
bool | famos, | ||
int | maxNrSamples, | ||
int | nbMaxXtals | ||
) |
Definition at line 11 of file EcalFenixStrip.cc.
References add_out_, adder_, amplitude_filter_, famos_, fenixFormatterEB_, fenixFormatterEE_, fgvb_out_, fgvb_out_temp_, fgvbEE_, filt_out_, format_out_, i, lin_out_, linearizer_, nbMaxXtals_, peak_finder_, peak_out_, and findQualityFiles::v.
|
virtual |
Definition at line 36 of file EcalFenixStrip.cc.
References adder_, amplitude_filter_, fenixFormatterEB_, fenixFormatterEE_, fgvbEE_, i, linearizer_, nbMaxXtals_, and peak_finder_.
|
inline |
|
inline |
|
inline |
Definition at line 123 of file EcalFenixStrip.h.
References fgvbEE_.
Referenced by process(), process_part1(), and EcalTrigPrimFunctionalAlgo::run_part2().
|
inline |
Definition at line 117 of file EcalFenixStrip.h.
References amplitude_filter_.
Referenced by process_part1().
|
inline |
Definition at line 120 of file EcalFenixStrip.h.
References fenixFormatterEB_.
Referenced by process_part2_barrel().
|
inline |
Definition at line 121 of file EcalFenixStrip.h.
References fenixFormatterEE_.
Referenced by process_part2_endcap().
|
inline |
Definition at line 115 of file EcalFenixStrip.h.
References i, and linearizer_.
Referenced by process_part1().
|
inline |
Definition at line 118 of file EcalFenixStrip.h.
References peak_finder_.
Referenced by process_part1().
void EcalFenixStrip::process | ( | const edm::EventSetup & | , |
std::vector< const T > & | , | ||
int | nrxtals, | ||
std::vector< int > & | out | ||
) |
Referenced by ConfigBuilder.ConfigBuilder::__init__(), ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::anyOf(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare(), ConfigBuilder.ConfigBuilder::prepare_ALCA(), ConfigBuilder.ConfigBuilder::prepare_DQM(), ConfigBuilder.ConfigBuilder::prepare_FASTSIM(), ConfigBuilder.ConfigBuilder::prepare_HARVESTING(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), EcalTrigPrimFunctionalAlgo::run_part2(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
|
inline |
Definition at line 129 of file EcalFenixStrip.h.
References gather_cfg::cout, ecaltpgBadX_, ecaltpgFgStripEE_, ecaltpgSlidW_, ecaltpgWeightGroup_, ecaltpgWeightMap_, ecaltpLin_, ecaltpPed_, format_out_, getFGVB(), EcalFenixStripFgvbEE::getMissedStripFlag(), EcalElectronicsMapping::getTriggerElectronicsId(), identif_, process_part1(), process_part2_barrel(), EcalTriggerElectronicsId::rawId(), and theMapping_.
Referenced by ConfigBuilder.ConfigBuilder::__init__(), ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::anyOf(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare(), ConfigBuilder.ConfigBuilder::prepare_ALCA(), ConfigBuilder.ConfigBuilder::prepare_DQM(), ConfigBuilder.ConfigBuilder::prepare_FASTSIM(), ConfigBuilder.ConfigBuilder::prepare_HARVESTING(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
|
inline |
Definition at line 147 of file EcalFenixStrip.h.
References gather_cfg::cout, ecaltpgBadX_, ecaltpgFgStripEE_, ecaltpgSlidW_, ecaltpgStripStatus_, ecaltpgWeightGroup_, ecaltpgWeightMap_, ecaltpLin_, ecaltpPed_, format_out_, getFGVB(), EcalFenixStripFgvbEE::getMissedStripFlag(), EcalElectronicsMapping::getTriggerElectronicsId(), identif_, process_part1(), process_part2_endcap(), EcalTriggerElectronicsId::rawId(), and theMapping_.
Referenced by ConfigBuilder.ConfigBuilder::__init__(), ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::anyOf(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare(), ConfigBuilder.ConfigBuilder::prepare_ALCA(), ConfigBuilder.ConfigBuilder::prepare_DQM(), ConfigBuilder.ConfigBuilder::prepare_FASTSIM(), ConfigBuilder.ConfigBuilder::prepare_HARVESTING(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
|
inline |
Definition at line 166 of file EcalFenixStrip.h.
References add_out_, gather_cfg::cout, debug_, TauDecayModes::dec, ecaltpgFgStripEE_, famos_, fgvb_out_, fgvb_out_temp_, filt_out_, getAdder(), getFGVB(), getFilter(), getLinearizer(), getPeakFinder(), i, lin_out_, peak_out_, EcalFenixPeakFinder::process(), EcalFenixEtStrip::process(), EcalFenixAmplitudeFilter::process(), EcalFenixStripFgvbEE::process(), EcalFenixLinearizer::process(), EcalFenixStripFgvbEE::setParameters(), EcalFenixAmplitudeFilter::setParameters(), and EcalFenixLinearizer::setParameters().
Referenced by process().
void EcalFenixStrip::process_part2_barrel | ( | uint32_t | stripid, |
const EcalTPGSlidingWindow * | ecaltpgSlidW, | ||
const EcalTPGFineGrainStripEE * | ecaltpgFgStripEE | ||
) |
Definition at line 47 of file EcalFenixStrip.cc.
References gather_cfg::cout, debug_, fgvb_out_, filt_out_, format_out_, getFormatterEB(), i, peak_out_, EcalFenixStripFormatEB::process(), and EcalFenixStripFormatEB::setParameters().
Referenced by process().
void EcalFenixStrip::process_part2_endcap | ( | uint32_t | stripid, |
const EcalTPGSlidingWindow * | ecaltpgSlidW, | ||
const EcalTPGFineGrainStripEE * | ecaltpgFgStripEE, | ||
const EcalTPGStripStatus * | ecaltpgStripStatus | ||
) |
Definition at line 70 of file EcalFenixStrip.cc.
References gather_cfg::cout, debug_, TauDecayModes::dec, fgvb_out_, filt_out_, format_out_, getFormatterEE(), i, peak_out_, EcalFenixStripFormatEE::process(), and EcalFenixStripFormatEE::setParameters().
Referenced by process().
|
inline |
|
inline |
Definition at line 83 of file EcalFenixStrip.h.
References ecaltpgBadX_, ecaltpgFgStripEE_, ecaltpgSlidW_, ecaltpgStripStatus_, ecaltpgWeightGroup_, ecaltpgWeightMap_, ecaltpLin_, and ecaltpPed_.
Referenced by EcalTrigPrimFunctionalAlgo::setPointers().
|
private |
Definition at line 63 of file EcalFenixStrip.h.
Referenced by EcalFenixStrip(), and process_part1().
|
private |
Definition at line 57 of file EcalFenixStrip.h.
Referenced by EcalFenixStrip(), getAdder(), and ~EcalFenixStrip().
|
private |
Definition at line 48 of file EcalFenixStrip.h.
Referenced by EcalFenixStrip(), getFilter(), and ~EcalFenixStrip().
|
private |
Definition at line 42 of file EcalFenixStrip.h.
Referenced by process_part1(), process_part2_barrel(), and process_part2_endcap().
|
private |
Definition at line 76 of file EcalFenixStrip.h.
Referenced by process(), and setPointers().
|
private |
Definition at line 75 of file EcalFenixStrip.h.
Referenced by process(), process_part1(), and setPointers().
|
private |
Definition at line 74 of file EcalFenixStrip.h.
Referenced by process(), and setPointers().
|
private |
Definition at line 77 of file EcalFenixStrip.h.
Referenced by process(), and setPointers().
|
private |
Definition at line 73 of file EcalFenixStrip.h.
Referenced by process(), and setPointers().
|
private |
Definition at line 72 of file EcalFenixStrip.h.
Referenced by process(), and setPointers().
|
private |
Definition at line 71 of file EcalFenixStrip.h.
Referenced by process(), and setPointers().
|
private |
Definition at line 70 of file EcalFenixStrip.h.
Referenced by process(), and setPointers().
|
private |
Definition at line 43 of file EcalFenixStrip.h.
Referenced by EcalFenixStrip(), and process_part1().
|
private |
Definition at line 52 of file EcalFenixStrip.h.
Referenced by EcalFenixStrip(), getFormatterEB(), and ~EcalFenixStrip().
|
private |
Definition at line 54 of file EcalFenixStrip.h.
Referenced by EcalFenixStrip(), getFormatterEE(), and ~EcalFenixStrip().
|
private |
Definition at line 67 of file EcalFenixStrip.h.
Referenced by EcalFenixStrip(), process_part1(), process_part2_barrel(), and process_part2_endcap().
|
private |
Definition at line 68 of file EcalFenixStrip.h.
Referenced by EcalFenixStrip(), and process_part1().
|
private |
Definition at line 59 of file EcalFenixStrip.h.
Referenced by EcalFenixStrip(), getFGVB(), and ~EcalFenixStrip().
|
private |
Definition at line 64 of file EcalFenixStrip.h.
Referenced by EcalFenixStrip(), process_part1(), process_part2_barrel(), and process_part2_endcap().
|
private |
Definition at line 66 of file EcalFenixStrip.h.
Referenced by EcalFenixStrip(), process(), process_part2_barrel(), and process_part2_endcap().
|
private |
Definition at line 79 of file EcalFenixStrip.h.
Referenced by getbadStripMissing(), process(), and setbadStripMissing().
|
private |
Definition at line 62 of file EcalFenixStrip.h.
Referenced by EcalFenixStrip(), and process_part1().
|
private |
Definition at line 46 of file EcalFenixStrip.h.
Referenced by EcalFenixStrip(), getLinearizer(), and ~EcalFenixStrip().
|
private |
Definition at line 44 of file EcalFenixStrip.h.
Referenced by EcalFenixStrip(), and ~EcalFenixStrip().
|
private |
Definition at line 50 of file EcalFenixStrip.h.
Referenced by EcalFenixStrip(), getPeakFinder(), and ~EcalFenixStrip().
|
private |
Definition at line 65 of file EcalFenixStrip.h.
Referenced by EcalFenixStrip(), process_part1(), process_part2_barrel(), and process_part2_endcap().
|
private |
Definition at line 40 of file EcalFenixStrip.h.
Referenced by process().