Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

AcnetDevice Struct Reference

#include <AcnetDevice.h>

List of all members.

Public Member Functions

 AcnetDevice ()
 AcnetDevice (const char *n)
virtual ~AcnetDevice ()
void clear ()

Public Attributes

int event
int delay
int sec
int msec
double timestamp
char name [8]
int ndata
double * data


Detailed Description

Encapsulate a generic AcnetDevice.

Definition at line 9 of file AcnetDevice.h.


Constructor & Destructor Documentation

AcnetDevice::AcnetDevice  ) 
 

Definition at line 2 of file AcnetDevice.cxx.

References clear(), and name.

00002                          {
00003     clear(); name[0] = '\0'; 
00004 }

AcnetDevice::AcnetDevice const char *  n  ) 
 

Definition at line 5 of file AcnetDevice.cxx.

References clear(), and name.

00006 { 
00007     for (int i=0; i<8; ++i) {
00008         name[i] = n[i];
00009         if (! n[i]) break;
00010     }
00011     clear(); 
00012 }

AcnetDevice::~AcnetDevice  )  [virtual]
 

Definition at line 13 of file AcnetDevice.cxx.

00013 {}


Member Function Documentation

void AcnetDevice::clear  ) 
 

Definition at line 14 of file AcnetDevice.cxx.

References data, delay, event, msec, ndata, sec, and timestamp.

Referenced by AcnetDevice(), and BmntImp::Fill().

00014                         {
00015     event=delay=sec=msec=ndata = 0;
00016     timestamp = 0.0;
00017     data = 0;
00018 }


Member Data Documentation

double* AcnetDevice::data
 

Definition at line 15 of file AcnetDevice.h.

Referenced by clear(), ProtonDist::Fill(), Npot::Fill(), BmntImp::Fill(), Pedestals::GeneratePeds(), horn_off(), make_plots(), pedmaker(), Swic::SetAcnetDevice(), and tortgt_ok().

int AcnetDevice::delay
 

Definition at line 10 of file AcnetDevice.h.

Referenced by clear(), and BmntImp::Fill().

int AcnetDevice::event
 

Definition at line 10 of file AcnetDevice.h.

Referenced by clear(), Npot::Fill(), and BmntImp::Fill().

int AcnetDevice::msec
 

Definition at line 11 of file AcnetDevice.h.

Referenced by clear(), and BmntImp::Fill().

char AcnetDevice::name[8]
 

Definition at line 13 of file AcnetDevice.h.

Referenced by AcnetDevice(), and Swic::SetAcnetDevice().

int AcnetDevice::ndata
 

Definition at line 14 of file AcnetDevice.h.

Referenced by clear(), ProtonDist::Fill(), Npot::Fill(), DeltaT::Fill(), BmntImp::Fill(), horn_off(), make_plots(), Swic::SetAcnetDevice(), and tortgt_ok().

int AcnetDevice::sec
 

Definition at line 11 of file AcnetDevice.h.

Referenced by clear(), BmntImp::Fill(), and tortgt_ok().

double AcnetDevice::timestamp
 

Definition at line 12 of file AcnetDevice.h.

Referenced by clear(), fill(), Npot::Fill(), MaxDaeDt::Fill(), DeltaT::Fill(), BmntImp::Fill(), Pedestals::GeneratePeds(), and pedmaker().


The documentation for this struct was generated from the following files:
Generated on Sat Nov 21 22:49:10 2009 for loon by  doxygen 1.3.9.1