#include <ChopHelp.h>
Public Member Functions | |
| ChopHelp () | |
| ChopHelp (Int_t chops, Int_t cands) | |
| virtual | ~ChopHelp () |
| void | Print (const Option_t *="") const |
| ClassDef (ChopHelp, 1) | |
Public Attributes | |
| Int_t | nchop |
| Int_t | ncandidates |
| Float_t * | chopph |
| Float_t * | candph |
| Int_t | nelements |
| Float_t * | matchmatrix |
| Float_t * | chopmatch |
| Float_t * | estpurity |
| Float_t * | estcompleteness |
|
|
Definition at line 7 of file ChopHelp.cxx. 00008 : nchop(0), 00009 ncandidates(0), 00010 chopph(0), 00011 candph(0), 00012 nelements(0), 00013 matchmatrix(0), 00014 chopmatch(0), 00015 estpurity(0), 00016 estcompleteness(0) 00017 { 00018 }
|
|
||||||||||||
|
Definition at line 20 of file ChopHelp.cxx. 00021 : nchop(chops), 00022 ncandidates(cands), 00023 chopph(new Float_t[nchop]), 00024 candph(new Float_t[ncandidates]), 00025 nelements(nchop*ncandidates), 00026 matchmatrix(new Float_t[nelements]), 00027 chopmatch(new Float_t[ncandidates]), 00028 estpurity(new Float_t[ncandidates]), 00029 estcompleteness(new Float_t[ncandidates]) 00030 { 00031 }
|
|
|
Definition at line 33 of file ChopHelp.cxx. 00034 {
00035 if(chopph) delete [] chopph;
00036 if(candph) delete [] candph;
00037 if(matchmatrix) delete [] matchmatrix;
00038 if(chopmatch) delete [] chopmatch;
00039 if(estpurity) delete [] estpurity;
00040 if(estcompleteness) delete [] estcompleteness;
00041 }
|
|
||||||||||||
|
|
|
|
Definition at line 43 of file ChopHelp.cxx. References candph, chopph, estcompleteness, estpurity, Form(), matchmatrix, ncandidates, and nchop. Referenced by ChopHelperModule::Ana(), and AlgEventSSList::RunAlg(). 00044 {
00045 std::cout << "ChopHelp" << std::endl;
00046 std::cout << "nchop: " << nchop << std::endl;
00047 std::cout << "ncand: " << ncandidates << std::endl;
00048 for(int i=0; i<ncandidates; i++) {
00049 for(int j=0;j<nchop;j++) {
00050 std::cout << Form("%8.1f ",matchmatrix[i*nchop + j]);
00051 }
00052 std::cout << Form("| %8.1f ",candph[i]);
00053 std::cout << Form("pur %4.2f ",estpurity[i]);
00054 std::cout << Form("com %4.2f ",estcompleteness[i]);
00055 std::cout << std::endl;
00056 }
00057
00058 for(int j=0;j<nchop;j++) std::cout << "----------" ;
00059 std::cout << std::endl;
00060 for(int j=0;j<nchop;j++) {
00061 std::cout << Form("%8.1f ",chopph[j]);
00062 }
00063 std::cout << std::endl;
00064 }
|
|
|
Definition at line 17 of file ChopHelp.h. Referenced by ChopHelper::GetChopHelp(), and Print(). |
|
|
Definition at line 20 of file ChopHelp.h. Referenced by ChopHelper::GetChopHelp(). |
|
|
Definition at line 16 of file ChopHelp.h. Referenced by ChopHelper::GetChopHelp(), and Print(). |
|
|
Definition at line 22 of file ChopHelp.h. Referenced by ChopHelper::GetChopHelp(), and Print(). |
|
|
Definition at line 21 of file ChopHelp.h. Referenced by ChopHelper::GetChopHelp(), and Print(). |
|
|
Definition at line 19 of file ChopHelp.h. Referenced by ChopHelper::GetChopHelp(), and Print(). |
|
|
Definition at line 15 of file ChopHelp.h. Referenced by Print(). |
|
|
Definition at line 14 of file ChopHelp.h. Referenced by Print(), and AlgEventSSList::RunAlg(). |
|
|
Definition at line 18 of file ChopHelp.h. |
1.3.9.1