CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
13 #include<vector>
14 #include <map>
15 
16 // Digitizes the response for a single FP420Hit
18  public:
19 
20  typedef std::map<int, float, std::less<int> > hit_map_type;
21 
22  //HitDigitizerFP420(const edm::ParameterSet& conf, const ElectrodGeomDetUnit *det);
23  //HitDigitizerFP420(float in, float inp, float inpx, float inpy,float ild,float ildx,float ildy);
24  HitDigitizerFP420(float in, float ild, float ildx, float ildy, float in0, float in2, float in3, int verbosity);
25  //HitDigitizerFP420(float in, float inp, float inpx, float inpy);
26 
28 
31  theCDividerFP420 = cd;
32  }
35  theCDrifterFP420 = cd;
36  }
38  if (theIChargeFP420) delete theIChargeFP420;
39  theIChargeFP420 = cd;
40  }
41 
42  //CDividerFP420* getChargeDivider(){return theCDividerFP420;}
43  //CDrifterFP420* getChargeCollectionDrifter(){return theCDrifterFP420;}
44  //IChargeFP420* getInduceChargeOnElectrods(){return theIChargeFP420;}
45 
46  // hit_map_type processHit(const PSimHit&, G4ThreeVector, int, int, double);
47  hit_map_type processHit(const PSimHit&, const G4ThreeVector&, int, int, double, int, double, double, int);
48 
49  private:
53 
55  // double pitch;
56  // double pitchX;
57  // double pitchY;
61  double temperature;
65 
66  G4ThreeVector DriftDirection(const G4ThreeVector&,int,int);
67 
68  // typedef GloballyPositioned<double> Frame; // AZ
69 
70  float tanLorentzAnglePerTesla; //Lorentz angle tangent per Tesla
71 
72 };
73 
74 #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)