CMS 3D CMS Logo

HGCMouseBite.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_HGCMouseBite_h
2 #define SimG4CMS_HGCMouseBite_h
3 
6 #include "G4ThreeVector.hh"
7 
8 #include <vector>
9 
10 class HGCMouseBite {
11 public:
12  HGCMouseBite(const HGCalDDDConstants& hgc, const std::vector<double>& angle, double maxLength, bool waferRotate);
13  HGCMouseBite(const HGCalTBDDDConstants& hgc, const std::vector<double>& angle, double maxLength, bool waferRotate);
14  bool exclude(G4ThreeVector& point, int zside, int layer, int waferU, int waferV);
15 
16 private:
17  void init(const std::vector<double>& angle);
18 
21  const bool ifTB_;
22  double cut_;
23  bool rot_;
24  bool modeUV_;
25  std::vector<std::pair<double, double> > projXY_;
26 };
27 
28 #endif // HGCMouseBite_h
const HGCalTBDDDConstants * hgTBcons_
Definition: HGCMouseBite.h:20
void init(const std::vector< double > &angle)
Definition: HGCMouseBite.cc:21
bool exclude(G4ThreeVector &point, int zside, int layer, int waferU, int waferV)
Definition: HGCMouseBite.cc:34
int32_t waferU(const int32_t index)
int zside(DetId const &)
const bool ifTB_
Definition: HGCMouseBite.h:21
const HGCalDDDConstants * hgcons_
Definition: HGCMouseBite.h:19
int32_t waferV(const int32_t index)
std::vector< std::pair< double, double > > projXY_
Definition: HGCMouseBite.h:25
*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