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

Public Member Functions | |
| TPCPass1 (const char *version) | |
| ~TPCPass1 () | |
| 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 18 of file TPCPass1.cxx. References jobc::Module::SetCfgVersion().
00018 : jobc::Module("TPCPass1") 00019 { 00020 std::cerr << "TPCPass1::TPCPass1()" << std::endl; 00021 this->SetCfgVersion(v); 00022 } |
|
|
Definition at line 26 of file TPCPass1.cxx.
00027 {
00028 std::cerr << "TPCPass1::~TPCPass1()" << std::endl;
00029 }
|
|
|
Reimplemented from jobc::Module. Definition at line 49 of file TPCPass1.cxx. References fRhigh, fRlow, gsRand(), and jobc::Result.
00050 {
00051 double r;
00052 r = gsRand.Uniform();
00053 if (fRlow<=r && fRhigh>r) {
00054 std::cerr << "TPCPass1: Ana Passed ("
00055 << fRlow << "," << r << "," << fRhigh << ")" << std::endl;
00056 return jobc::kPassed;;
00057 }
00058 std::cerr << "TPCPass1: Ana Failed ("
00059 << fRlow << "," << r << "," << fRhigh << ")" << std::endl;
00060 return jobc::kFailed;
00061 }
|
|
|
Reimplemented from jobc::Module. Definition at line 73 of file TPCPass1.cxx.
00073 {
00074 std::cerr <<
00075 "TPCPass1: EndFile(" << filename << ")" << std::endl;
00076 }
|
|
||||||||||||
|
Reimplemented from jobc::Module. Definition at line 87 of file TPCPass1.cxx.
00087 {
00088 std::cerr <<
00089 "TPCPass1: EndRun(" << run << "," << subrun << ")" << std::endl;
00090 }
|
|
||||||||||||
|
Reimplemented from jobc::Module. Definition at line 102 of file TPCPass1.cxx.
00102 {
00103 std::cerr <<
00104 "TPCPass1: EndSubrun(" << run << "," << subrun << ")" << std::endl;
00105 }
|
|
|
Reimplemented from jobc::Module. Definition at line 65 of file TPCPass1.cxx.
00066 {
00067 std::cerr <<
00068 "TPCPass1: NewFile(" << filename << ")" << std::endl;
00069 }
|
|
||||||||||||
|
Reimplemented from jobc::Module. Definition at line 80 of file TPCPass1.cxx.
00080 {
00081 std::cerr <<
00082 "TPCPass1: NewRun(" << run << "," << subrun << ")" << std::endl;
00083 }
|
|
||||||||||||
|
Reimplemented from jobc::Module. Definition at line 94 of file TPCPass1.cxx.
00095 {
00096 std::cerr <<
00097 "TPCPass1: NewSubrun(" << run << "," << subrun << ")" << std::endl;
00098 }
|
|
|
Reimplemented from jobc::Module. Definition at line 33 of file TPCPass1.cxx. References fRhigh, fRlow, gsRand(), and jobc::Result.
00034 {
00035 double r;
00036 r = gsRand.Uniform();
00037 if (fRlow<=r && fRhigh>r) {
00038 std::cerr << "TPCPass1: Reco Passed ("
00039 << fRlow << "," << r << "," << fRhigh << ")" << std::endl;
00040 return jobc::kPassed;;
00041 }
00042 std::cerr << "TPCPass1: Reco Failed ("
00043 << fRlow << "," << r << "," << fRhigh << ")" << std::endl;
00044 return jobc::kFailed;
00045 }
|
|
|
Implements cfg::Observer. Definition at line 109 of file TPCPass1.cxx.
00110 {
00111 std::cerr << "TPCPass1: Config" << std::endl;
00112
00113 c("Rlow"). Get( fRlow );
00114 c("Rhigh").Get( fRhigh );
00115 }
|
|
|
A sample parameter.
Definition at line 30 of file TPCPass1.h. |
|
|
A sample parameter.
Definition at line 29 of file TPCPass1.h. |
1.3.5