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 |
*/ |
*/ |
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); |
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 |
|
|