CMS 3D CMS Logo

AMC13Header.cc
Go to the documentation of this file.
2 
3 namespace hcal {
4  const uint64_t* AMC13Header::AMCPayload(int i) const {
5  const uint64_t* ptr = (&cdfHeader) + 2 + NAMC();
6  for (int j = 0; j < i; j++)
7  ptr += AMCSize(j);
8  return ptr;
9  }
10 } // namespace hcal
const uint64_t * AMCPayload(int i) const
Definition: AMC13Header.cc:4
int AMCSize(int i) const
Definition: AMC13Header.h:37
unsigned long long uint64_t
Definition: Time.h:13
int NAMC() const
Definition: AMC13Header.h:25
uint64_t cdfHeader
Definition: AMC13Header.h:57