2 #ifndef GEAR_TPCPARAMETERS_H
3 #define GEAR_TPCPARAMETERS_H 1
7 #include "gear/GearParameters.h"
8 #include "gear/PadRowLayout2D.h"
9 #include "gearimpl/GlobalPadIndex.h"
72 virtual bool isInsideModule(
double c0,
double c1,
double z)
const = 0;
78 virtual bool isInsidePad(
double c0,
double c1)
const = 0;
84 virtual bool isInsidePad(
double c0,
double c1,
double z)
const = 0;
114 virtual const std::vector<TPCModule *> &
getModules()
const = 0;
virtual bool isInsideModule(double c0, double c1) const =0
True if coordinate (c0,c1) is within any module.
virtual int getCoordinateType() const =0
Returns coordinate type as an int (see PadRowLayout2D::CARTESIAN, PadRowLayout2D::POLAR) ...
virtual const TPCModule & getModule(int ID) const =0
Returns module with given moduleID.
virtual ~TPCParameters()
Destructor.
Abstract description of a planar subdetector with pads (cells) that are positioned in rows (circular ...
Proposal for an abstract interface that defines the geometry properties of a TPC like detector needed...
virtual GlobalPadIndex getNearestPad(double c0, double c1) const =0
Returns globalPadindex Object for nearest pad to given coordinates (2D).
virtual double getDriftVelocity() const =0
The electron drift velocity in the TPC in mm/s.
virtual bool isInsidePad(double c0, double c1) const =0
True if coordinate (c0,c1) is within any pad, on any module.
virtual const std::vector< TPCModule * > & getModules() const =0
Returns vector of all modules in this TPC (endplate).
Abstract interface for a set of parameters that can be used to describe the geometrical properties of...
Global pad index implimentation .
virtual const TPCModule & getNearestModule(double c0, double c1) const =0
Returns nearest module to given coordinates (2D).
virtual const PadRowLayout2D & getPadLayout() const =0
Kept for backward compatibility.
virtual double getMaxDriftLength() const =0
The maximum drift length in the TPC in mm.
virtual const std::vector< double > & getPlaneExtent() const =0
Extent of the sensitive plane - [xmin,xmax,ymin,ymax] CARTESIAN or [rmin,rmax,phimin,phimax] POLAR.
virtual int getNModules() const =0
Returns number of modules in this TPC (endplate).
virtual double getReadoutFrequency() const =0
Kept for backward compatibility.
A wrapper Class for PadRowLayout2D which converts between the actual pad layouts local coodinate syst...