1 #ifndef SimCalorimetry_EcalEBTrigPrimAlgos_EcalEBPhase2TrigPrimAlgo_h 2 #define SimCalorimetry_EcalEBTrigPrimAlgos_EcalEBPhase2TrigPrimAlgo_h 41 class ETPCoherenceTest;
105 std::vector<std::vector<std::pair<int, std::vector<EBDataFrame_Ph2> > > >
towerMapEB_;
107 std::vector<EcalEBPhase2TriggerPrimitiveSample>
towtp_;
108 std::vector<EcalEBPhase2TriggerPrimitiveSample>
towtp2_;
154 (towMap[
i])[
j].first = 0;
165 for (
unsigned int i = 0;
i <
col->size(); ++
i) {
173 for (
unsigned int ij = 0; ij < towerMap[
index].size(); ++ij)
180 int ncryst = towerMap[
index][stripnr - 1].first;
190 <<
"[EcalEBPhase2TrigPrimAlgo] (found " <<
col->size() <<
" frames in " << towerMap.size()
191 <<
" towers) " << std::endl;
194 LogDebug(
"EcalEBPhase2TrigPrimAlgo") <<
"FillMap - FillMap Collection size=0 !!!!" << std::endl;
206 vec1[
i] = std::pair<
int, std::vector<T> >(0, vec0);
EcalEBPhase2AmplitudeReconstructor * amplitude_reconstructor_
std::vector< int > filt_out_
const EcalEBPhase2TPGTimeWeightIdMap * ecaltpgTimeWeightMap_
const EcalTrigTowerConstituentsMap * eTTmap_
int findStripNr(const EBDetId &id)
int getIndex(const EBDigiCollectionPh2 *, EcalTrigTowerDetId &id)
std::vector< std::pair< int, EcalTrigTowerDetId > > hitTowers_
static const unsigned int nrSamples_
U second(std::pair< T, U > const &p)
EcalEBPhase2TimeReconstructor * getTimeFinder() const
void setPointers(const EcalLiteDTUPedestalsMap *ecaltpPed, const EcalEBPhase2TPGLinearizationConstMap *ecaltpLin, const EcalTPGCrystalStatus *ecaltpgBadX, const EcalEBPhase2TPGAmplWeightIdMap *ecaltpgAmplWeightMap, const EcalEBPhase2TPGTimeWeightIdMap *ecaltpgTimeWeightMap, const EcalTPGWeightGroup *ecaltpgWeightGroup)
std::vector< double > vec1
void run(const EBDigiCollectionPh2 *col, EcalEBPhase2TrigPrimDigiCollection &result)
const EcalTPGWeightGroup * ecaltpgWeightGroup_
std::vector< int > outEt_
static const unsigned int maxNrTowers_
std::vector< EcalEBPhase2TriggerPrimitiveSample > towtp_
EcalEBPhase2TimeReconstructor * time_reconstructor_
std::vector< int64_t > outTime_
EcalEBPhase2Linearizer * linearizer_
virtual ~EcalEBPhase2TrigPrimAlgo()
const EcalTPGCrystalStatus * ecaltpgBadX_
EcalEBPhase2Linearizer * getLinearizer() const
std::vector< std::vector< std::pair< int, std::vector< EBDataFrame_Ph2 > > > > towerMapEB_
EcalEBPhase2SpikeTagger * spike_tagger_
const EcalEBPhase2TPGLinearizationConstMap * ecaltpLin_
std::vector< int64_t > time_out_
const EcalLiteDTUPedestalsMap * ecaltpPed_
EcalEBPhase2TrigPrimAlgo(const EcalTrigTowerConstituentsMap *eTTmap, const CaloGeometry *theGeometry, int binofmax, bool debug)
const EcalElectronicsMapping * theMapping_
const CaloGeometry * theGeometry_
void initStructures(std::vector< std::vector< std::pair< int, std::vector< T > > > > &towMap)
std::vector< int > lin_out_
EcalEBPhase2AmplitudeReconstructor * getAmplitudeFinder() const
void clean(std::vector< std::vector< std::pair< int, std::vector< T > > > > &towerMap)
EcalEBPhase2TPFormatter * tpFormatter_
std::vector< int > amp_out_
EcalEBPhase2SpikeTagger * getSpikeTagger() const
const EcalEBPhase2TPGAmplWeightIdMap * ecaltpgAmplWeightMap_
EcalEBPhase2TPFormatter * getTPFormatter() const
std::vector< std::vector< int > > striptp_
std::vector< EcalEBPhase2TriggerPrimitiveSample > towtp2_
void fillMap(EBDigiCollectionPh2 const *col, std::vector< std::vector< std::pair< int, std::vector< EBDataFrame_Ph2 > > > > &towerMap)