/[PAMELA software]/calo/flight/CaloEnergy/src/CaloEnergy.cpp
ViewVC logotype

Diff of /calo/flight/CaloEnergy/src/CaloEnergy.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by mocchiut, Thu Sep 10 12:53:30 2009 UTC revision 1.17 by mocchiut, Fri Nov 27 10:31:08 2009 UTC
# Line 45  void CaloEnergy::UseLevel2(){ Line 45  void CaloEnergy::UseLevel2(){
45      delete clong;      delete clong;
46      clong = new CaloLong(L2);      clong = new CaloLong(L2);
47      clong->SplitInto(0,22);      clong->SplitInto(0,22);
48        clong->HeavyTail(true);
49    };    };
50    if ( cp ) delete cp;    if ( cp ) delete cp;
51    cp = NULL;    cp = NULL;
# Line 61  void CaloEnergy::UseCaloPreSampler(){ Line 62  void CaloEnergy::UseCaloPreSampler(){
62  //   cp->ForceCaloFit();  //   cp->ForceCaloFit();
63  //   cp->SetDebug(true);  //   cp->SetDebug(true);
64  //   cp->Process();  //   cp->Process();
65    if ( clong ) clong->SetCaloLevel2Pointer(cp->GetLevel2Pointer());    if ( clong ) clong->SetCaloLevel2Pointer(cp->GetCaloLevel2Pointer());
66  }  }
67    
68    
# Line 70  void CaloEnergy::UseLongFit(){ Line 71  void CaloEnergy::UseLongFit(){
71    fLong = true;    fLong = true;
72    if ( !clong ){    if ( !clong ){
73      clong = new CaloLong(L2);      clong = new CaloLong(L2);
74      if ( cp ) clong->SetCaloLevel2Pointer(cp->GetLevel2Pointer());      if ( cp ) clong->SetCaloLevel2Pointer(cp->GetCaloLevel2Pointer());
75      clong->SplitInto(0,22);      clong->SplitInto(0,22);
76        clong->HeavyTail(true);
77    };    };
78    //    //
79  }  }

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.23