52 bool decode(
const uint32_t*
data,
int iWord32, std::ostream&
out);
53 double max(
const std::vector<double>&
a,
unsigned&
pos){
56 for(
unsigned i = 1;
i < a.size(); ++
i){
57 if(a[
i]>m){ m = a[
i]; pos =
i;}
61 double min(
const std::vector<double>&
a){
63 for(
unsigned i = 1;
i < a.size(); ++
i){
157 std::vector<std::vector<uint32_t> >
l1as_;
159 std::vector<std::vector<int> >
tpg_;
191 #endif //ECALDUMPRAW_H not defined
static int sideOfRu(int ru1)
std::string tpgTag(int tccType, unsigned iSeq) const
edm::EDGetTokenT< FEDRawDataCollection > fedRawDataCollectionToken_
static const unsigned fedStart_
static const int nTccTypes_
std::string ttfTag(int tccType, unsigned iSeq) const
double min(const std::vector< double > &a)
std::vector< double > adc_
void analyze(const edm::Event &, const edm::EventSetup &) override
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_]
edm::InputTag fedRawDataCollectionTag_
enum EcalDumpRaw::@392 decodeState_
void analyzeEB(const edm::Event &, const edm::EventSetup &) const
std::vector< int > nTpgs_
EcalDumpRaw(const edm::ParameterSet &)
static const int nSamples
std::string toString(T val)
void analyzeEE(const edm::Event &, const edm::EventSetup &) const
void analyzeFed(int fedId)
std::vector< std::vector< int > > tpg_
std::string srRange(int offset) const
edm::EDGetTokenT< L1AcceptBunchCrossingCollection > l1AcceptBunchCrossingCollectionToken_
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]
edm::InputTag l1AcceptBunchCrossingCollectionTag_
static const unsigned nDccs_
static const int maxTccsPerDcc_
double max(const std::vector< double > &a, unsigned &pos)