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

Public Member Functions | |
| TPCPass2 (const char *version) | |
| ~TPCPass2 () | |
| 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 17 of file TPCPass2.cxx. References jobc::Module::SetCfgVersion().
00017 : jobc::Module("TPCPass2") 00018 { 00019 std::cerr << "TPCPass2::TPCPass2()" << std::endl; 00020 this->SetCfgVersion(v); 00021 } |
|
|
Definition at line 25 of file TPCPass2.cxx.
00026 {
00027 std::cerr << "TPCPass2::~TPCPass2()" << std::endl;
00028 }
|
|
|
Reimplemented from jobc::Module. Definition at line 48 of file TPCPass2.cxx. References fRhigh, fRlow, gsRand(), and jobc::Result.
00049 {
00050 double r;
00051 r = gsRand.Uniform();
00052 if (fRlow<=r && fRhigh>r) {
00053 std::cerr << "TPCPass2: Reco Passed ("
00054 << fRlow << "," << r << "," << fRhigh << ")" << std::endl;
00055 return jobc::kPassed;
00056 }
00057 std::cerr << "TPCPass2: Reco Failed ("
00058 << fRlow << "," << r << "," << fRhigh << ")" << std::endl;
00059 return jobc::kFailed;
00060 }
|
|
|
Reimplemented from jobc::Module. Definition at line 72 of file TPCPass2.cxx.
00072 {
00073 std::cerr <<
00074 "TPCPass2: EndFile(" << filename << ")" << std::endl;
00075 }
|
|
||||||||||||
|
Reimplemented from jobc::Module. Definition at line 86 of file TPCPass2.cxx.
00086 {
00087 std::cerr <<
00088 "TPCPass2: EndRun(" << run << "," << subrun << ")" << std::endl;
00089 }
|
|
||||||||||||
|
Reimplemented from jobc::Module. Definition at line 101 of file TPCPass2.cxx.
00101 {
00102 std::cerr <<
00103 "TPCPass2: EndSubrun(" << run << "," << subrun << ")" << std::endl;
00104 }
|
|
|
Reimplemented from jobc::Module. Definition at line 64 of file TPCPass2.cxx.
00065 {
00066 std::cerr <<
00067 "TPCPass2: NewFile(" << filename << ")" << std::endl;
00068 }
|
|
||||||||||||
|
Reimplemented from jobc::Module. Definition at line 79 of file TPCPass2.cxx.
00079 {
00080 std::cerr <<
00081 "TPCPass2: NewRun(" << run << "," << subrun << ")" << std::endl;
00082 }
|
|
||||||||||||
|
Reimplemented from jobc::Module. Definition at line 93 of file TPCPass2.cxx.
00094 {
00095 std::cerr <<
00096 "TPCPass2: NewSubrun(" << run << "," << subrun << ")" << std::endl;
00097 }
|
|
|
Reimplemented from jobc::Module. Definition at line 32 of file TPCPass2.cxx. References fRhigh, fRlow, gsRand(), and jobc::Result.
00033 {
00034 double r;
00035 r = gsRand.Uniform();
00036 if (fRlow<=r && fRhigh>r) {
00037 std::cerr << "TPCPass2: Ana Passed ("
00038 << fRlow << "," << r << "," << fRhigh << ")" << std::endl;
00039 return jobc::kPassed;
00040 }
00041 std::cerr << "TPCPass2: Ana Failed ("
00042 << fRlow << "," << r << "," << fRhigh << ")" << std::endl;
00043 return jobc::kFailed;
00044 }
|
|
|
Implements cfg::Observer. Definition at line 108 of file TPCPass2.cxx.
00109 {
00110 std::cerr << "TPCPass2: Config" << std::endl;
00111
00112 c("Rlow"). Get( fRlow );
00113 c("Rhigh").Get( fRhigh );
00114 }
|
|
|
A sample parameter.
Definition at line 30 of file TPCPass2.h. |
|
|
A sample parameter.
Definition at line 29 of file TPCPass2.h. |
1.3.5