00001 00002 // Author : florent robinet (LAL - Orsay): robinet@lal.in2p3.fr 00004 #ifndef __ReadTriggers__ 00005 #define __ReadTriggers__ 00006 00007 #include "ReadTriggerMetaData.h" 00008 #include "Triggers.h" 00009 #include "TMath.h" 00010 #include "Streams.h" 00011 00012 using namespace std; 00013 00019 class ReadTriggers: public ReadTriggerMetaData, public Triggers, public Streams { 00020 00021 friend class SearchRead; 00022 00023 public: 00024 00037 ReadTriggers(const string aPattern, const string aDirectory="", const int aVerbose=0); 00038 00047 ReadTriggers(const string aPattern, Segments *aInSeg, const int aVerbose=0); 00048 00052 virtual ~ReadTriggers(void); 00064 bool SetNewPattern(const string aPattern); 00065 00066 // FIXME: this function, used by Coinc, should be removed 00073 //bool WriteClusters(TFile *aTFile, const string aDirectory=""); 00074 00075 00076 00077 ClassDef(ReadTriggers,0) 00078 }; 00079 00080 #endif 00081 00082