RecoObj

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 30 31 32 33 34 35 36 37 38 39 40
#ifndef CommonTools_PileupAlgos_PUPPI_RECOOBJ_HH
#define CommonTools_PileupAlgos_PUPPI_RECOOBJ_HH

class RecoObj {
public:
  RecoObj()
      : pt(0),
        eta(0),
        phi(0),
        m(0),
        id(0),
        pdgId(-1),
        vtxId(-1),
        trkChi2(0),
        vtxChi2(0),
        time(0),
        depth(0),
        expProb(0),
        expChi2PU(0),
        expChi2(0),
        dZ(0),
        d0(0),
        charge(0) {}
  ~RecoObj() {}

  float pt, eta, phi, m, rapidity;  // kinematics
  int id;
  int pdgId;
  int vtxId;          // Vertex Id from Vertex Collection
  float trkChi2;      // Track Chi2
  float vtxChi2;      // Vertex Chi2
  float time, depth;  // Usefule Info
  float expProb;
  float expChi2PU;
  float expChi2;
  float dZ;
  float d0;
  int charge;
};
#endif