#include "AliTPC.h"
#include "AliTPCParam.h"
+#include "AliTPCParamSR.h"
#include "AliRun.h"
#include "AliPDG.h"
#include "AliRunDigitizer.h"
// merge input tree's with summable digits
//output stored in TreeTPCD
-
+ char s[100];
+ char ss[100];
TString optionString = option;
if (optionString.Data() == "deb") {
cout<<"AliTPCDigitizer::Exec: called with option deb "<<endl;
//get detector and geometry
AliTPC *pTPC = (AliTPC *) gAlice->GetModule("TPC");
AliTPCParam * param = pTPC->GetParam();
+
+ sprintf(s,param->GetTitle());
+ sprintf(ss,"75x40_100x60");
+ if(strcmp(s,ss)==0){
+ printf("2 pad-length geom hits with 3 pad-lenght geom digits...\n");
+ delete param;
+ param=new AliTPCParamSR();
+ }
+ else{
+ sprintf(ss,"75x40_100x60_150x60");
+ if(strcmp(s,ss)!=0) {
+ printf("No TPC parameters found...\n");
+ exit(2);
+ }
+ }
+
pTPC->GenerNoise(500000); //create teble with noise
//
Int_t nInputs = fManager->GetNinputs();