Public Member Functions | |
| BlindingFunction () | |
| void | SetParameters (TRandom *paramChooser, Int_t seed) |
| Float_t | EventBlindProb (Float_t eventLength, Float_t eventEnergy) |
Public Attributes | |
| Float_t | fLFreq |
| Float_t | fEFreq |
| Float_t | fLPhase |
| Float_t | fEPhase |
|
|
Definition at line 46 of file Blinder.cxx. References fEFreq, fEPhase, fLFreq, and fLPhase.
|
|
||||||||||||
|
Definition at line 67 of file Blinder.cxx. References fEFreq, fEPhase, fLFreq, and fLPhase. Referenced by Blinder::Ana(), and Blinder::Reco(). 00069 {
00070 float b1 = 0.5*(sin(length*fLFreq + fLPhase)+1.);
00071 float b2 = 0.5*(sin(energy*fEFreq + fEPhase)+1.);
00072 float f = 0.25 + b1*b2;
00073 if(f>1.0) f=1.0;
00074 return f;
00075
00076 }
|
|
||||||||||||
|
Definition at line 55 of file Blinder.cxx. References fEFreq, fEPhase, fLFreq, and fLPhase. Referenced by Blinder::Ana(), Blinder::Blinder(), and Blinder::Config(). 00056 {
00057 assert(paramChooser);
00058 paramChooser->SetSeed(seed);
00059
00060 fLFreq = paramChooser->Uniform(1.0/15.0, 1.0/500.0); // Lphase. 5-200 planes.
00061 fEFreq = paramChooser->Uniform(1.0/0.8, 1.0/2.0) / 10000; // efreq. 10000 ~= 1GeV
00062 fLPhase = paramChooser->Uniform(0,3.14); // phase
00063 fEPhase = 3.14-fLPhase;
00064 }
|
|
|
Definition at line 65 of file Blinder.h. Referenced by BlindingFunction(), EventBlindProb(), and SetParameters(). |
|
|
Definition at line 67 of file Blinder.h. Referenced by BlindingFunction(), EventBlindProb(), and SetParameters(). |
|
|
Definition at line 64 of file Blinder.h. Referenced by BlindingFunction(), EventBlindProb(), and SetParameters(). |
|
|
Definition at line 66 of file Blinder.h. Referenced by BlindingFunction(), EventBlindProb(), and SetParameters(). |
1.3.9.1