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 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
HGCMouseBite::hgcons_
const HGCalDDDConstants & hgcons_
Definition: HGCMouseBite.h:15
ecaldqm::zside
int zside(DetId const &)
Definition: EcalDQMCommonUtils.cc:189
HGCMouseBite::rot_
bool rot_
Definition: HGCMouseBite.h:17
HGCalWaferIndex::waferU
int32_t waferU(const int32_t index)
Definition: HGCalWaferIndex.cc:27
HGCMouseBite::cut_
double cut_
Definition: HGCMouseBite.h:16
HGCMouseBite::exclude
bool exclude(G4ThreeVector &point, int zside, int waferU, int waferV)
Definition: HGCMouseBite.cc:24
HGCMouseBite::modeUV_
bool modeUV_
Definition: HGCMouseBite.h:18
HGCalDDDConstants
Definition: HGCalDDDConstants.h:27
hgc_digi
Definition: HGCDigitizerTypes.h:10
HGCMouseBite::projXY_
std::vector< std::pair< double, double > > projXY_
Definition: HGCMouseBite.h:19
HGCalWaferIndex::waferV
int32_t waferV(const int32_t index)
Definition: HGCalWaferIndex.cc:32
HGCMouseBite
Definition: HGCMouseBite.h:9
HGCMouseBite::HGCMouseBite
HGCMouseBite(const HGCalDDDConstants &hgc, const std::vector< double > &angle, double maxLength, bool waferRotate)
Definition: HGCMouseBite.cc:9
angle
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11
HGCalDDDConstants.h
point
*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