X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TOF%2FTOFPreprocessor.C;h=905c9b8bb6f033eac984211b7396628cd5d328b4;hb=a4f7a3a1f3b853ae2502de3bf4bb8a071221cf7a;hp=85930df1e16c0fda239d1929a3ada24e809b7381;hpb=5abdf772dde0abee45b5ca28fa37f76d7e5eb19a;p=u%2Fmrichter%2FAliRoot.git diff --git a/TOF/TOFPreprocessor.C b/TOF/TOFPreprocessor.C index 85930df1e16..905c9b8bb6f 100644 --- a/TOF/TOFPreprocessor.C +++ b/TOF/TOFPreprocessor.C @@ -31,7 +31,7 @@ void TOFPreprocessor() shuttle->AddInputFile(AliTestShuttle::kDAQ, "TOF", "RUNLevel", "MON", "$ALICE_ROOT/TOF/ShuttleInput/Partial.root"); // instantiation of the preprocessor - AliPreprocessor* pp = new AliTOFPreprocessor("TOF", shuttle); + AliPreprocessor* pp = new AliTOFPreprocessor(shuttle); // preprocessing shuttle->Process(); @@ -55,14 +55,11 @@ TMap* CreateDCSAliasMap() { // Creates a DCS structure // The structure is the following: - // TMap (key --> value) - // --> - // is a string - // is a TObjArray of AliDCSValue - // An AliDCSValue consists of timestamp and a value in form of a AliSimpleValue + // TMap (key --> value) + // --> + // is a string + // is a TObjArray of AliDCSValue - // In this example 6 aliases exists: DCSAlias1 ... DCSAlias6 - // Each contains 1000 values randomly generated by TRandom::Gaus + 5*nAlias TMap* aliasMap = new TMap; aliasMap->SetOwner(1); @@ -75,88 +72,190 @@ TMap* CreateDCSAliasMap() delete datime; Int_t iseed = TMath::Abs(10000 * pid + time - date); - //Float_t thrHVv=7.75, thrHVc=3, thrLVv=2.75, thrLVc=2.5, - //thrFEEthr=1.5, thrFEEt=10, thrTemp=35, thrPress=1000; - Float_t tentHVv=6.75, tentHVc=2, tentLVv=1.75, tentLVc=1.5, - tentFEEthr=0.5, tentFEEt=20, tentTemp=25, tentPress=900; - Float_t sigmaHVv=1, sigmaHVc=0.25, sigmaLVv=0.25, sigmaLVc=0.25, - sigmaFEEthr=0.05, sigmaFEEt=5, sigmaTemp=1, sigmaPress=10; + Float_t tentHVv=6500, tentHVi=80, tentLVv=2.7, tentLVi=4.5, + tentLVv33=3.3, tentLVv50=5.0, tentLVv48=48, + tentLVi33=100, tentLVi50=3.0, tentLVi48=10, + tentFEEthr=1.0, tentFEEtfeac=25, tentFEEttrm=45, + tentTemp=25, tentPress=900; + Float_t sigmaHVv=10, sigmaHVi=10, sigmaLVv=0.2, sigmaLVi=1.0, + sigmaLVv33=0.1, sigmaLVv50=0.1, sigmaLVv48=1, + sigmaLVi33=10, sigmaLVi50=0.5, sigmaLVi48=2, + sigmaFEEthr=0.1, sigmaFEEtfeac=10, sigmaFEEttrm=4, + sigmaTemp=1, sigmaPress=10; Float_t tent=0, sigma=0, thr=0; - Int_t NAliases=10442, NHV=90, NLV=576, NFEEthr=1152, NFEEt=7776, NT=1, NP=1; + Int_t NAliases=10514, NHV=90, NLV=576, NLV33=72, NLV50=72, NLV48=72, NFEEthr=1152, NFEEtfeac=576, NFEEttrm=6840, NT=1, NP=1; for(int nAlias=0;nAliasSetOwner(1); + TString sindex; TString aliasName; if (nAlias