All HVs set to 2050 (defaut one)
authordibari <dibari@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 26 Mar 2008 17:01:25 +0000 (17:01 +0000)
committerdibari <dibari@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 26 Mar 2008 17:01:25 +0000 (17:01 +0000)
HMPID/AliHMPIDPreprocessor.h
HMPID/Hshuttle.C

index 58a9394..af6a7af 100644 (file)
@@ -13,7 +13,12 @@ class TMap;
 class AliHMPIDPreprocessor : public AliPreprocessor
 {
 public:
-           AliHMPIDPreprocessor(AliShuttleInterface* pShuttle):AliPreprocessor("HMP",pShuttle) {}
+           AliHMPIDPreprocessor(AliShuttleInterface* pShuttle):AliPreprocessor("HMP",pShuttle) 
+           {
+               AddRunType("PHYSICS");
+               AddRunType("CALIBRATION");
+               AddRunType("STANDALONE");
+           }
   virtual ~AliHMPIDPreprocessor(                             )                                 {}
 protected:
   virtual void   Initialize(Int_t run, UInt_t startTime, UInt_t endTime); //
index 0ef3d0c..5970e92 100644 (file)
@@ -6,7 +6,6 @@
   
   TMap *pDcsMap = new TMap;       pDcsMap->SetOwner(1);          //DCS archive map
   
-//  AliTestShuttle* pShuttle = new AliTestShuttle(0,0,1000000);   
   AliTestShuttle* pShuttle = new AliTestShuttle(0,0,1000000);   
   pShuttle->SetInputRunType("PHYSICS");
 //  pShuttle->SetInputRunType("PEDESTAL_RUN");
@@ -58,7 +57,8 @@ void SimMap(TMap *pDcsMap,Int_t runTime=1500)
     for(Int_t time=0;time<runTime;time+=stepTime) {
        pPCH4->Add(new AliDCSValue((Float_t)4.0,time));               //sample CH4 pressure [mBar] differential respect to atm
        pPenv->Add(new AliDCSValue((Float_t)1000.0 ,time));               //also atm. pressure set to the same value
-       pHV[iCh]->Add(new AliDCSValue((Float_t)(1930+iCh*20),time));   //sample chamber HV [V]
+//       pHV[iCh]->Add(new AliDCSValue((Float_t)(1930+iCh*20),time));   //sample chamber HV [V]
+       pHV[iCh]->Add(new AliDCSValue((Float_t)(2050),time));   //sample chamber HV [V]
     }
     pDcsMap->Add(new TObjString(Form("HMP_DET/HMP_MP%i/HMP_MP%i_GAS/HMP_MP%i_GAS_PMWPC.actual.value"           ,iCh,iCh,iCh    )),pPCH4);         //CH4 pressure wrt atm
     pDcsMap->Add(new TObjString(Form("HMP_DET/HMP_ENV/HMP_ENV_PENV.actual.value"                                               )),pPenv);         //atm pressure