#include <RICHReco.h>
Inheritance diagram for RICHReco:

Public Member Functions | |
| RICHReco (const char *version) | |
| ~RICHReco () | |
| jobc::Result | Reco (edm::EventHandle &evt) |
| jobc::Result | Ana (const edm::EventHandle &evt) |
| void | NewFile (const char *filename) |
| void | EndFile (const char *filename) |
| void | NewRun (int run, int subrun) |
| void | EndRun (int run, int subrun) |
| void | NewSubrun (int run, int subrun) |
| void | EndSubrun (int run, int subrun) |
| void | Update (const cfg::Config &c) |
Private Attributes | |
| float | fRlow |
| A sample parameter. | |
| float | fRhigh |
| A sample parameter. | |
|
|
Definition at line 16 of file RICHReco.cxx. References jobc::Module::SetCfgVersion().
00016 : jobc::Module("RICHReco") 00017 { 00018 std::cerr << "RICHReco::RICHReco()" << std::endl; 00019 this->SetCfgVersion(v); 00020 } |
|
|
Definition at line 24 of file RICHReco.cxx.
00025 {
00026 std::cerr << "RICHReco::~RICHReco()" << std::endl;
00027 }
|
|
|
Reimplemented from jobc::Module. Definition at line 47 of file RICHReco.cxx. References fRhigh, fRlow, gsRand(), and jobc::Result.
00048 {
00049 double r;
00050 r = gsRand.Uniform();
00051 if (fRlow<=r && fRhigh>r) {
00052 std::cerr << "RICHReco: Ana Passed ("
00053 << fRlow << "," << r << "," << fRhigh << ")" << std::endl;
00054 return jobc::kPassed;
00055 }
00056 std::cerr << "RICHReco: Ana Failed ("
00057 << fRlow << "," << r << "," << fRhigh << ")" << std::endl;
00058 return jobc::kFailed;
00059 }
|
|
|
Reimplemented from jobc::Module. Definition at line 71 of file RICHReco.cxx.
00071 {
00072 std::cerr <<
00073 "RICHReco: EndFile(" << filename << ")" << std::endl;
00074 }
|
|
||||||||||||
|
Reimplemented from jobc::Module. Definition at line 85 of file RICHReco.cxx.
00085 {
00086 std::cerr <<
00087 "RICHReco: EndRun(" << run << "," << subrun << ")" << std::endl;
00088 }
|
|
||||||||||||
|
Reimplemented from jobc::Module. Definition at line 100 of file RICHReco.cxx.
00100 {
00101 std::cerr <<
00102 "RICHReco: EndSubrun(" << run << "," << subrun << ")" << std::endl;
00103 }
|
|
|
Reimplemented from jobc::Module. Definition at line 63 of file RICHReco.cxx.
00064 {
00065 std::cerr <<
00066 "RICHReco: NewFile(" << filename << ")" << std::endl;
00067 }
|
|
||||||||||||
|
Reimplemented from jobc::Module. Definition at line 78 of file RICHReco.cxx.
00078 {
00079 std::cerr <<
00080 "RICHReco: NewRun(" << run << "," << subrun << ")" << std::endl;
00081 }
|
|
||||||||||||
|
Reimplemented from jobc::Module. Definition at line 92 of file RICHReco.cxx.
00093 {
00094 std::cerr <<
00095 "RICHReco: NewSubrun(" << run << "," << subrun << ")" << std::endl;
00096 }
|
|
|
Reimplemented from jobc::Module. Definition at line 31 of file RICHReco.cxx. References fRhigh, fRlow, gsRand(), and jobc::Result.
00032 {
00033 double r;
00034 r = gsRand.Uniform();
00035 if (fRlow<=r && fRhigh>r) {
00036 std::cerr << "RICHReco: Reco Passed ("
00037 << fRlow << "," << r << "," << fRhigh << ")" << std::endl;
00038 return jobc::kPassed;
00039 }
00040 std::cerr << "RICHReco: Reco Failed ("
00041 << fRlow << "," << r << "," << fRhigh << ")" << std::endl;
00042 return jobc::kFailed;
00043 }
|
|
|
Implements cfg::Observer. Definition at line 107 of file RICHReco.cxx.
00108 {
00109 std::cerr << "RICHReco: Config" << std::endl;
00110
00111 c("Rlow"). Get( fRlow );
00112 c("Rhigh").Get( fRhigh );
00113 }
|
|
|
A sample parameter.
Definition at line 29 of file RICHReco.h. |
|
|
A sample parameter.
Definition at line 28 of file RICHReco.h. |
1.3.5