#include <EcalTBReadout.h>
Public Member Functions | |
EcalTBReadout (const std::string theEcalTBInfoLabel) | |
void | findTTlist (const int &crysId, const EcalTrigTowerConstituentsMap &etmap) |
search for the TT to be read More... | |
void | performReadout (edm::Event &event, const EcalTrigTowerConstituentsMap &theTTmap, const EBDigiCollection &input, EBDigiCollection &output) |
master function to be called once per event More... | |
void | performReadout (edm::Event &event, const EcalTrigTowerConstituentsMap &theTTmap, const EEDigiCollection &input, EEDigiCollection &output) |
master function to be called once per event More... | |
void | readOut (const EBDigiCollection &input, EBDigiCollection &output, const EcalTrigTowerConstituentsMap &etmap) |
read only the digis from the selected TT More... | |
void | readOut (const EEDigiCollection &input, EEDigiCollection &output, const EcalTrigTowerConstituentsMap &etmap) |
read only the digis from the selected TT More... | |
void | setDetIds (const std::vector< DetId > &detIds) |
tell the readout which cells exist More... | |
~EcalTBReadout () | |
Private Attributes | |
std::string | ecalTBInfoLabel_ |
const std::vector< DetId > * | theDetIds |
int | theTargetCrystal_ |
std::vector< EcalTrigTowerDetId > | theTTlist_ |
Static Private Attributes | |
static const int | NCRYMATRIX = 7 |
Definition at line 19 of file EcalTBReadout.h.
EcalTBReadout::EcalTBReadout | ( | const std::string | theEcalTBInfoLabel | ) |
Definition at line 9 of file EcalTBReadout.cc.
|
inline |
Definition at line 24 of file EcalTBReadout.h.
void EcalTBReadout::findTTlist | ( | const int & | crysId, |
const EcalTrigTowerConstituentsMap & | etmap | ||
) |
search for the TT to be read
step 1: find the correspondence between the crystal identified in module and its DetId assuming only 1 SM present
step 2: find the crystals in the matrix and fill the TT list
loop on all the valid DetId and search for the good ones
Definition at line 17 of file EcalTBReadout.cc.
void EcalTBReadout::performReadout | ( | edm::Event & | event, |
const EcalTrigTowerConstituentsMap & | theTTmap, | ||
const EBDigiCollection & | input, | ||
EBDigiCollection & | output | ||
) |
master function to be called once per event
Definition at line 172 of file EcalTBReadout.cc.
void EcalTBReadout::performReadout | ( | edm::Event & | event, |
const EcalTrigTowerConstituentsMap & | theTTmap, | ||
const EEDigiCollection & | input, | ||
EEDigiCollection & | output | ||
) |
master function to be called once per event
Definition at line 195 of file EcalTBReadout.cc.
void EcalTBReadout::readOut | ( | const EBDigiCollection & | input, |
EBDigiCollection & | output, | ||
const EcalTrigTowerConstituentsMap & | etmap | ||
) |
read only the digis from the selected TT
Definition at line 109 of file EcalTBReadout.cc.
void EcalTBReadout::readOut | ( | const EEDigiCollection & | input, |
EEDigiCollection & | output, | ||
const EcalTrigTowerConstituentsMap & | etmap | ||
) |
read only the digis from the selected TT
Definition at line 146 of file EcalTBReadout.cc.
|
inline |
tell the readout which cells exist
Definition at line 27 of file EcalTBReadout.h.
References theDetIds.
|
private |
Definition at line 65 of file EcalTBReadout.h.
|
staticprivate |
Definition at line 61 of file EcalTBReadout.h.
|
private |
Definition at line 63 of file EcalTBReadout.h.
Referenced by setDetIds().
|
private |
Definition at line 57 of file EcalTBReadout.h.
|
private |
Definition at line 59 of file EcalTBReadout.h.