#ifndef TMBCps_H #define TMBCps_H ////////////////////////////////////////////////////////////////////////// // // // TMBTree class for preshower clusters // // Created: 4-APR-2002 S. Protopopescu // // ////////////////////////////////////////////////////////////////////////// #ifndef ROOT_TObject #include "TObject.h" #endif class TMBCps : public TObject { private: // PSblock Float_t _r; Float_t _phi; Float_t _z; Float_t _xE; Float_t _uE; Float_t _vE; Float_t _matchQ; Float_t _matchEQ; Int_t _xSLC_Id; // id of the axial Single layer cluster Int_t _uSLC_Id; // id of the u Single layer cluster Int_t _vSLC_Id; // id of the v Single layer cluster (SLC) Int_t _xNStrips; // number of axial SLC strips Int_t _uNStrips; // number of u SLC strips associated with 3D CPS cluster Int_t _vNStrips; // number of v SLC strips Float_t _dphi; // error on phi position of the cluster Float_t _dz; // error on z position of the cluster Float_t _nn; // Neural network discriminant, if > 0 -- CPS cluster is shower-like Int_t _isLoose; // Loose em-like CPS cluster Int_t _isTight; // Tight em-like CPS cluster Float_t _p3v[3]; // 3-vector of line between PV and CPS cluster public: TMBCps(); TMBCps(Float_t r, Float_t phi, Float_t z, Float_t xE, Float_t uE, Float_t vE, Float_t matchQ, Float_t matchEQ, Int_t xSLC_Id, Int_t uSLC_Id, Int_t vSLC_Id, Int_t xNStrips, Int_t uNStrips, Int_t vNStrips, Float_t dphi, Float_t dz, Float_t nn, Int_t isLoose, Int_t isTight, Float_t* p3v); Float_t E() {return _xE+_uE+_vE;} Float_t phi() {return _phi;} Float_t r() {return _r;} Float_t z() {return _z;} Float_t xE() {return _xE;} Float_t uE() {return _uE;} Float_t vE() {return _vE;} Float_t matchQ() {return _matchQ;} Float_t matchEQ() {return _matchEQ;} Int_t xSLC_Id() {return _xSLC_Id;} Int_t uSLC_Id() {return _uSLC_Id;} Int_t vSLC_Id() {return _vSLC_Id;} Int_t xNStrips() {return _xNStrips;} Int_t uNStrips() {return _uNStrips;} Int_t vNStrips() {return _vNStrips;} Float_t dphi() {return _dphi;} Float_t dz() {return _dz;} Float_t nn() {return _nn;} Int_t isLoose() {return _isLoose;} Int_t isTight() {return _isTight;} Float_t* p3v() {return _p3v;} ~TMBCps() {;} ClassDef(TMBCps, 4) //TMBTree Cps class }; #endif