CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HitDigitizerFP420.h
Go to the documentation of this file.
1 #ifndef HitDigitizerFP420_h
2 #define HitDigitizerFP420_h
3 
4 //#include "SimG4CMS/FP420/interface/FP420G4HitCollection.h"
5 //#include "SimG4CMS/FP420/interface/FP420G4Hit.h"
11 
12 #include <map>
13 #include <vector>
14 
15 // Digitizes the response for a single FP420Hit
17 public:
18  typedef std::map<int, float, std::less<int>> hit_map_type;
19 
20  // HitDigitizerFP420(const edm::ParameterSet& conf, const ElectrodGeomDetUnit
21  // *det); HitDigitizerFP420(float in, float inp, float inpx, float inpy,float
22  // ild,float ildx,float ildy);
23  HitDigitizerFP420(float in, float ild, float ildx, float ildy, float in0, float in2, float in3, int verbosity);
24  // HitDigitizerFP420(float in, float inp, float inpx, float inpy);
25 
27 
29  if (theCDividerFP420)
30  delete theCDividerFP420;
32  }
34  if (theCDrifterFP420)
35  delete theCDrifterFP420;
37  }
39  if (theIChargeFP420)
40  delete theIChargeFP420;
42  }
43 
44  // CDividerFP420* getChargeDivider(){return theCDividerFP420;}
45  // CDrifterFP420* getChargeCollectionDrifter(){return theCDrifterFP420;}
46  // IChargeFP420* getInduceChargeOnElectrods(){return theIChargeFP420;}
47 
48  // hit_map_type processHit(const PSimHit&, G4ThreeVector, int, int, double);
49  hit_map_type processHit(const PSimHit &, const G4ThreeVector &, int, int, double, int, double, double, int);
50 
51 private:
55 
57  // double pitch;
58  // double pitchX;
59  // double pitchY;
63  double temperature;
67 
68  G4ThreeVector DriftDirection(const G4ThreeVector &, int, int);
69 
70  // typedef GloballyPositioned<double> Frame; // AZ
71 
72  float tanLorentzAnglePerTesla; // Lorentz angle tangent per Tesla
73 };
74 
75 #endif
void setChargeCollectionDrifter(CDrifterFP420 *cd)
void setChargeDivider(CDividerFP420 *cd)
std::map< int, float, std::less< int > > hit_map_type
G4ThreeVector DriftDirection(const G4ThreeVector &, int, int)
HitDigitizerFP420(float in, float ild, float ildx, float ildy, float in0, float in2, float in3, int verbosity)
CDrifterFP420 * theCDrifterFP420
IChargeFP420 * theIChargeFP420
CDividerFP420 * theCDividerFP420
hit_map_type processHit(const PSimHit &, const G4ThreeVector &, int, int, double, int, double, double, int)
void setInduceChargeOnElectrods(IChargeFP420 *cd)