25 #include <TClonesArray.h>
47 DIGPlane::~DIGPlane() {
56 void DIGPlane::SetDimensions(Float_t Xdimension,Float_t Ydimension,Float_t Zdimension) {
60 fXdimension = Xdimension;
61 fYdimension = Ydimension;
62 fZdimension = Zdimension;
67 void DIGPlane::SetPitch(Float_t PitchX,Float_t PitchY){
73 void DIGPlane::SetNpixels(Int_t NpixelsX,Int_t NpixelsY){
79 void DIGPlane::SetNoiseElectrons(Float_t NoiseElectrons){
80 fNoiseElectrons = NoiseElectrons;
84 void DIGPlane::SetTemperature(Float_t Temperature){
85 fTemperature = Temperature;
89 void DIGPlane::SetIonizationEnergy(Float_t IonizationEnergy){
90 fIonizationEnergy = IonizationEnergy;
94 void DIGPlane::SetSegmentSize(Float_t SegmentSize){
95 fSegmentSize = SegmentSize;
99 void DIGPlane::SetMaximumSegmentSize(Float_t MaximumSegmentSize){
100 fMaximumSegmentSize = MaximumSegmentSize;
104 void DIGPlane::SetMaximumChargePerSegment(Float_t MaximumChargePerSegment){
105 fMaximumChargePerSegment = MaximumChargePerSegment;
109 void DIGPlane::SetDiffusionMaximumRange(Float_t DiffusionMaximumRangeInX,Float_t DiffusionMaximumRangeInY){
110 fDiffusionMaximumRangeInX = DiffusionMaximumRangeInX;
111 fDiffusionMaximumRangeInY = DiffusionMaximumRangeInY;
115 void DIGPlane::SetReflexionCoefficient(Float_t ReflexionCoefficient){
116 fReflexionCoefficient = ReflexionCoefficient;
120 void DIGPlane::SetBasicModel_SigmaTenMicrons(Float_t BasicModel_SigmaTenMicrons){
121 fBasicModel_SigmaTenMicrons = BasicModel_SigmaTenMicrons;
126 void DIGPlane::PrintInfo() {
127 std::cout<<
"---------Plane properties------------- "<<endl;
128 std::cout<<
"fPitchX fPitchY fXdimension fYdimension fZdimension "<<endl;
129 std::cout<<fPitchX<<
" "<< fPitchY<<
" "<< fXdimension<<
" "<< fYdimension<<
" "<< fZdimension <<endl;
130 std::cout<<
"fNpixelsX fNpixelsY fNoiseElectrons fTemperature "<<endl;
131 std::cout<<fNpixelsX<<
" "<< fNpixelsY<<
" "<< fNoiseElectrons<<
" "<< fTemperature <<endl;
132 std::cout<<
"fIonizationEnergy fSegmentSize fMaximumSegmentSize fMaximumChargePerSegment "<<endl;
133 std::cout<<fIonizationEnergy <<
" "<<fSegmentSize<<
" "<< fMaximumSegmentSize<<
" "<< fMaximumChargePerSegment <<endl;
134 std::cout<<
"fDiffusionMaximumRangeInX fDiffusionMaximumRangeInY fReflexionCoefficient "<<endl;
135 std::cout<<fDiffusionMaximumRangeInX<<
" "<< fDiffusionMaximumRangeInY <<
" "<<fReflexionCoefficient <<endl;
136 std::cout<<
"fBasicModel_SigmaTenMicrons"<<endl;
137 std::cout<<fBasicModel_SigmaTenMicrons<<endl;