CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalFiberPattern.h
Go to the documentation of this file.
1 #ifndef IORAWDATA_CALOPATTERNS_HCALFIBERPATTERN_H
2 #define IORAWDATA_CALOPATTERNS_HCALFIBERPATTERN_H 1
3 
6 #include <string>
7 #include <map>
8 #include <vector>
9 
17 public:
18  HcalFiberPattern(const std::map<std::string, std::string>& params, const std::vector<uint32_t>& data);
19  std::vector<HcalQIESample> getSamples(int bunch, int npresamples, int nsamples, int fiberChan);
20  HcalElectronicsId getId(int fiberChan);
21  int crate() const { return crate_; }
22  int slot() const { return slot_; }
23  int fiber() const { return fiber_; }
24 private:
25  HcalQIESample unpack(int bc, int fc);
27  std::vector<uint32_t> pattern_;
28 };
29 
30 #endif
int slot() const
HcalFiberPattern(const std::map< std::string, std::string > &params, const std::vector< uint32_t > &data)
int crate() const
HcalElectronicsId getId(int fiberChan)
int fiber() const
std::vector< uint32_t > pattern_
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
std::vector< HcalQIESample > getSamples(int bunch, int npresamples, int nsamples, int fiberChan)
HcalQIESample unpack(int bc, int fc)
Readout chain identification for Hcal [31:26] Unused (so far) [25] Trigger-chain id flag [24:20] Read...