/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

CbltTraits_v0_0.h
Go to the documentation of this file.
00001 #ifndef CBLTREADOUTFORMAT_CBLTTRAITS_V0_0_H
00002 #define CBLTREADOUTFORMAT_CBLTTRAITS_V0_0_H
00003 
00004 /*
00005  *  CbltTraits_v0_0.h
00006  *  CbltReadoutFormat
00007  *
00008  *  Created by Simon Patton on 7/21/10.
00009  *  Copyright 2010 DayaBay Collaboration. All rights reserved.
00010  *
00011  */
00012 
00013 #include "CbltReadoutFormat/CbltTraits.h"
00014 
00015 namespace DybDaq {
00016     
00017     class CbltTraits_v0_0 : public CbltTraits {
00018         
00019     public:
00020         
00024         static const char* key();
00025         
00029         CbltTraits_v0_0();
00030         
00034         virtual ~CbltTraits_v0_0();
00035         
00036         /*
00037          * Returns the major version of the event format as an unsigned int.
00038          */
00039         virtual unsigned int majorVersion() const;
00040         
00041         /*
00042          * Returns the major version of the event format as an unsigned int.
00043          */
00044         virtual unsigned int minorVersion() const;
00045         
00049         virtual const std::string versionString() const;
00050         
00051     protected:
00052         
00056         virtual unsigned int markersEnd() const;
00057         
00061         virtual const unsigned int* markers() const;
00062         
00066         virtual unsigned int fieldsEnd() const;
00067         
00071         virtual const unsigned int* indices() const;
00072         
00076         virtual const unsigned int* shifts() const;
00077         
00081         virtual const unsigned int* masks() const;
00082         
00086         virtual const std::string* descriptions() const;
00087         
00091         virtual DaqTraits::Definitions* definitions(unsigned int component) const;
00092         
00096         virtual void setDefinitions(DaqTraits::Definitions* definitions,
00097                                     unsigned int component);        
00101         virtual const unsigned int* componentFields(unsigned int component) const;
00102         
00106         virtual const unsigned int componentFieldsEnd(unsigned int component) const;    
00107         
00111         virtual unsigned int maxModuleType() const;
00112         
00116         virtual const unsigned int* moduleTypes() const;
00117         
00121         virtual const char** moduleTypeStrings() const;
00122         
00126         virtual unsigned int headSize() const;
00127         
00131         virtual unsigned int footSize() const;
00132         
00136         virtual void initializeHead(char* buffer) const;
00137         
00141         virtual void initializeFoot(char* buffer) const;
00142         
00143     private:
00144         
00148         CbltTraits_v0_0(CbltTraits_v0_0& rhs);
00149         
00153         CbltTraits_v0_0& operator=(CbltTraits_v0_0& rhs);
00154         
00155     };
00156     
00157 }
00158 
00159 #endif // CBLTREADOUTFORMAT_CBLTTRAITS_V0_0_H
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:53:11 for CbltReadoutFormat by doxygen 1.7.4