+ // Simulate the noise map that will be extracted by the HMP Physics DA from PHYSICS and STANDALONE runs
+ //
+ TRandom rnd;
+ TH2F *hHmpNoiseMaps=new TH2F("hHmpNoiseMaps","Noise Maps Ch: 0-7;Ch 0-7: pad X;Ch0, Ch1, Ch2, Ch3, Ch4, Ch5, Ch6 pad Y ;Noise level (\%)",160,0,160,144*7,0,144*7); //In y we have all 7 chambers
+ Int_t events=2000;
+ for(Int_t nev=0;nev<events;nev++)
+ for(Int_t npads=0;npads<350;npads++) //average 5- pads times 7 chambers