47 _PrecisionOffsetScale(sigmaOffset),
48 _PrecisionCentralValue(centralValue),
60 _PrecisionOffsetScale(blindTool.getPrecisionOffsetScale()),
61 _PrecisionCentralValue(blindTool.getPrecisionCentralValue()),
62 _mode(blindTool.mode()),
63 _s2bMode(blindTool._s2bMode)
269 return PrecisionPrime;
318 Int_t Seed = EventNumber % 7997 + 2;
325 STagPrime = -1.0 * STag ;
337 char lowerseed[1024] ;
338 strlcpy(lowerseed,
_stSeed,1024) ;
340 Int_t lengthSeed = strlen(lowerseed);
342 for (
Int_t j=0; j<lengthSeed; j++){
343 lowerseed[j] =tolower(
_stSeed[j]);
346 for (
Int_t i=0; i<lengthSeed; i++){
347 for (
Int_t iAlphabet=0; iAlphabet<26; iAlphabet++){
348 if ( lowerseed[i] == StringAlphabet[iAlphabet] ){
350 sumSeed = (iAlphabet<<(5*(i%3)))^sumSeed;
352 sumSeed = sumSeed + iAlphabet ;
358 if (lengthSeed<5 || ((sumSeed<1 || sumSeed>8000)&&!
_s2bMode)) {
359 cout<<
"RooBlindTools::Randomizer: Your String Seed is Bad: '" <<
_stSeed <<
"'" << endl ;
366 UInt_t jRan = (sumSeed*ia + ic) % im;
368 jRan = (jRan*ia + ic) % im;
369 jRan = (jRan*ia + ic) % im;
370 jRan = (jRan*ia + ic) % im;
372 Double_t theRan = (float) jRan / (
float) im;
382 if (Seed<1 || Seed>8000 ) {
383 cout<<
"RooBlindTools::PseudoRandom: Your integer Seed is Bad" <<endl;
389 UInt_t jRan = (Seed*ia + ic) % im;
391 jRan = (jRan*ia + ic) % im;
392 jRan = (jRan*ia + ic) % im;
393 jRan = (jRan*ia + ic) % im;
395 Double_t theRan = (float) jRan / (
float) im;
408 Double_t theOffset = (2.0)*theRan - (1.0);
421 if (theRan1==0.0 || theRan1==1.0){
424 if (theRan2==0.0 || theRan2==1.0){
458 else if (STag > 0.0) {
RooCmdArg Precision(Double_t prec)