Added the entry for the IRST code checking utility
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 30 Jul 1999 15:34:58 +0000 (15:34 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 30 Jul 1999 15:34:58 +0000 (15:34 +0000)
conf/GeneralDef
macros/Config.C

index eb8e401369e254490c407af32d54be33cc95c312..f9e15a8f4809d5931091b8bc3d60e78fea62d630 100644 (file)
@@ -2,6 +2,11 @@
  
 .SUFFIXES: .cxx .h
 
+# IRST coding rule check
+STRIP=$(ALICE)/local/IRST/syntax/strip-cpp.prl
+CODE_CHECK=java syntax.CPPParser
+export CLASSPATH=$(ALICE)/local/IRST
+
 $(ALICE_ROOT)/include/%.h : %.h
        @[ -d $(dir $@) ] || mkdir $(dir $@)
        @cp -p $? $(ALICE_ROOT)/include
@@ -10,6 +15,19 @@ tgt_$(ALICE_TARGET)/%.o : %.cxx
        @[ -d $(dir $@) ] || mkdir -p $(dir $@)
        @$(CXX) $(CXXFLAGS) -c $*.cxx -o tgt_$(ALICE_TARGET)/$*.o
 
+# IRST coding rule check 
+check/%.i : %.cxx
+       @[ -d $(dir $@) ] || mkdir -p $(dir $@)
+       @$(CXX) -E $(CXXFLAGS) $*.cxx > check/$*.i
+
+# IRST coding rule check
+check/%.ii : check/%.i
+       @$(STRIP) check/$*.i > check/$*.ii
+
+# IRST coding rule check
+check/%.viol : check/%.ii
+       @$(CODE_CHECK) check/$*.ii ./ > check/$*.viol
+
 tgt_$(ALICE_TARGET)/%.o : %.c
        @[ -d $(dir $@) ] || mkdir -p $(dir $@)
        @$(CC) $(CFLAGS) -c $*.c -o tgt_$(ALICE_TARGET)/$*.o
@@ -55,3 +73,13 @@ ROOTGLIBS     = -lGpad -lGui -lGX11 -lX3d  -lXpm
 CLIBS         = -lminicern
 G3LIBS        = -lgeant321
 
+
+
+
+
+
+
+
+
+
+
index 76a3e6a2136867d1b4445002033e8977db851f86..3eb991b25c5b6f4cb8137dba51551071a8801882 100644 (file)
@@ -156,11 +156,32 @@ if(iTPC) {
 //-----------------------------------------------------------------------------
 
 AliTPC *TPC  = new AliTPCv1("TPC","Normal TPC");
+AliTPCD *paramd = TPC->GetDigParam();
+AliTPCParam *param = &(paramd->GetParam());
+
+// Set geometrical parameters
+
+param->SetSectorAngles(40.,0.,20.,10.);
+param->SetInnerRadiusLow(83.7);
+param->SetInnerRadiusUp(132.9);
+param->SetOuterRadiusLow(146.9);
+param->SetOuterRadiusUp(249.4);
+param->SetInSecLowEdge(81.6);
+param->SetInSecUpEdge(135.);
+param->SetOuSecLowEdge(144.2);
+param->SetOuSecUpEdge(252.1);
+param->SetEdge(1.5);
+param->SetDeadZone(1.15);
+param->Update();
+
+// set gas mixture
+
+TPC->SetGasMixt(2,20,10,-1,0.9,0.1,0.);
 TPC->SetSecAL(1);
 TPC->SetSecAU(1);
-TPC->SetSecLows(1, -1, -1, -1, -1, -1);
-TPC->SetSecUps(25, 26, 48, -1, -1, -1, -1, -1, -1, -1, -1, -1);
-TPC->SetSens(1);
+TPC->SetSecLows(0, -1, -1, -1, -1, -1);
+TPC->SetSecUps(18, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1);
+TPC->SetSens(-1);
 }
 
 if(iTOF) {