#ifndef HMDCGEANTCELL_H
#define HMDCGEANTCELL_H

#include "TObject.h"

class HMdcGeantCell : public TObject {
private:
  Int_t sector;             // sector number [0-5]
  Int_t module;             // module number [0-3]
  Int_t layer;              // layer number  [0-5]
  Int_t cell;               // cell number in wire plane
  Int_t fNumHits;           // Number of tracks per cell
  Float_t fMinDist[15];     // Shortest distance from particle trajectory to the sense wire [mm]
  Float_t fTimeFlight[15];  // Time of flight [ns]
  Float_t fImpactAngle[15]; // impact angle in Coordinate system of the cell in degree [0-90]
  Int_t nTrack[15];         // Track number (GEANT)
  Bool_t flagCutEdge[15];   // flag for cell where the minimum distance was recalculated
  Float_t wireOffset[15];   // offset of signal due to propagation of the signal on the wire [ns]
public:
   HMdcGeantCell() {clear();}
  ~HMdcGeantCell() {}
   void clear();
   void setSector(const Int_t s) { sector = s; }
   void setModule(const Int_t m) { module = m; }
   void setLayer(const Int_t l) { layer = l; }
   void setCell(const Int_t c) { cell = c; }
   void setNumHits(const Int_t nhit) {fNumHits=nhit;}
   void setMinDist(const Float_t md, const Int_t j) {fMinDist[j] = md;}
   void setTimeFlight(const Float_t tof,const  Int_t j) {fTimeFlight[j] = tof;}
   void setImpactAngle(const Float_t angle,const Int_t j) {fImpactAngle[j] = angle;}
   void setNTrack(const Int_t t, const Int_t j) {nTrack[j] = t;}
   void setFlagCutEdge(const Bool_t t, const Int_t j) {flagCutEdge[j] = t;}
   void setWireOffset(const Float_t offset,const Int_t j) {wireOffset[j] = offset;}
   Int_t getSector() const { return sector; }
   Int_t getModule() const { return module; }
   Int_t getLayer() const { return layer; }
   Int_t getCell() const { return cell; }
   Int_t getNumHits(void) {return fNumHits;}
   Float_t getMinDist( Int_t j) const{return fMinDist[j];}
   Float_t getTimeFlight(Int_t j) const{return fTimeFlight[j];}
   Float_t getImpactAngle(Int_t j)const {return fImpactAngle[j];}
   Int_t   getNTrack(Int_t j) const {return nTrack[j];}
   Bool_t  getFlagCutEdge(Int_t j) const {return flagCutEdge[j];}
   Float_t getWireOffset(Int_t j) const {return wireOffset[j];}

  ClassDef(HMdcGeantCell,1) //Intermediate MDC data (derived from HGeant output).
};

#endif










Last change: Sat May 22 13:02:01 2010
Last generated: 2010-05-22 13:02

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.