Go to the documentation of this file.
71 static const int nEeX = 100;
75 static const int nEeY = 100;
87 static const int nScX = 20;
91 static const int nScY = 20;
217 int iPhi0 = iPhi - 11;
229 int iTtEta2cIndex(
int iTtEta)
const {
return (iTtEta < 0) ? (iTtEta + 28) : (iTtEta + 27); }
235 int cIndex2iTtEta(
int iTtEta0)
const {
return (iTtEta0 < 28) ? (iTtEta0 - 28) : (iTtEta0 - 27); }
265 void elec2GeomNum(
int ittEta0,
int ittPhi0,
int strip1,
int ch1,
int &iEta0,
int &iPhi0)
const;
326 void fwrite(std::ofstream &
f, uint16_t
data,
int &iword,
bool hpar =
true)
const;
418 std::unique_ptr<EcalSelectiveReadout>
esr_;
int iPhi2cIndex(int iPhi) const
void fwrite(std::ofstream &f, uint16_t data, int &iword, bool hpar=true) const
static const int nTtSmEta
static const int strip2Eta[nTtTypes][ttEdge]
static const int nDccInPhi
static const int nTccInPhi
static const int nTccEndcap
void checkTriggerMap(const edm::EventSetup &eventSetup)
uint16_t *__restrict__ uint16_t const *__restrict__ adc
static const int nTtSmPhi
void elec2GeomNum(int ittEta0, int ittPhi0, int strip1, int ch1, int &iEta0, int &iPhi0) const
std::string eeSrFlagCollection_
static const int nEndcaps
void analyze(const edm::Event &, const edm::EventSetup &) override
std::string digiProducer_
std::string getExt() const
void genTccOut(std::string basename, int iEvent, const int tps[nTtEta][nTtPhi]) const
void checkGeometry(const edm::EventSetup &eventSetup)
std::string tcpDigiCollection_
std::string ebSrFlagCollection_
std::string eeDigiCollection_
void genSrData(std::string basename, int iEvent, int ttf[nEbTtEta][nTtPhi]) const
void setHParity(uint16_t &a) const
int iTtEta2cIndex(int iTtEta) const
void genTccIn(std::string basename, int iEvent, const int tps[nTtEta][nTtPhi]) const
void getSrfs(const edm::Event &event, int ebSrf[nTtEta][nTtPhi], int eeSrf[nEndcaps][nScX][nScY]) const
~EcalSimRawData() override
EcalSimRawData(const edm::ParameterSet &pset)
static const int nTtPhisPerEbTcc
static const int ebDccPhiEdge
std::unique_ptr< EcalSelectiveReadout > esr_
int iTtPhi2cIndex(int iTtPhi) const
const EcalTrigTowerConstituentsMap * theTriggerTowerMap
void getEbDigi(const edm::Event &event, std::vector< uint16_t > adc[nEbEta][nEbPhi]) const
std::string srDigiProducer_
std::string ebDigiCollection_
int cIndex2TtPhi(int iTtPhi0) const
void genFeData(std::string basename, int iEvent, const std::vector< uint16_t > adcCount[nEbEta][nEbPhi]) const
static const int nTtPhisPerEbDcc
static const int ebTccPhiEdge
char data[epos_bytes_allocation]
int iEta2cIndex(int iEta) const
static const int nEbTtEta
static const int nDccEndcap
static const int stripCh2Phi[nTtTypes][ttEdge][ttEdge]
const CaloGeometry * theGeometry
static const int ttType[nEbTtEta]
int cIndex2iTtEta(int iTtEta0) const
void getTp(const edm::Event &event, const std::string &collName, int tp[nTtEta][nTtPhi]) const
static const int nEeTtEta
static const int nTtTypes
std::string tpDigiCollection_