Changeset 1920 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 04/08/03 10:13:47 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/AnalysisLinkDef.h
r1917 r1920 62 62 #pragma link C++ class MParameterD+; 63 63 64 #pragma link C++ class MMcTriggerLvl2+; 65 #pragma link C++ class MMcTriggerLvl2Calc+; 66 64 67 #pragma link C++ class MCT1SupercutsCalc+; 65 68 -
trunk/MagicSoft/Mars/manalysis/MMcTriggerLvl2.cc
r1782 r1920 254 254 fSizeBiggerCell = GetCellNumberFired(CalcBiggerFiredCell()); 255 255 256 257 256 } 258 257 -
trunk/MagicSoft/Mars/manalysis/MMcTriggerLvl2.h
r1782 r1920 51 51 void SetCompactNN(Int_t neighpix) {fCompactNN=neighpix;} 52 52 53 Int_t GetPseudoSize() {return fPseudoSize;}54 Int_t GetLutPseudoSize() {return fLutPseudoSize;}55 Int_t GetSizeBiggerCell() {return fSizeBiggerCell;}56 Int_t GetCompactNN() {return fCompactNN;}53 Int_t GetPseudoSize() const {return fPseudoSize;} 54 Int_t GetLutPseudoSize() const {return fLutPseudoSize;} 55 Int_t GetSizeBiggerCell() const {return fSizeBiggerCell;} 56 Int_t GetCompactNN() const {return fCompactNN;} 57 57 58 58 Int_t GetCellNumberFired(int cell); -
trunk/MagicSoft/Mars/manalysis/MMcTriggerLvl2Calc.cc
r1782 r1920 37 37 #include "MMcTriggerLvl2Calc.h" 38 38 #include "MMcTriggerLvl2.h" 39 39 #include "MHMcTriggerLvl2.h" 40 40 41 41 #include "MParList.h" … … 47 47 #include "MMcRunHeader.hxx" 48 48 49 #include <TH1.h>50 49 51 50 ClassImp(MMcTriggerLvl2Calc); … … 61 60 fTitle = title ? title : "Task to Fill the MMcTriggerLvl2 object"; 62 61 63 // AddToBranchList("MMcEvt.fEnergy");64 //AddToBranchList(Form("%s.fNumFirstLevel", "MMcTrig"));65 //AddToBranchList(Form("%s.fPixelsFirst[73][4]", "MMcTrig"));66 67 68 // h1 = new TH1F("h1","h1",30,0,30);69 62 } 70 63 … … 100 93 } 101 94 95 fMHMcTriggerLvl2 = (MHMcTriggerLvl2*)pList->FindCreateObj("MHMcTriggerLvl2"); 96 if (!fMHMcTriggerLvl2) 97 { 98 *fLog << err << dbginf << "MHMcTriggerLvl2 not found... exit." << endl; 99 return kFALSE; 100 } 101 102 102 // Check if the variable fCompactNN has been correctly set; 103 103 // accepted values for fCompactNN are (up to now) 2 and 3. … … 125 125 126 126 fMMcTriggerLvl2->SetLv1(fMcTrig); 127 127 128 fMMcTriggerLvl2->Calc(); 129 130 fMHMcTriggerLvl2->Fill(fMMcTriggerLvl2); 128 131 129 132 //fMMcTriggerLvl2->DrawLv1(); 130 133 //fMMcTriggerLvl2->DrawCell(fMMcTriggerLvl2->GetBiggerFiredCell() ); 131 134 //fMMcTriggerLvl2->Print(); 132 133 // h1->Fill(fMMcTriggerLvl2->GetLutPseudoSize() );134 135 135 136 136 return kTRUE; … … 146 146 { 147 147 148 // *fLog << inf << "Filling..." << endl;149 150 // h1->Draw();151 152 148 return kTRUE; 153 149 } -
trunk/MagicSoft/Mars/manalysis/MMcTriggerLvl2Calc.h
r1782 r1920 12 12 13 13 class MMcTriggerLvl2; 14 class MHMcTriggerLvl2; 14 15 15 16 class TH1F; … … 22 23 23 24 MMcTriggerLvl2 *fMMcTriggerLvl2; 25 MHMcTriggerLvl2 *fMHMcTriggerLvl2; 24 26 25 27 public: -
trunk/MagicSoft/Mars/manalysis/Makefile
r1917 r1920 69 69 MNewImageParCalc.cc \ 70 70 MParameters.cc \ 71 MMcTriggerLvl2.cc \ 72 MMcTriggerLvl2Calc.cc \ 71 73 MCT1SupercutsCalc.cc 72 74
Note:
See TracChangeset
for help on using the changeset viewer.