FWRecoGeom

Info

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
#ifndef CORE_FWRECO_GEOM_H
#define CORE_FWRECO_GEOM_H

#include <vector>

class FWRecoGeom {
public:
  FWRecoGeom(void) {}

  virtual ~FWRecoGeom(void) {}

  struct Info {
    unsigned int id;
    float points[24];  // x1,y1,z1...x8,y8,z8
    float topology[9];
    float shape[5];
    float translation[3];
    float matrix[9];

    bool operator<(const Info& o) const { return (this->id < o.id); }
  };

  typedef std::vector<FWRecoGeom::Info> InfoMap;
  typedef std::vector<FWRecoGeom::Info>::const_iterator InfoMapItr;
};

#endif  // CORE_FWRECO_GEOM_H