Changeset 215 in Idarraga
- Timestamp:
- Jul 20, 2011, 1:28:43 AM (13 years ago)
- Location:
- EUTelraw2mdm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
EUTelraw2mdm/allpix_dm.h
r212 r215 198 198 void SetDetectorId(Int_t id){m_detID = id;}; 199 199 void RewindAll(); 200 void RewindSoft(); 200 201 //TH2I * getAFrameHist(TString, TString, TString); 201 202 Int_t ** getAFrameMatrix(TString, TString); -
EUTelraw2mdm/write_mdm.h
r203 r215 10 10 11 11 #include <vector> 12 #include <map> 12 13 13 14 using namespace std; 15 16 namespace eudaq { 14 17 15 18 class mdm { … … 17 20 public: 18 21 19 mdm( int, TString, int, int);22 mdm(); 20 23 ~mdm(){}; 21 24 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();}; 23 33 24 34 private: … … 28 38 // map index in frames handler to det Id 29 39 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; 30 42 31 43 TString m_tempdir; 32 44 FramesHandler ** m_frames; 45 bool m_initialized; 33 46 34 47 }; 48 49 }
Note: See TracChangeset
for help on using the changeset viewer.