CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Protected Attributes
ESDataFormatterV1_1 Class Reference

#include <ESDataFormatterV1_1.h>

Inheritance diagram for ESDataFormatterV1_1:
ESDataFormatter

Public Types

typedef ESDataFormatter::DetDigis DetDigis
 
typedef ESDataFormatter::Digis Digis
 
typedef ESDataFormatter::Word16 Word16
 
typedef ESDataFormatter::Word32 Word32
 
typedef ESDataFormatter::Word64 Word64
 
typedef ESDataFormatter::Word8 Word8
 
- Public Types inherited from ESDataFormatter
typedef std::vector< ESDataFrameDetDigis
 
typedef std::map< int, DetDigisDigis
 
typedef uint16_t Word16
 
typedef uint32_t Word32
 
typedef uint64_t Word64
 
typedef uint8_t Word8
 

Public Member Functions

void DigiToRaw (int fedId, Digis &digis, FEDRawData &fedRawData)
 
 ESDataFormatterV1_1 (const edm::ParameterSet &ps)
 
 ~ESDataFormatterV1_1 ()
 
- Public Member Functions inherited from ESDataFormatter
 ESDataFormatter (const edm::ParameterSet &ps)
 
virtual void setBX (int i)
 
virtual void setKchipBC (int i)
 
virtual void setKchipEC (int i)
 
virtual void setLV1 (int i)
 
virtual void setOrbitNumber (int i)
 
virtual void setRunNumber (int i)
 
virtual void setTriggerType (int i)
 
virtual ~ESDataFormatter ()
 

Static Protected Attributes

static const int bADC0 = 16
 
static const int bADC1 = 16
 
static const int bADC2 = 16
 
static const int bDCH = 4
 
static const int bDCOMFLAG = 8
 
static const int bDEL = 24
 
static const int bDERR = 8
 
static const int bDH = 6
 
static const int bDHEAD = 2
 
static const int bDOPTO = 8
 
static const int bDORBIT = 32
 
static const int bDRUN = 24
 
static const int bDRUNTYPE = 32
 
static const int bDTRGTYPE = 16
 
static const int bDVMAJOR = 8
 
static const int bDVMINOR = 8
 
static const int bE0 = 1
 
static const int bE1 = 1
 
static const int bFIBER = 6
 
static const int bHEAD = 2
 
static const int bKBC = 12
 
static const int bKCE = 1
 
static const int bKCRC = 1
 
static const int bKEC = 8
 
static const int bKET = 1
 
static const int bKFLAG1 = 4
 
static const int bKFLAG2 = 8
 
static const int bKHEAD1 = 2
 
static const int bKHEAD2 = 2
 
static const int bKID = 11
 
static const int bPACE = 2
 
static const int bSTRIP = 5
 
static const int sADC0 = 0
 
static const int sADC1 = bADC0 + sADC0
 
static const int sADC2 = 0
 
static const int sDCH = 0
 
static const int sDCOMFLAG = bDTRGTYPE + sDTRGTYPE
 
static const int sDEL = 0
 
static const int sDERR = bDEL + sDEL
 
static const int sDH = 24
 
static const int sDHEAD = 26
 
static const int sDOPTO = 16
 
static const int sDORBIT = 0
 
static const int sDRUN = 0
 
static const int sDRUNTYPE = 0
 
static const int sDTRGTYPE = 0
 
static const int sDVMAJOR = bDVMINOR + sDVMINOR
 
static const int sDVMINOR = 8
 
static const int sE0 = bSTRIP + sSTRIP + 1
 
static const int sE1 = bE0 + sE0
 
static const int sFIBER = bKID + sKID + 1
 
static const int sHEAD = bE1 + sE1 + 4
 
static const int sKBC = bKFLAG2 + sKFLAG2
 
static const int sKCE = bKCRC + sKCRC
 
static const int sKCRC = bKET + sKET
 
static const int sKEC = 0
 
static const int sKET = 0
 
static const int sKFLAG1 = bKBC + sKBC
 
static const int sKFLAG2 = bKEC + sKEC
 
static const int sKHEAD1 = bFIBER + sFIBER + 2
 
static const int sKHEAD2 = bKHEAD1 + sKHEAD1
 
static const int sKID = bKCE + sKCE + 5
 
static const int sPACE = bADC2 + sADC2
 
static const int sSTRIP = bPACE + sPACE
 

Additional Inherited Members

- Protected Member Functions inherited from ESDataFormatter
std::string print (const Word64 &word) const
 
std::string print (const Word16 &word) const
 
- Protected Attributes inherited from ESDataFormatter
int bx_
 
bool debug_
 
int formatMajor_
 
int formatMinor_
 
int kchip_bc_
 
int kchip_ec_
 
int lv1_
 
int orbit_number_
 
bool printInHex_
 
const edm::ParameterSet pset_
 
int run_number_
 
int trgtype_
 

Detailed Description

Definition at line 20 of file ESDataFormatterV1_1.h.

Member Typedef Documentation

Definition at line 24 of file ESDataFormatterV1_1.h.

Definition at line 25 of file ESDataFormatterV1_1.h.

Definition at line 28 of file ESDataFormatterV1_1.h.

Definition at line 29 of file ESDataFormatterV1_1.h.

Definition at line 30 of file ESDataFormatterV1_1.h.

Definition at line 27 of file ESDataFormatterV1_1.h.

Constructor & Destructor Documentation

ESDataFormatterV1_1::ESDataFormatterV1_1 ( const edm::ParameterSet ps)

Definition at line 84 of file ESDataFormatterV1_1.cc.

85  : ESDataFormatter(ps) {
86 }
ESDataFormatter(const edm::ParameterSet &ps)
ESDataFormatterV1_1::~ESDataFormatterV1_1 ( )

Definition at line 88 of file ESDataFormatterV1_1.cc.

88  {
89 }

Member Function Documentation

void ESDataFormatterV1_1::DigiToRaw ( int  fedId,
Digis digis,
FEDRawData fedRawData 
)
virtual

Implements ESDataFormatter.

Definition at line 128 of file ESDataFormatterV1_1.cc.

References ESSample::adc(), ESDataFormatter::bx_, evf::compute_crc(), gather_cfg::cout, FEDRawData::data(), data, ESDataFormatter::debug_, stage2MP7BufferRaw_cfi::fedId, i, ESDataFrame::id(), ESDataFormatter::lv1_, ESDataFormatter::orbit_number_, ESDetId::plane(), ESDataFormatter::print(), FEDRawData::resize(), ESDataFormatter::run_number_, sADC0, sADC1, sADC2, ESDataFrame::sample(), sDEL, sDH, sDHEAD, sDORBIT, sDRUN, sDVMAJOR, sDVMINOR, sE0, sE1, FEDTrailer::set(), FEDHeader::set(), sFIBER, sHEAD, ESDetId::six(), ESDetId::siy(), ESDataFrame::size(), sKBC, sKCE, sKCRC, sKEC, sKET, sKFLAG1, sKFLAG2, sKHEAD1, sKHEAD2, sKID, sPACE, sSTRIP, ESDetId::strip(), ESDataFormatter::trgtype_, w, and ESDetId::zside().

128  {
129 
130  map<int, vector<Word64> > map_data;
131  map_data.clear();
132 
133  int ts[3] = {0, 0, 0};
134  Word32 word1, word2;
135  Word64 word;
136  vector<Word64> words;
137 
138 
139  const DetDigis& detDigis = digis[fedId];
140 
141 // if (detDigis==digis.end()) {
142 // cout << "ESDataFormatterV1_1::DigiToRaw : could not find digi vector in digis map for fedID: "
143 // << fedId << endl ;
144 // return 0;
145 // }
146 
147  for (DetDigis::const_iterator it = detDigis.begin(); it != detDigis.end(); ++it) {
148 
149  const ESDataFrame& dataframe = (*it);
150  const ESDetId& detId = dataframe.id();
151 
152  for (int is=0; is<dataframe.size(); ++is) ts[is] = dataframe.sample(is).adc();
153 
154  // calculate fake kchip and pace id
155  int kchip = -1;
156  int pace = -1;
157  int ix = -1;
158  int iy = -1;
159 
160  ix = detId.six() % 2;
161  iy = detId.siy() % 2;
162  if (ix == 1 && iy == 1)
163  pace = 0;
164  else if (ix == 0 && iy == 1)
165  pace = 1;
166  else if (ix == 1 && iy == 0)
167  pace = 2;
168  else if (ix == 0 && iy == 0)
169  pace = 3;
170 
171  ix = (1 + detId.six()) / 2;
172  iy = (1 + detId.siy()) / 2;
173  if (detId.zside() == 1 && detId.plane() == 1)
174  kchip = ix + (iy-1)*20 - 1;
175  else if (detId.zside() == 1 && detId.plane() == 2)
176  kchip = ix + (iy-1)*20 + 399;
177  else if (detId.zside() == -1 && detId.plane() == 1)
178  kchip = ix + (iy-1)*20 + 799;
179  else if (detId.zside() == -1 && detId.plane() == 2)
180  kchip = ix + (iy-1)*20 + 1199;
181 
182  if (debug_) cout<<"Si : "<<detId.zside()<<" "<<detId.plane()<<" "<<detId.six()<<" "<<detId.siy()<<" "<<detId.strip()<<" ("<<kchip<<","<<pace<<") "<<ts[2]<<" "<<ts[1]<<" "<<ts[0]<<endl;
183 
184  word1 = (ts[1] << sADC1) | (ts[0] << sADC0);
185  word2 = (2 << sHEAD) | (0 << sE1) | (0 << sE0) | ((detId.strip()-1) << sSTRIP) | (pace << sPACE) | (ts[2] << sADC2);
186  word = (Word64(word2) << 32 ) | Word64(word1);
187 
188  map_data[kchip].push_back(word);
189  }
190 
191 
192  map<int, vector<Word64> >::const_iterator kit;
193  for (kit=map_data.begin(); kit!=map_data.end(); ++kit) {
194 
195  if (debug_) cout<<"KCHIP : "<<kit->first<<endl;
196 
197  word1 = (0 << sKFLAG1) | (0 << sKBC) | (0 << sKFLAG2) | (0 << sKEC);
198  word2 = (1 << sKHEAD2) | (0 << sKHEAD1) | (0 << sFIBER) | (kit->first << sKID) | (0 << sKCE) | (0 << sKCRC) | (0 << sKET);
199  word = (Word64(word2) << 32 ) | Word64(word1);
200 
201  if (debug_) cout<<"KCHIP : "<<print(word)<<endl;
202  words.push_back(word);
203 
204  const vector<Word64> & data = kit->second;
205  for (unsigned int id=0; id<data.size(); ++id) {
206  if (debug_) cout<<"Data : "<<print(data[id])<<endl;
207  words.push_back(data[id]);
208  }
209 
210  }
211 
212  int dataSize = (words.size() + 8) * sizeof(Word64);
213 
214  // DCC words
215  vector<Word64> DCCwords;
216  word2 = (0 << sDHEAD) | (1 <<sDH) | (run_number_ << sDRUN);
217  word1 = (dataSize << sDEL);
218  word = (Word64(word2) << 32 ) | Word64(word1);
219  DCCwords.push_back(word);
220  word2 = (0 << sDHEAD) | (2 <<sDH);
221  word1 = 0;
222  word = (Word64(word2) << 32 ) | Word64(word1);
223  DCCwords.push_back(word);
224  word2 = (0 << sDHEAD) | (3 <<sDH) | (1 << sDVMAJOR) | (1 << sDVMINOR);
225  word1 = (orbit_number_ << sDORBIT);
226  word = (Word64(word2) << 32 ) | Word64(word1);
227  DCCwords.push_back(word);
228  word2 = (0 << sDHEAD) | (4 <<sDH);
229  word1 = 0;
230  word = (Word64(word2) << 32 ) | Word64(word1);
231  DCCwords.push_back(word);
232  word2 = (0 << sDHEAD) | (5 <<sDH);
233  word1 = 0;
234  word = (Word64(word2) << 32 ) | Word64(word1);
235  DCCwords.push_back(word);
236  word2 = (0 << sDHEAD) | (6 <<sDH);
237  word1 = 0;
238  word = (Word64(word2) << 32 ) | Word64(word1);
239  DCCwords.push_back(word);
240 
241  // Output (data size in Bytes)
242  fedRawData.resize(dataSize);
243 
244  Word64 * w = reinterpret_cast<Word64* >(fedRawData.data());
245 
246  // header
247  FEDHeader::set( reinterpret_cast<unsigned char*>(w), trgtype_, lv1_, bx_, fedId);
248  w++;
249 
250  // ES-DCC
251  for (unsigned int i=0; i<DCCwords.size(); ++i) {
252  if (debug_) cout<<"DCC : "<<print(DCCwords[i])<<endl;
253  *w = DCCwords[i];
254  w++;
255  }
256 
257  // event data
258  for (unsigned int i=0; i<words.size(); ++i) {
259  *w = words[i];
260  w++;
261  }
262 
263  // trailer
264  FEDTrailer::set( reinterpret_cast<unsigned char*>(w), dataSize/sizeof(Word64),
265  evf::compute_crc(fedRawData.data(), dataSize),
266  0, 0);
267  w++;
268 
269 
270 }
int i
Definition: DBlmapReader.cc:9
int strip() const
Definition: ESDetId.h:52
static const int sDEL
static const int sKFLAG2
const double w
Definition: UKUtility.cc:23
static const int sDHEAD
static const int sDORBIT
static const int sFIBER
static const int sDVMINOR
const ESDetId & id() const
Definition: ESDataFrame.h:21
ESDataFormatter::DetDigis DetDigis
static const int sKCE
static const int sPACE
ESDataFormatter::Word32 Word32
int six() const
Definition: ESDetId.h:48
static const int sKHEAD1
int size() const
Definition: ESDataFrame.h:23
static void set(unsigned char *trailer, int evt_lgth, int crc, int evt_stat, int tts, bool T=false)
Set all fields in the trailer.
Definition: FEDTrailer.cc:42
static const int sKHEAD2
static const int sKEC
static const int sHEAD
int siy() const
Definition: ESDetId.h:50
static const int sADC1
ESDataFormatter::Word64 Word64
static const int sE0
void resize(size_t newsize)
Definition: FEDRawData.cc:32
static void set(unsigned char *header, int evt_ty, int lvl1_ID, int bx_ID, int source_ID, int version=0, bool H=false)
Set all fields in the header.
Definition: FEDHeader.cc:40
unsigned short compute_crc(unsigned char *buffer, unsigned int bufSize)
Definition: CRC16.h:67
static const int sKCRC
const ESSample & sample(int i) const
Definition: ESDataFrame.h:26
uint64_t Word64
int zside() const
Definition: ESDetId.h:44
static const int sKID
static const int sKET
static const int sE1
static const int sKBC
static const int sADC2
static const int sDRUN
static const int sSTRIP
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
static const int sADC0
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
Definition: FEDRawData.cc:28
int plane() const
Definition: ESDetId.h:46
std::string print(const Word64 &word) const
tuple cout
Definition: gather_cfg.py:145
int adc() const
get the ADC sample (singed 16 bits)
Definition: ESSample.h:18
static const int sDH
static const int sKFLAG1
static const int sDVMAJOR

Member Data Documentation

const int ESDataFormatterV1_1::bADC0 = 16
staticprotected

Definition at line 50 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bADC1 = 16
staticprotected

Definition at line 50 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bADC2 = 16
staticprotected

Definition at line 50 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDCH = 4
staticprotected

Definition at line 45 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDCOMFLAG = 8
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDEL = 24
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDERR = 8
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDH = 6
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDHEAD = 2
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDOPTO = 8
staticprotected

Definition at line 45 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDORBIT = 32
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDRUN = 24
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDRUNTYPE = 32
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDTRGTYPE = 16
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDVMAJOR = 8
staticprotected

Definition at line 45 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDVMINOR = 8
staticprotected

Definition at line 45 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bE0 = 1
staticprotected

Definition at line 50 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bE1 = 1
staticprotected

Definition at line 50 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bFIBER = 6
staticprotected

Definition at line 48 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bHEAD = 2
staticprotected

Definition at line 50 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bKBC = 12
staticprotected

Definition at line 48 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bKCE = 1
staticprotected

Definition at line 48 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bKCRC = 1
staticprotected

Definition at line 48 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bKEC = 8
staticprotected

Definition at line 48 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bKET = 1
staticprotected

Definition at line 48 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bKFLAG1 = 4
staticprotected

Definition at line 48 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bKFLAG2 = 8
staticprotected

Definition at line 48 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bKHEAD1 = 2
staticprotected

Definition at line 48 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bKHEAD2 = 2
staticprotected

Definition at line 48 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bKID = 11
staticprotected

Definition at line 48 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bPACE = 2
staticprotected

Definition at line 50 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bSTRIP = 5
staticprotected

Definition at line 50 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sADC0 = 0
staticprotected

Definition at line 51 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sADC1 = bADC0 + sADC0
staticprotected

Definition at line 51 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sADC2 = 0
staticprotected

Definition at line 51 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sDCH = 0
staticprotected

Definition at line 47 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sDCOMFLAG = bDTRGTYPE + sDTRGTYPE
staticprotected

Definition at line 46 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sDEL = 0
staticprotected

Definition at line 46 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sDERR = bDEL + sDEL
staticprotected

Definition at line 46 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sDH = 24
staticprotected

Definition at line 46 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sDHEAD = 26
staticprotected

Definition at line 46 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sDOPTO = 16
staticprotected

Definition at line 47 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sDORBIT = 0
staticprotected

Definition at line 46 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sDRUN = 0
staticprotected

Definition at line 46 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sDRUNTYPE = 0
staticprotected

Definition at line 46 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sDTRGTYPE = 0
staticprotected

Definition at line 46 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sDVMAJOR = bDVMINOR + sDVMINOR
staticprotected

Definition at line 47 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sDVMINOR = 8
staticprotected

Definition at line 47 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sE0 = bSTRIP + sSTRIP + 1
staticprotected

Definition at line 51 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sE1 = bE0 + sE0
staticprotected

Definition at line 51 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sFIBER = bKID + sKID + 1
staticprotected

Definition at line 49 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sHEAD = bE1 + sE1 + 4
staticprotected

Definition at line 51 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sKBC = bKFLAG2 + sKFLAG2
staticprotected

Definition at line 49 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sKCE = bKCRC + sKCRC
staticprotected

Definition at line 49 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sKCRC = bKET + sKET
staticprotected

Definition at line 49 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sKEC = 0
staticprotected

Definition at line 49 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sKET = 0
staticprotected

Definition at line 49 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sKFLAG1 = bKBC + sKBC
staticprotected

Definition at line 49 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sKFLAG2 = bKEC + sKEC
staticprotected

Definition at line 49 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sKHEAD1 = bFIBER + sFIBER + 2
staticprotected

Definition at line 49 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sKHEAD2 = bKHEAD1 + sKHEAD1
staticprotected

Definition at line 49 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sKID = bKCE + sKCE + 5
staticprotected

Definition at line 49 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sPACE = bADC2 + sADC2
staticprotected

Definition at line 51 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

const int ESDataFormatterV1_1::sSTRIP = bPACE + sPACE
staticprotected

Definition at line 51 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().