1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
18 #include "AliITSresponseSDD.h"
21 //___________________________________________
22 ClassImp(AliITSresponseSDD)
24 AliITSresponseSDD::AliITSresponseSDD()
30 SetNSigmaIntegration();
34 SetNoiseAfterElectronics();
46 AliITSresponseSDD::~AliITSresponseSDD() {
48 if(fGaus) delete fGaus;
52 void AliITSresponseSDD::SetCompressParam(Int_t cp[8])
54 // set compression param
59 //printf("\n CompressPar %d %d \n",i,fCPar[i]);
63 void AliITSresponseSDD::GiveCompressParam(Int_t cp[8])
65 // give compression param
73 void AliITSresponseSDD::Print()
75 // Print SDD response Parameters
77 cout << "**************************************************" << endl;
78 cout << " Silicon Drift Detector Response Parameters " << endl;
79 cout << "**************************************************" << endl;
80 cout << "Diffusion Coefficients: " << fDiffCoeff << ", " << fDiffCoeff1 << endl;
82 cout << "Hardware compression parameters: " << endl;
83 for(Int_t i=0; i<8; i++) cout << "fCPar[" << i << "] = " << fCPar[i] << endl;
84 cout << "Noise before electronics (arbitrary units): " << fNoise << endl;
85 cout << "Baseline (ADC units): " << fBaseline << endl;
86 cout << "Noise after electronics (ADC units): " << fNoiseAfterEl << endl;
88 cout << "Dynamic Range: " << fDynamicRange << endl;
89 cout << "Charge Loss: " << fChargeLoss << endl;
90 cout << "Temperature: " << fTemperature << endl;
91 cout << "Drift Speed: " << fDriftSpeed << endl;
92 cout << "Electronics (1=PASCAL, 2=OLA): " << fElectronics << endl;
94 cout << "N. of Sigma for signal integration: " << fNsigmas << endl;
95 cout << "N. of bins in lookup table: " << fNcomps << endl;
97 cout << "Max. ADC Value: " << fMaxAdc << endl;
98 cout << "Min. Value: " << fMinVal << endl;
100 cout << "**************************************************" << endl;