EEDataFrame

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
#ifndef DIGIECAL_EEDATAFRAME_H
#define DIGIECAL_EEDATAFRAME_H

#include "DataFormats/EcalDetId/interface/EEDetId.h"
#include "DataFormats/EcalDigi/interface/EcalDataFrame.h"
#include <iosfwd>

/** \class EEDataFrame
      
*/

class EEDataFrame : public EcalDataFrame {
public:
  typedef EEDetId key_type;  ///< For the sorted collection
  typedef EcalDataFrame Base;

  EEDataFrame() {}
  // EEDataFrame(DetId i) :  Base(i) {}
  EEDataFrame(edm::DataFrame const& base) : Base(base) {}
  EEDataFrame(EcalDataFrame const& base) : Base(base) {}

  ~EEDataFrame() override {}

  key_type id() const { return Base::id(); }
};

std::ostream& operator<<(std::ostream&, const EEDataFrame&);

#endif