CMS 3D CMS Logo

HGCMouseBite.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_HGCMouseBite_h
2 #define SimG4CMS_HGCMouseBite_h
3 
5 #include "G4ThreeVector.hh"
6 
7 #include <vector>
8 
9 class HGCMouseBite {
10 public:
11  HGCMouseBite(const HGCalDDDConstants& hgc, const std::vector<double>& angle, double maxLength, bool waferRotate);
12  bool exclude(G4ThreeVector& point, int zside, int layer, int waferU, int waferV);
13 
14 private:
16  double cut_;
17  bool rot_;
18  bool modeUV_;
19  std::vector<std::pair<double, double> > projXY_;
20 };
21 
22 #endif // HGCMouseBite_h
bool exclude(G4ThreeVector &point, int zside, int layer, int waferU, int waferV)
Definition: HGCMouseBite.cc:24
int32_t waferU(const int32_t index)
int zside(DetId const &)
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer
const HGCalDDDConstants & hgcons_
Definition: HGCMouseBite.h:15
int32_t waferV(const int32_t index)
std::vector< std::pair< double, double > > projXY_
Definition: HGCMouseBite.h:19
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition: invegas.h:5
HGCMouseBite(const HGCalDDDConstants &hgc, const std::vector< double > &angle, double maxLength, bool waferRotate)
Definition: HGCMouseBite.cc:9
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11