Line Code
1 2 3 4 5 6 7 8 9 10
#include "EventFilter/HcalRawToDigi/interface/AMC13Header.h"

namespace hcal {
  const uint64_t* AMC13Header::AMCPayload(int i) const {
    const uint64_t* ptr = (&cdfHeader) + 2 + NAMC();
    for (int j = 0; j < i; j++)
      ptr += AMCSize(j);
    return ptr;
  }
}  // namespace hcal