49 static const int bVH2 = 27;
50 static const int bVH4 = 28;
51 static const int bVH3 = 29;
52 static const int bVH1 = 30;
79 for(
unsigned int ii=0;
ii<calibLines_.size();
ii++)
81 if(calibLines_[
ii][0]==
"QDC")
83 if(calibLines_[
ii].
size()==4)
85 int channel=atoi(calibLines_[
ii][1].c_str());
86 qdc_ped[channel]=atof(calibLines_[
ii][2].c_str());
87 qdc_gain[channel]=atof(calibLines_[
ii][3].c_str());
93 "Wrong QADC configuration format: expected 3 parameters, got "<<calibLines_[
ii].size()-1;
102 if (raw.
size()<3*8) {
103 throw cms::Exception(
"Missing Data") <<
"No data in the QDC block";
116 for(
int i=0;i<49;i++)Ecal7x7+=qdc_calib_hits[i];
124 qdc_calib_hits[
aScint4],Ecal7x7);
128 double qdc_calib_hits[32];
142 qdc_calib_hits[
bVH1],qdc_calib_hits[
bVH2],
143 qdc_calib_hits[
bVH3],qdc_calib_hits[
bVH4]);
static const int aSCI_521
static const int aMuonVH2
static const int aCerenkov2
static const int bCerenkov1
void unpack(const FEDRawData &raw, HcalTBBeamCounters &beamadc, bool is04_=true) const
size_t size() const
Lenght of the data buffer in bytes.
static const int bSCI_528
static const int bCerenkov3
static const int aMuonVH1
static const int aCerenkov3
static const int bSCI_521
static const int bCerenkov2
static const int aMuonVH3
void setADCs04(double VMadc, double V3adc, double V6adc, double VH1adc, double VH2adc, double VH3adc, double VH4adc, double CK2adc, double CK3adc, double SciVLEadc, double Sci521adc, double Sci528adc, double S1adc, double S2adc, double S3adc, double S4adc, double Ecal7x7)
void setCalib(const std::vector< std::vector< std::string > > &calibLines_)
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
static const int aMuonVH4
static const int aSCI_528
void setADCs06(double VMFadc, double VMBadc, double VM1adc, double VM2adc, double VM3adc, double VM4adc, double VM5adc, double VM6adc, double VM7adc, double VM8adc, double CK1adc, double CK2adc, double CK3adc, double S1adc, double S2adc, double S3adc, double S4adc, double TOF1Sadc, double TOF1Jadc, double TOF2Sadc, double TOF2Jadc, double Sci521adc, double Sci528adc, double BH1adc, double BH2adc, double BH3adc, double BH4adc)
static const int aSCI_VLE
static const int N_QADCS_ALLOWED
tuple size
Write out results.