/[PAMELA software]/yoda/event/PamelaRun.cpp
ViewVC logotype

Diff of /yoda/event/PamelaRun.cpp

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

revision 2.7 by kusanagi, Thu Mar 3 12:57:48 2005 UTC revision 4.1 by kusanagi, Sat May 28 08:30:01 2005 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Author: kusanagi $   * $Author: kusanagi $
3   * $Date: 2005/02/09 22:24:33 $   * $Date: 2005/03/06 04:33:01 $
4   * $Revision: 2.6 $   * $Revision: 4.0 $
5   *   *
6   * Implementation of the PamelaRun class.   * Implementation of the PamelaRun class.
7   */   */
# Line 515  void PamelaRun::WriteHeaders(Algorithm* Line 515  void PamelaRun::WriteHeaders(Algorithm*
515      WriteHeader(algo, subpacket, PacketType::CalibCalPulse1);      WriteHeader(algo, subpacket, PacketType::CalibCalPulse1);
516      WriteHeader(algo, subpacket, PacketType::CalibCalPulse2);      WriteHeader(algo, subpacket, PacketType::CalibCalPulse2);
517      WriteHeader(algo, subpacket, PacketType::Physics);      WriteHeader(algo, subpacket, PacketType::Physics);
     WriteHeader(algo, subpacket, PacketType::CalibTrkBoth);  
518      WriteHeader(algo, subpacket, PacketType::CalibTrk1);      WriteHeader(algo, subpacket, PacketType::CalibTrk1);
519      WriteHeader(algo, subpacket, PacketType::CalibTrk2);      WriteHeader(algo, subpacket, PacketType::CalibTrk2);
     WriteHeader(algo, subpacket, PacketType::CalibTrd);  
520      WriteHeader(algo, subpacket, PacketType::CalibTof);      WriteHeader(algo, subpacket, PacketType::CalibTof);
521      WriteHeader(algo, subpacket, PacketType::CalibS4);      WriteHeader(algo, subpacket, PacketType::CalibS4);
522      WriteHeader(algo, subpacket, PacketType::CalibCalPed);      WriteHeader(algo, subpacket, PacketType::CalibCalPed);
# Line 586  void PamelaRun::WriteFiles(void) { Line 584  void PamelaRun::WriteFiles(void) {
584   * @param type the package type of the trees to fill.   * @param type the package type of the trees to fill.
585   */   */
586  void PamelaRun::FillTrees(const PacketType* type) {  void PamelaRun::FillTrees(const PacketType* type) {
587    for (TTreeList::iterator j = WritingRootTrees[type].begin();    try{
588         j != WritingRootTrees[type].end(); j++) {      for (TTreeList::iterator j = WritingRootTrees[type].begin();
589      (*j)->Fill();          j != WritingRootTrees[type].end(); j++) {
590      ;              (*j)->Fill();
591        }
592      } catch(Exception exc){
593        logger->fatal("ORRORE!!!");
594    }    }
595  }  }
596    

Legend:
Removed from v.2.7  
changed lines
  Added in v.4.1

  ViewVC Help
Powered by ViewVC 1.1.23