File indexing completed on 2024-09-07 04:37:56
0001 #ifndef CONVERSIONREGION_H
0002 #define CONVERSIONREGION_H
0003
0004 #include "DataFormats/Math/interface/Vector3D.h"
0005 #include "FWCore/Utilities/interface/Visibility.h"
0006 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
0007
0008 class dso_hidden ConversionRegion {
0009 public:
0010 ConversionRegion(GlobalPoint& convPoint, GlobalPoint& pvtxPoint, float& cotTheta, double errTheta, int charge)
0011 : _convPoint(convPoint), _pvtxPoint(pvtxPoint), _cotTheta(cotTheta), _errTheta(errTheta), _charge(charge) {}
0012
0013 ~ConversionRegion() {}
0014
0015 GlobalPoint convPoint() const { return _convPoint; }
0016 GlobalPoint pvtxPoint() const { return _pvtxPoint; }
0017 float cotTheta() const { return _cotTheta; }
0018 double errTheta() const { return _errTheta; }
0019 int charge() const { return _charge; }
0020
0021 private:
0022
0023 GlobalPoint _convPoint;
0024 GlobalPoint _pvtxPoint;
0025 float _cotTheta;
0026 double _errTheta;
0027 int _charge;
0028 };
0029
0030 #endif