/[PAMELA software]/DarthVader/OrbitalInfo/src/OrbitalInfo.cpp
ViewVC logotype

Annotation of /DarthVader/OrbitalInfo/src/OrbitalInfo.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Tue Sep 5 14:49:45 2006 UTC (18 years, 3 months ago) by mocchiut
Branch: MAIN
CVS Tags: v2r00BETA
Changes since 1.4: +6 -6 lines
_NOT_ COMPILING yet, fixed AC, ND, S4, RunInfo, OrbitalInfo and Trigger

1 mocchiut 1.1 #include <OrbitalInfo.h>
2    
3 mocchiut 1.2 OrbitalInfo::OrbitalInfo(){
4 mocchiut 1.5 absTime = 0;
5     OBT = 0;
6     pkt_num = 0;
7 mocchiut 1.2 }
8 mocchiut 1.1
9    
10 mocchiut 1.3 void OrbitalInfo::Clear(){
11 mocchiut 1.5 absTime = 0;
12     OBT = 0;
13     pkt_num = 0;
14 mocchiut 1.3 }
15    
16 pam-fi 1.4 /**
17     * Fills a struct cOrbitalInfo with values from a OrbitalInfo object (to put data into a F77 common).
18     */
19     void OrbitalInfo::GetLevel2Struct(cOrbitalInfo *l2) const{
20     l2->abstime = absTime;
21     l2->obt = OBT;
22     l2->pkt_num = pkt_num;
23     }
24    
25     void OrbitalInfo::SetFromLevel2Struct(cOrbitalInfo *l2){
26     absTime = l2->abstime;
27     OBT = l2->obt;
28     pkt_num = l2->pkt_num;
29     }
30    
31 mocchiut 1.1 ClassImp(OrbitalInfo)
32    

  ViewVC Help
Powered by ViewVC 1.1.23