44 _PrecisionOffsetScale(sigmaOffset),
45 _PrecisionCentralValue(centralValue),
56 _PrecisionOffsetScale(blindTool.getPrecisionOffsetScale()),
57 _PrecisionCentralValue(blindTool.getPrecisionCentralValue()),
58 _mode(blindTool.mode()),
59 _s2bMode(blindTool._s2bMode)
241 return PrecisionPrime;
279 Int_t Seed = EventNumber % 7997 + 2;
286 STagPrime = -1.0 * STag ;
296 char lowerseed[1024] ;
297 strlcpy(lowerseed,
_stSeed,1024) ;
299 Int_t lengthSeed = strlen(lowerseed);
301 for (
Int_t j=0; j<lengthSeed; j++){
302 lowerseed[j] =tolower(
_stSeed[j]);
305 for (
Int_t i=0; i<lengthSeed; i++){
306 for (
Int_t iAlphabet=0; iAlphabet<26; iAlphabet++){
307 if ( lowerseed[i] == StringAlphabet[iAlphabet] ){
309 sumSeed = (iAlphabet<<(5*(i%3)))^sumSeed;
311 sumSeed = sumSeed + iAlphabet ;
317 if (lengthSeed<5 || ((sumSeed<1 || sumSeed>8000)&&!
_s2bMode)) {
318 cout<<
"RooBlindTools::Randomizer: Your String Seed is Bad: '" <<
_stSeed <<
"'" << endl ;
325 UInt_t jRan = (sumSeed*ia + ic) % im;
327 jRan = (jRan*ia + ic) % im;
328 jRan = (jRan*ia + ic) % im;
329 jRan = (jRan*ia + ic) % im;
331 Double_t theRan = (float) jRan / (
float) im;
340 if (Seed<1 || Seed>8000 ) {
341 cout<<
"RooBlindTools::PseudoRandom: Your integer Seed is Bad" <<endl;
347 UInt_t jRan = (Seed*ia + ic) % im;
349 jRan = (jRan*ia + ic) % im;
350 jRan = (jRan*ia + ic) % im;
351 jRan = (jRan*ia + ic) % im;
353 Double_t theRan = (float) jRan / (
float) im;
364 Double_t theOffset = (2.0)*theRan - (1.0);
375 if (theRan1==0.0 || theRan1==1.0){
378 if (theRan2==0.0 || theRan2==1.0){
409 else if (STag > 0.0) {
RooCmdArg Precision(Double_t prec)