50 bool decode(
const uint32_t*
data,
int iWord32, std::ostream&
out);
51 double max(std::vector<double>
a,
unsigned&
pos){
54 for(
unsigned i = 1;
i < a.size(); ++
i){
55 if(a[
i]>m){ m = a[
i]; pos =
i;}
59 double min(std::vector<double>
a){
61 for(
unsigned i = 1;
i < a.size(); ++
i){
83 std::string
ttfTag(
int tccType,
unsigned iSeq)
const;
85 std::string
tpgTag(
int tccType,
unsigned iSeq)
const;
157 std::vector<std::vector<uint32_t> >
l1as_;
159 std::vector<std::vector<int> >
tpg_;
187 #endif //ECALDUMPRAW_H not defined
virtual void analyze(const edm::Event &, const edm::EventSetup &)
static int sideOfRu(int ru1)
std::string tpgTag(int tccType, unsigned iSeq) const
static const unsigned fedStart_
static const int nTccTypes_
std::string ttfTag(int tccType, unsigned iSeq) const
double max(std::vector< double > a, unsigned &pos)
std::vector< double > adc_
static int modOfRu(int ru1)
std::vector< uint32_t > lastOrbit_
bool decode(const uint32_t *data, int iWord32, std::ostream &out)
std::vector< unsigned > eventList_
static int lmodOfRu(int ru1)
std::vector< int > feL1a_
std::vector< std::vector< uint32_t > > orbits_
static const int eeOuterTcc_
static const int ttId_[nTccTypes_][maxTpgsPerTcc_]
void analyzeEB(const edm::Event &, const edm::EventSetup &) const
std::vector< int > nTpgs_
EcalDumpRaw(const edm::ParameterSet &)
enum EcalDumpRaw::@200 decodeState_
static const int nSamples
unsigned int offset(bool)
std::string toString(T val)
void analyzeEE(const edm::Event &, const edm::EventSetup &) const
void analyzeFed(int fedId)
std::vector< std::vector< int > > tpg_
double min(std::vector< double > a)
std::string srRange(int offset) const
int tccType_
type of TCC currently parsed
std::vector< int > dccChStatus_
static const int eeInnerTcc_
std::vector< int > feRuId_
std::vector< std::vector< uint32_t > > l1as_
static const int maxTpgsPerTcc_
char data[epos_bytes_allocation]
static const unsigned nDccs_
static const int maxTccsPerDcc_