1 #ifndef EcalTestBeamAlgos_EcalTBReadout_h
2 #define EcalTestBeamAlgos_EcalTBReadout_h
std::vector< EcalTrigTowerDetId > theTTlist_
static const int NCRYMATRIX
static std::string const input
EcalTBReadout(const std::string theEcalTBInfoLabel)
void readOut(const EBDigiCollection &input, EBDigiCollection &output, const EcalTrigTowerConstituentsMap &etmap)
read only the digis from the selected TT
void performReadout(edm::Event &event, const EcalTrigTowerConstituentsMap &theTTmap, const EBDigiCollection &input, EBDigiCollection &output)
master function to be called once per event
void setDetIds(const std::vector< DetId > &detIds)
tell the readout which cells exist
const std::vector< DetId > * theDetIds
void findTTlist(const int &crysId, const EcalTrigTowerConstituentsMap &etmap)
search for the TT to be read
std::string ecalTBInfoLabel_