/[PAMELA software]/DarthVader/CalorimeterLevel2/src/CaloLevel2.cpp
ViewVC logotype

Diff of /DarthVader/CalorimeterLevel2/src/CaloLevel2.cpp

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

revision 1.19 by mocchiut, Tue Dec 16 12:42:31 2008 UTC revision 1.20 by pam-fi, Wed Oct 15 12:06:21 2014 UTC
# Line 99  CaloLevel2::CaloLevel2() {     Line 99  CaloLevel2::CaloLevel2() {    
99  void CaloLevel2::Set(){//ELENA  void CaloLevel2::Set(){//ELENA
100      if(!CaloTrk)CaloTrk = new TClonesArray("CaloTrkVar",1); //ELENA      if(!CaloTrk)CaloTrk = new TClonesArray("CaloTrkVar",1); //ELENA
101  }//ELENA  }//ELENA
102    //--------------------------------------
103    //
104    //
105    //--------------------------------------
106    void CaloLevel2::SetTrackArray(TClonesArray *track){//ELENA
107    //    if(track && strcmp(track->GetClass()->GetName(),"CaloTrkVar")==0){
108        if(track ){
109            if(CaloTrk)CaloTrk->Clear("C");
110            CaloTrk = track;
111        }
112    }
113    
114  /**  /**
115   * Clear the CaloLevel2 object   * Clear the CaloLevel2 object

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

  ViewVC Help
Powered by ViewVC 1.1.23