Ignore:
Timestamp:
06/23/03 11:01:53 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/manalysis
Files:
41 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MBlindPixelCalc.cc

    r2173 r2206  
    107107//    from the monte carlo run header.
    108108//
    109 Bool_t MBlindPixelCalc::PreProcess (MParList *pList)
     109Int_t MBlindPixelCalc::PreProcess (MParList *pList)
    110110{
    111111    if (TESTBIT(fFlags, kUseBlindPixels))
     
    252252// Treat the blind pixels
    253253//
    254 Bool_t MBlindPixelCalc::Process()
     254Int_t MBlindPixelCalc::Process()
    255255{
    256256    if (TESTBIT(fFlags, kUseInterpolation) && fGeomCam)
  • trunk/MagicSoft/Mars/manalysis/MBlindPixelCalc.h

    r1574 r2206  
    3636    void StreamPrimitive(ofstream &out) const;
    3737
     38    Int_t PreProcess(MParList *pList);
     39    Int_t Process();
     40
    3841public:
    3942    MBlindPixelCalc(const char *name=NULL, const char *title=NULL);
     
    5255    }
    5356
    54     Bool_t PreProcess(MParList *pList);
    55     Bool_t Process();
    56 
    5757    void SetPixels(Int_t num, Short_t *ids);
    5858    void SetPixels(const TArrayS pix) { SetPixels((Int_t)pix.GetSize(), (Short_t*)pix.GetArray()); }
  • trunk/MagicSoft/Mars/manalysis/MCT1PadONOFF.cc

    r2196 r2206  
    891891//  Set the pointers and prepare the histograms
    892892//
    893 Bool_t MCT1PadONOFF::PreProcess(MParList *pList)
     893Int_t MCT1PadONOFF::PreProcess(MParList *pList)
    894894{
    895895  if ( !fHSigmaTheta       ||  !fHSigmaThetaON    ||  !fHSigmaThetaOFF    || 
     
    987987// idealy the events to be padded should have been generated without NSB
    988988//
    989 Bool_t MCT1PadONOFF::Process()
     989Int_t MCT1PadONOFF::Process()
    990990{
    991991  //*fLog << "Entry MCT1PadONOFF::Process();" << endl;
     
    16221622//
    16231623//
    1624 Bool_t MCT1PadONOFF::PostProcess()
     1624Int_t MCT1PadONOFF::PostProcess()
    16251625{
    16261626    if (GetNumExecutions() != 0)
  • trunk/MagicSoft/Mars/manalysis/MCT1PadONOFF.h

    r2167 r2206  
    8787    void SetDataType(const char *type);   // type of data to be padded
    8888
    89     Bool_t PreProcess(MParList *pList);
    90     Bool_t Process();
    91     Bool_t PostProcess();
     89    Int_t PreProcess(MParList *pList);
     90    Int_t Process();
     91    Int_t PostProcess();
    9292   
    9393    void SetPadFlag(Int_t padflag);
  • trunk/MagicSoft/Mars/manalysis/MCT1PadSchweizer.cc

    r2175 r2206  
    181181//  Set the pointers and prepare the histograms
    182182//
    183 Bool_t MCT1PadSchweizer::PreProcess(MParList *pList)
     183Int_t MCT1PadSchweizer::PreProcess(MParList *pList)
    184184{
    185185  if ( !fHSigmaTheta  || !fHSigmaPixTheta  || !fHDiffPixTheta  ||
     
    266266// idealy the events to be padded should have been generated without NSB
    267267//
    268 Bool_t MCT1PadSchweizer::Process()
     268Int_t MCT1PadSchweizer::Process()
    269269{
    270270  //*fLog << "Entry MCT1PadSchweizer::Process();" << endl;
     
    731731//
    732732//
    733 Bool_t MCT1PadSchweizer::PostProcess()
     733Int_t MCT1PadSchweizer::PostProcess()
    734734{
    735735    if (GetNumExecutions() != 0)
  • trunk/MagicSoft/Mars/manalysis/MCT1PadSchweizer.h

    r2167 r2206  
    6060                       TH2D *hist2Pix, TH2D *hist2PixN);
    6161
    62     Bool_t PreProcess(MParList *pList);
    63     Bool_t Process();
    64     Bool_t PostProcess();
     62    Int_t PreProcess(MParList *pList);
     63    Int_t Process();
     64    Int_t PostProcess();
    6565   
    6666    void SetPadFlag(Int_t padflag);
  • trunk/MagicSoft/Mars/manalysis/MCT1PointingCorrCalc.cc

    r2173 r2206  
    6060// --------------------------------------------------------------------------
    6161//
    62 Bool_t MCT1PointingCorrCalc::PreProcess(MParList *pList)
     62Int_t MCT1PointingCorrCalc::PreProcess(MParList *pList)
    6363{
    6464    MGeomCam *geom = (MGeomCam*)pList->FindObject("MGeomCam");
     
    7070    }
    7171
    72    fHourAngle = (MParameterD*)pList->FindObject("HourAngle", "MParameterD");
     72    fHourAngle = (MParameterD*)pList->FindObject("HourAngle", "MParameterD");
    7373    if (!fHourAngle)
    7474    {
     
    9595// the parametrization is for Mkn421 2001 data (Daniel Kranich)
    9696//
    97 Bool_t MCT1PointingCorrCalc::Process()
     97Int_t MCT1PointingCorrCalc::Process()
    9898{
    9999   // fhourangle is the hour angle [degrees]
  • trunk/MagicSoft/Mars/manalysis/MCT1PointingCorrCalc.h

    r2088 r2206  
    3232                         const char *name=NULL, const char *title=NULL);
    3333
    34     Bool_t PreProcess(MParList *pList);
    35     Bool_t Process();
     34    Int_t PreProcess(MParList *pList);
     35    Int_t Process();
    3636
    3737    ClassDef(MCT1PointingCorrCalc, 0)   // Task to do the CT1 pointing correction for Mkn421 2001 data
  • trunk/MagicSoft/Mars/manalysis/MCT1SupercutsCalc.cc

    r2173 r2206  
    149149// --------------------------------------------------------------------------
    150150//
    151 Bool_t MCT1SupercutsCalc::PreProcess(MParList *pList)
     151Int_t MCT1SupercutsCalc::PreProcess(MParList *pList)
    152152{
    153153    fHil = (MHillas*)pList->FindObject(fHilName, "MHillas");
     
    235235//                            0.75 otherwise
    236236//
    237 Bool_t MCT1SupercutsCalc::Process()
     237Int_t MCT1SupercutsCalc::Process()
    238238{
    239239    const Double_t kNomLogSize = 4.1;
  • trunk/MagicSoft/Mars/manalysis/MCT1SupercutsCalc.h

    r2038 r2206  
    5050    void InitParams();
    5151
    52     Bool_t PreProcess(MParList *pList);
    53     Bool_t Process();
     52    Int_t PreProcess(MParList *pList);
     53    Int_t Process();
    5454
    5555public:
  • trunk/MagicSoft/Mars/manalysis/MCerPhotEvt.cc

    r2178 r2206  
    385385}
    386386
    387 Bool_t MCerPhotEvt::GetPixelContent(Float_t &val, Int_t idx, Float_t ratio, Int_t type) const
     387// --------------------------------------------------------------------------
     388//
     389// Returns, depending on the type flag:
     390//
     391//  0: Number of Photons*PixRatio
     392//  1: Error*sqrt(PixRatio)
     393//  2: Cleaning level = Num Photons*sqrt(PixRatio)/Error
     394//  3: Number of Photons
     395//  4: Error
     396//
     397Bool_t MCerPhotEvt::GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type) const
    388398{
    389399    MCerPhotPix *pix = GetPixById(idx);
    390400    if (!pix || !pix->IsPixelUsed())
    391401        return kFALSE;
     402
     403    const Double_t ratio = cam.GetPixRatio(idx);
    392404
    393405    switch (type)
     
    401413        val = pix->GetNumPhotons()*TMath::Sqrt(ratio)/pix->GetErrorPhot();
    402414        return kTRUE;
     415    case 3:
     416        val = pix->GetNumPhotons();
     417        break;
     418    case 4:
     419        val = pix->GetErrorPhot();
     420        break;
    403421    default:
    404422        val = pix->GetNumPhotons()*ratio;
  • trunk/MagicSoft/Mars/manalysis/MCerPhotEvt.h

    r2178 r2206  
    6464    void Clear(Option_t *opt=NULL) { Reset(); }
    6565
    66     Bool_t GetPixelContent(Float_t &val, Int_t idx, Float_t ratio=1, Int_t type=0) const;
     66    Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
    6767    void DrawPixelContent(Int_t num) const
    6868    {
  • trunk/MagicSoft/Mars/manalysis/MCompProbCalc.cc

    r2173 r2206  
    8181//  - MHadronness
    8282//
    83 Bool_t MCompProbCalc::PreProcess(MParList *plist)
     83Int_t MCompProbCalc::PreProcess(MParList *plist)
    8484{
    8585    MHCompProb *p = (MHCompProb*)plist->FindObject("MHCompProb");
     
    140140//  - This is the hadroness stored in the MHadronness container
    141141//
    142 Bool_t MCompProbCalc::Process()
     142Int_t MCompProbCalc::Process()
    143143{
    144144    Double_t p = 1;
  • trunk/MagicSoft/Mars/manalysis/MCompProbCalc.h

    r1574 r2206  
    2525    ~MCompProbCalc();
    2626
    27     Bool_t PreProcess(MParList *plist);
    28     Bool_t Process();
     27    Int_t PreProcess(MParList *plist);
     28    Int_t Process();
    2929
    3030    ClassDef(MCompProbCalc, 1) // Task to calculate composite probabilities
  • trunk/MagicSoft/Mars/manalysis/MCurrents.h

    r2183 r2206  
    3737    void Print(Option_t *opt=NULL) const;
    3838
    39     Bool_t GetPixelContent(Float_t &val, Int_t idx, Float_t ratio=1, Int_t type=0) const
     39    Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const
    4040    {
    4141        val = (*this)[idx];
  • trunk/MagicSoft/Mars/manalysis/MEnergyEstParam.cc

    r2179 r2206  
    133133// Check for all necessary parameter containers.
    134134//
    135 Bool_t MEnergyEstParam::PreProcess(MParList *plist)
     135Int_t MEnergyEstParam::PreProcess(MParList *plist)
    136136{
    137137    if (!fMatrix)
     
    299299//  (see code)
    300300//
    301 Bool_t MEnergyEstParam::Process()
     301Int_t MEnergyEstParam::Process()
    302302{
    303303    const Double_t theta  = fMatrix ? GetVal(0) : fMc->GetTelescopeTheta();
  • trunk/MagicSoft/Mars/manalysis/MEnergyEstParam.h

    r2173 r2206  
    4040    Double_t GetVal(Int_t i) const;
    4141
     42    Int_t PreProcess(MParList *plist);
     43    Int_t Process();
    4244
    4345public:
    4446    MEnergyEstParam(const char *hil="MHillas", const char *name=NULL, const char *title=NULL);
    4547    ~MEnergyEstParam();
    46 
    47     Bool_t PreProcess(MParList *plist);
    48     Bool_t Process();
    4948
    5049    void Add(const TString hillas, const TString energy="MEnergyEst");
  • trunk/MagicSoft/Mars/manalysis/MEnergyEstimate.cc

    r2173 r2206  
    6060}
    6161
    62 Bool_t MEnergyEstimate::PreProcess(MParList *plist)
     62Int_t MEnergyEstimate::PreProcess(MParList *plist)
    6363{
    6464   fHillas = (MHillas*)plist->FindObject("MHillas");
     
    8383}
    8484
    85 Bool_t MEnergyEstimate::Process()
     85Int_t MEnergyEstimate::Process()
    8686{
    8787  //fEnergy->SetEnergy(fHillas->GetSize());
  • trunk/MagicSoft/Mars/manalysis/MEnergyEstimate.h

    r1664 r2206  
    2020    MEnergyEstimate(const char *name=NULL, const char *title=NULL);
    2121
    22     Bool_t PreProcess(MParList *plist);
    23     Bool_t Process();
     22    Int_t PreProcess(MParList *plist);
     23    Int_t Process();
    2424
    2525    ClassDef(MEnergyEstimate, 0) // Task to copy the MC energy (preliminary)
  • trunk/MagicSoft/Mars/manalysis/MFiltercutsCalc.cc

    r2173 r2206  
    6262    fList = new MFilterList;
    6363    fList->SetOwner();
     64    fList->SetBit(kMustCleanup);
     65
     66    gROOT->GetListOfCleanups()->Add(fList);
    6467}
    6568
     
    8083{
    8184    f->SetName(f->GetRule());
     85    f->SetBit(kMustCleanup);
    8286    fList->AddToList(f);
    8387}
     
    143147// there. PreProcess the filter list.
    144148//
    145 Bool_t MFiltercutsCalc::PreProcess(MParList *pList)
     149Int_t MFiltercutsCalc::PreProcess(MParList *pList)
    146150{
    147151    if (!fList->PreProcess(pList))
     
    160164// 0.25, otherwise to 0.75.
    161165//
    162 Bool_t MFiltercutsCalc::Process()
     166Int_t MFiltercutsCalc::Process()
    163167{
    164168    if (!fList->Process())
  • trunk/MagicSoft/Mars/manalysis/MFiltercutsCalc.h

    r2124 r2206  
    2424    TString     fHadronnessName;  // name of container to store hadronness
    2525
    26     Bool_t PreProcess(MParList *pList);
    27     Bool_t Process();
     26    Int_t PreProcess(MParList *pList);
     27    Int_t Process();
    2828
    2929    void AddToList(MFilter *f);
  • trunk/MagicSoft/Mars/manalysis/MMatrixLoop.cc

    r1525 r2206  
    5656// been accessed.
    5757//
    58 Bool_t MMatrixLoop::Process()
     58Int_t MMatrixLoop::Process()
    5959{
    6060    return fMatrix->SetNumRow(fNumRow++);
  • trunk/MagicSoft/Mars/manalysis/MMatrixLoop.h

    r1664 r2206  
    2121    MMatrixLoop(MHMatrix *mat, const char *name=NULL, const char *title=NULL);
    2222
    23     Bool_t PreProcess(MParList *plist)
     23    Int_t PreProcess(MParList *plist)
    2424    {
    2525        fNumRow = 0;
     
    2828    }
    2929
    30     Bool_t Process();
     30    Int_t Process();
    3131
    3232    ClassDef(MMatrixLoop, 0) // Task 'reading' events from a MHMatrix
  • trunk/MagicSoft/Mars/manalysis/MMcPedestalCopy.cc

    r2173 r2206  
    9292// If the runtype check fails the task is removed from the task list.
    9393//
    94 Bool_t MMcPedestalCopy::PreProcess(MParList *pList)
     94Int_t MMcPedestalCopy::PreProcess(MParList *pList)
    9595{
    9696    if (!CheckRunType(pList))
  • trunk/MagicSoft/Mars/manalysis/MMcPedestalCopy.h

    r1180 r2206  
    1717    Bool_t CheckRunType(MParList *pList) const;
    1818
     19    Int_t PreProcess(MParList *pList);
     20    Bool_t ReInit(MParList *pList);
     21
    1922public:
    2023    MMcPedestalCopy(const char *name=NULL, const char *title=NULL);
    21 
    22     Bool_t PreProcess(MParList *pList);
    23 
    24     virtual Bool_t ReInit(MParList *pList);
    2524
    2625    ClassDef(MMcPedestalCopy, 0)   // Task which copies the pedestals from the MC into the standard container
  • trunk/MagicSoft/Mars/manalysis/MMcPedestalNSBAdd.cc

    r2178 r2206  
    116116// - try to find a MMcRunHeader, too
    117117//
    118 Bool_t MMcPedestalNSBAdd::PreProcess(MParList *pList)
     118Int_t MMcPedestalNSBAdd::PreProcess(MParList *pList)
    119119{
    120120    if (!CheckRunType(pList))
  • trunk/MagicSoft/Mars/manalysis/MMcPedestalNSBAdd.h

    r1180 r2206  
    2121    Bool_t CheckRunType(MParList *pList) const;
    2222    Float_t GetDnsb(MParList *pList) const;
     23    Int_t PreProcess(MParList *pList);
     24    Bool_t ReInit(MParList *pList);
     25
    2326
    2427public:
     
    2629                      const char *name=NULL, const char *title=NULL);
    2730
    28     Bool_t PreProcess(MParList *pList);
    29 
    30     virtual Bool_t ReInit(MParList *pList);
    31 
    3231    ClassDef(MMcPedestalNSBAdd, 0)   // Task which adds the NSB fluctuations to the pedestals rms
    3332};
  • trunk/MagicSoft/Mars/manalysis/MMcTriggerLvl2Calc.cc

    r2173 r2206  
    7171//
    7272//
    73 Bool_t MMcTriggerLvl2Calc::PreProcess (MParList *pList)
     73Int_t MMcTriggerLvl2Calc::PreProcess (MParList *pList)
    7474{
    7575    // connect the raw data with this task
     
    130130//
    131131//
    132 Bool_t MMcTriggerLvl2Calc::Process()
     132Int_t MMcTriggerLvl2Calc::Process()
    133133{
    134134  //const Float_t energy = fMcEvt->GetEnergy();
     
    153153//           !to be fixed: create an histogram class!
    154154//
    155 Bool_t MMcTriggerLvl2Calc::PostProcess()
     155Int_t MMcTriggerLvl2Calc::PostProcess()
    156156{
    157157 
  • trunk/MagicSoft/Mars/manalysis/MMcTriggerLvl2Calc.h

    r2006 r2206  
    2828  MHMcTriggerLvl2 *fMHMcTriggerLvl2;
    2929
     30  Int_t PreProcess(MParList *pList);
     31  Int_t Process();
     32  Int_t PostProcess();
     33
    3034 public:
    3135    MMcTriggerLvl2Calc(const char *name=NULL, const char *title=NULL);   
    32 
    33     Bool_t PreProcess(MParList *pList);
    34     Bool_t Process();
    35     Bool_t PostProcess();
    3636
    3737    ClassDef(MMcTriggerLvl2Calc, 0) // Task to calculate the MMcTriggerLvl2 Parameters
  • trunk/MagicSoft/Mars/manalysis/MMultiDimDistCalc.cc

    r2173 r2206  
    105105// number of columns (with the same meaning).
    106106//
    107 Bool_t MMultiDimDistCalc::PreProcess(MParList *plist)
     107Int_t MMultiDimDistCalc::PreProcess(MParList *plist)
    108108{
    109109    fMGammas = (MHMatrix*)plist->FindObject("MatrixGammas", "MHMatrix");
     
    172172//  H = exp(-dh/dg);
    173173//
    174 Bool_t MMultiDimDistCalc::Process()
     174Int_t MMultiDimDistCalc::Process()
    175175{
    176176    // first copy the data from the data array to a vector event
  • trunk/MagicSoft/Mars/manalysis/MMultiDimDistCalc.h

    r1917 r2206  
    2727
    2828    void StreamPrimitive(ofstream &out) const;
     29    Int_t PreProcess(MParList *plist);
     30    Int_t Process();
    2931
    3032public:
     
    3840    void SetUseKernelMethod(Bool_t k=kTRUE) { fUseKernel = k; }
    3941
    40     Bool_t PreProcess(MParList *plist);
    41     Bool_t Process();
    42 
    4342    ClassDef(MMultiDimDistCalc, 1) // Task to calculate nearest neighbor-/kernel-hadronness
    4443};
  • trunk/MagicSoft/Mars/manalysis/MPadding.cc

    r2173 r2206  
    230230//  if not create one and add them to the list
    231231//
    232 Bool_t MPadding::PreProcess(MParList *pList)
     232Int_t MPadding::PreProcess(MParList *pList)
    233233{
    234234  fMcEvt = (MMcEvt*)pList->FindObject("MMcEvt");
     
    407407// Do the padding  (mySig ==> otherSig)
    408408//
    409 Bool_t MPadding::Padding(const Double_t quadraticDiff, const Double_t theta)
     409Int_t MPadding::Padding(const Double_t quadraticDiff, const Double_t theta)
    410410{
    411411   const UInt_t npix = fEvt->GetNumPixels();
     
    469469// 3) pad event
    470470//
    471 Bool_t MPadding::Process()
     471Int_t MPadding::Process()
    472472{
    473473    const Double_t theta = kRad2Deg*fMcEvt->GetTelescopeTheta();
  • trunk/MagicSoft/Mars/manalysis/MPadding.h

    r2062 r2206  
    4343    Bool_t   Padding(const Double_t quadDiff, const Double_t theta);
    4444
     45    Int_t PreProcess(MParList *pList);
     46    Int_t Process();
     47    Int_t PostProcess();
     48
    4549public:
    4650    MPadding(const char *name=NULL, const char *title=NULL);
    4751    ~MPadding();
    4852
    49     Bool_t PreProcess(MParList *pList);
    50     Bool_t Process();
    51     Bool_t PostProcess();
    52    
    5353    void SetRunType(Int_t runtype) { fRunType =  runtype; }
    5454    void SetGroup(Int_t group)     { fGroup   =  group; }
  • trunk/MagicSoft/Mars/manalysis/MPedCalcPedRun.cc

    r2173 r2206  
    6464}
    6565
    66 Bool_t MPedCalcPedRun::PreProcess( MParList *pList )
     66Int_t MPedCalcPedRun::PreProcess( MParList *pList )
    6767{
    6868    fRawEvt = (MRawEvtData*)pList->FindObject("MRawEvtData");
     
    8383
    8484
    85 Bool_t MPedCalcPedRun::Process()
     85Int_t MPedCalcPedRun::Process()
    8686{
    8787    MRawEvtPixelIter pixel(fRawEvt);
  • trunk/MagicSoft/Mars/manalysis/MPedCalcPedRun.h

    r1014 r2206  
    2929    Float_t CalcHiGainRmsErr(Float_t higainrms) const;
    3030
     31    Int_t PreProcess(MParList *pList);
     32    Int_t Process();
     33
    3134public:
    3235
    3336    MPedCalcPedRun(const char *name=NULL, const char *title=NULL);
    34 
    35     Bool_t PreProcess(MParList *pList);
    36     Bool_t Process();
    3737
    3838    ClassDef(MPedCalcPedRun, 0)   // Task to calculate pedestals from pedestal runs raw data
  • trunk/MagicSoft/Mars/manalysis/MPedestalCalc.cc

    r1629 r2206  
    7272}
    7373
    74 Bool_t MPedestalCalc::PreProcess(MParList *pList)
     74Int_t MPedestalCalc::PreProcess(MParList *pList)
    7575{
    7676    if (fHists)
     
    123123//  Then the current event is filled into the histograms.
    124124//
    125 Bool_t MPedestalCalc::Process()
     125Int_t MPedestalCalc::Process()
    126126{
    127127    //
  • trunk/MagicSoft/Mars/manalysis/MPedestalCalc.h

    r1630 r2206  
    4141    void Check(Int_t i);
    4242
    43     Bool_t PreProcess(MParList *pList);
    44     Bool_t Process();
    45     Bool_t PostProcess();
     43    Int_t PreProcess(MParList *pList);
     44    Int_t Process();
     45    Int_t PostProcess();
    4646
    4747public:
  • trunk/MagicSoft/Mars/manalysis/MPedestalCam.cc

    r2180 r2206  
    182182}
    183183
    184 Bool_t MPedestalCam::GetPixelContent(Float_t &val, Int_t idx, Float_t ratio, Int_t type) const
     184Bool_t MPedestalCam::GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type) const
    185185{
    186     val = (*this)[idx].GetMean()*ratio;
     186    val = (*this)[idx].GetMean()*cam.GetPixRatio(idx);
    187187    return kTRUE;
    188188}
  • trunk/MagicSoft/Mars/manalysis/MPedestalCam.h

    r2178 r2206  
    3535    void Print(Option_t *o="") const;
    3636
    37     Bool_t GetPixelContent(Float_t &val, Int_t idx, Float_t ratio=1, Int_t type=0) const;
     37    Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
    3838    void DrawPixelContent(Int_t num) const
    3939    {
  • trunk/MagicSoft/Mars/manalysis/MPointingCorr.cc

    r1888 r2206  
    6464//
    6565//
    66 Bool_t MPointingCorr::PreProcess(MParList *pList)
     66Int_t MPointingCorr::PreProcess(MParList *pList)
    6767{
    6868    MGeomCam *geom = (MGeomCam*)pList->FindObject("MGeomCam");
     
    107107// the parametrization is for Mkn421 2001 data (Daniel Kranich)
    108108//
    109 Bool_t MPointingCorr::Process()
     109Int_t MPointingCorr::Process()
    110110{
    111111   // fhourangle is the hour angle [degrees]
     
    133133   return kTRUE;
    134134}
    135 // --------------------------------------------------------------------------
    136 //
    137 // 
    138 //
    139 Bool_t MPointingCorr::PostProcess()
    140 {
    141     return kTRUE;
    142 }
    143 //============================================================================
    144 
    145 
    146 
    147 
    148 
    149 
  • trunk/MagicSoft/Mars/manalysis/MPointingCorr.h

    r1951 r2206  
    2828    Float_t       fMm2Deg;
    2929
     30    Int_t PreProcess(MParList *pList);
     31    Int_t Process();
     32
    3033public:
    3134    MPointingCorr(const char *name=NULL, const char *title=NULL,
    3235                  const char *srcname="MSrcPosCam");
    33 
    34     Bool_t PreProcess(MParList *pList);
    35     Bool_t Process();
    36     Bool_t PostProcess();
    3736
    3837    ClassDef(MPointingCorr, 0)   // Task to do the pointing correction
     
    4039
    4140#endif
    42 
    43 
    44 
    45 
    46 
    47 
    48 
    49 
    50 
    51 
    52 
Note: See TracChangeset for help on using the changeset viewer.