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

TestSubscription.cc File Reference

#include "TROOT.h"
#include "TStopwatch.h"
#include "MessageService/MsgService.h"
#include "Dispatcher/DDS.h"
#include "Dispatcher/DDSSubscription.h"

Go to the source code of this file.

Functions

TROOT root ("TestSubscription","MINOS Data Dispatcher System Subscription Test")
 CVSID ("$Id: TestSubscription.cc,v 1.4 2003/09/30 19:53:32 kasahara Exp $")
int main (int, char **)


Function Documentation

CVSID "$Id: TestSubscription.  cc,
v 1.4 2003/09/30 19:53:32 kasahara Exp $" 
 

int main int  ,
char ** 
 

COMMAND LINE

CALIB CONSTANTS

BEAM RUN KEY

Cerenkov ADC cuts:

ATTENUATION PARAMS

FILE + TREE

Definition at line 16 of file TestSubscription.cc.

References MSGSTREAM.

00016                                             {
00017 
00018   MsgStream& ms = MSGSTREAM("DDS",Msg::kInfo);
00019 
00020   DDSSubscription* sub = new DDSSubscription(DDS::kDaq);
00021 
00022   ms << "\n" << sub << endl;  // print initial status of subscription
00023 
00024   sub -> SetDataSource(DDS::kDaq);
00025   sub -> AddStream(Per::kDaqSnarl,"(RawDaqSnarlHeader*)fHeader -> GetTrigSrc() == 0x01");
00026   
00027   ms << "\n" << sub << endl; // print status of subscription
00028 
00029   sub -> SetSelection(Per::kDaqSnarl,"");
00030   
00031   ms << "\n" << sub << endl; // print status of subscription
00032 
00033   return 0;
00034 
00035 }

TROOT root "TestSubscription"  ,
"MINOS Data Dispatcher System Subscription Test" 
 


Generated on Mon Feb 15 11:08:14 2010 for loon by  doxygen 1.3.9.1