CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/CalibTracker/SiPixelTools/plugins/SiPixelFedFillerWordEventNumber.h

Go to the documentation of this file.
00001 #ifndef SiPixelFedFillerWordEventNumber_H
00002 #define SiPixelFedFillerWordEventNumber_H
00003 
00004 // user include files
00005 #include <stdio.h>
00006 #include <vector>
00007 #include <iostream>
00008 #include "FWCore/Framework/interface/Frameworkfwd.h"
00009 #include "FWCore/Framework/interface/EDProducer.h"
00010 
00011 #include "FWCore/Framework/interface/Event.h"
00012 #include "FWCore/Framework/interface/MakerMacros.h"
00013 
00014 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00015 
00016 #include "DataFormats/FEDRawData/interface/FEDRawData.h"
00017 #include "DataFormats/FEDRawData/interface/FEDRawDataCollection.h"
00018 #include "DataFormats/FEDRawData/interface/FEDNumbering.h"
00019 #include "DataFormats/FEDRawData/interface/FEDTrailer.h"
00020 
00021 //===== class decleration
00022 class SiPixelFedFillerWordEventNumber  : public edm::EDProducer {
00023    public:
00024       explicit SiPixelFedFillerWordEventNumber (const edm::ParameterSet&);
00025       ~SiPixelFedFillerWordEventNumber ();
00026       std::string label;
00027       std::string instance;
00028       bool SaveFillerWordsbool;
00029       
00030    private:
00031       virtual void beginJob() ;
00032       virtual void produce(edm::Event&, const edm::EventSetup&);
00033       virtual void endJob() ;
00034       edm::ParameterSet config_;
00035       int status; 
00036       unsigned int EventNum;
00037       
00038       // ============= member data =========================================
00039       int PwordSlink64(uint64_t *, const int, uint32_t &);
00040       unsigned int CalibStatFillWord(unsigned int, int);
00041       unsigned int CalibStatFill; 
00042       std::vector<uint32_t>                   vecSaveFillerWords;
00043       std::vector<uint32_t>::iterator         vecSaveFillerWords_It;
00044       std::vector<uint32_t>                   vecFillerWordsEventNumber1;
00045       std::vector<uint32_t>::iterator         vecFillerWordsEventNumber1_It;
00046       std::vector<uint32_t>                   vecFillerWordsEventNumber2;
00047       std::vector<uint32_t>::iterator         vecFillerWordsEventNumber2_It;        
00048 };
00049 #endif