Changeset 215 in Idarraga


Ignore:
Timestamp:
Jul 20, 2011, 1:28:43 AM (13 years ago)
Author:
idarraga
Message:
 
Location:
EUTelraw2mdm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • EUTelraw2mdm/allpix_dm.h

    r212 r215  
    198198        void  SetDetectorId(Int_t id){m_detID = id;};
    199199        void RewindAll();
     200        void RewindSoft();
    200201        //TH2I * getAFrameHist(TString, TString, TString);
    201202        Int_t ** getAFrameMatrix(TString, TString);
  • EUTelraw2mdm/write_mdm.h

    r203 r215  
    1010
    1111#include <vector>
     12#include <map>
    1213
    1314using namespace std;
     15
     16namespace eudaq {
    1417
    1518class mdm {
     
    1720public:
    1821
    19         mdm(int, TString, int, int);
     22        mdm();
    2023        ~mdm(){};
    2124
    22         void dofill(int);
     25        int getndet(){return m_nOfDetectors;};
     26        void dofill(int, int, int, int, int);
     27        void writetontuple(int, int);
     28        bool isInitialized(){return m_initialized;};
     29        void init(vector<int>, TString, int, int);
     30        map<int, int> getDetIdToIndexMap(){return m_detIdToIndex;};
     31        int * getDetIdToIndexArray(){return m_detIdToIndexArray;};
     32        //void clearframe(int fId){m_frames[m_detIdToIndex[fId]]->CleanUpMatrix();};
    2333
    2434private:
     
    2838        // map index in frames handler to det Id
    2939        map<int, int> m_detIdToIndex; // key is the id --> value is the index
     40        // copy of previous map in C-style array for limitations with serialization
     41        int * m_detIdToIndexArray;
    3042
    3143        TString m_tempdir;
    3244        FramesHandler ** m_frames;
     45        bool m_initialized;
    3346
    3447};
     48
     49}
Note: See TracChangeset for help on using the changeset viewer.