Go to the documentation of this file.
59 theEndcapGeometry_(endcapGeometry),
60 theMapping_(theMapping),
61 binOfMaximum_(binofmax),
62 tcpFormat_(tcpFormat),
66 tpInfoPrintout_(tpInfoPrintout)
78 : theMapping_(theMapping),
79 binOfMaximum_(binofmax),
80 tcpFormat_(tcpFormat),
84 tpInfoPrintout_(tpInfoPrintout)
98 etcp_ = std::make_unique<EcalFenixTcp>(
130 int n = ((
id.ic() - 1) % 100) / 20;
static const unsigned int maxNrTPs_
void initStructures(std::vector< std::vector< std::pair< int, std::vector< T >>>> &towMap)
static const unsigned int maxNrTowers_
Ecal trigger electronics identification [32:20] Unused (so far) [19:13] TCC id [12:6] TT id [5:3] pse...
EcalTrigPrimFunctionalAlgo(const EcalTrigTowerConstituentsMap *eTTmap, const CaloSubdetectorGeometry *endcapGeometry, const EcalElectronicsMapping *theMapping, int binofmax, bool tcpFormat, bool debug, bool famos, bool TPinfoPrintout)
void run_part1_EB(EBDigiCollection const *col)
std::vector< std::vector< std::pair< int, std::vector< EEDataFrame > > > > towerMapEE_
void run_part2(Coll const *col, std::vector< std::vector< std::pair< int, std::vector< typename Coll::Digi >>>> &towerMap, EcalTrigPrimDigiCollection &result, EcalTrigPrimDigiCollection &resultTcp)
void clean(std::vector< std::vector< std::pair< int, std::vector< T >>>> &towerMap)
std::vector< std::pair< int, EcalTrigTowerDetId > > hitTowers_
std::unique_ptr< EcalFenixTcp > etcp_
std::vector< EcalTriggerPrimitiveSample > towtp2_
static const unsigned int nrSamples_
virtual ~EcalTrigPrimFunctionalAlgo()
std::unique_ptr< EcalFenixStrip > estrip_
void run(const EBDigiCollection *col, EcalTrigPrimDigiCollection &result, EcalTrigPrimDigiCollection &resultTcp)
int pseudoStripId() const
get the tower id
EcalTriggerElectronicsId getTriggerElectronicsId(const DetId &id) const
Get the trigger electronics id for this det id.
int findStripNr(const EBDetId &id)
std::vector< std::vector< std::pair< int, std::vector< EBDataFrame > > > > towerMapEB_
void fillMap(Coll const *col, std::vector< std::vector< std::pair< int, std::vector< typename Coll::Digi >>>> &towerMap)
std::vector< EcalTriggerPrimitiveSample > towtp_
void run_part1_EE(EEDigiCollection const *col)
const EcalElectronicsMapping * theMapping_
static const unsigned int maxNrSamplesOut_