Changeset 861 for trunk/MagicSoft/Mars/mhist/MHMcEnergies.cc
- Timestamp:
- 07/10/01 12:41:13 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHMcEnergies.cc
r859 r861 23 23 \* ======================================================================== */ 24 24 25 ///////////////////////////////////////////////////////////////////////////// 26 // 27 // MHMcEnergies 28 // 29 // This class holds and array of MHMcEnergy objects in order to be able 30 // to compute the threshold for each of the different trigger conditions 31 // in a root file. 32 // 33 //////////////////////////////////////////////////////////////////////////// 25 34 #include "MHMcEnergies.h" 26 35 … … 30 39 ClassImp(MHMcEnergies); 31 40 41 // -------------------------------------------------------------------------- 42 // 43 // Default Constructor. 44 // 32 45 MHMcEnergies::MHMcEnergies(const UInt_t count, const char *name, const char *title) 33 46 : fNum(count) 34 47 { 35 //36 // default constructor37 //38 48 char aux[25]="MHMcEnergies"; 39 49 sprintf(aux+12, "[%i]", fNum); … … 48 58 } 49 59 60 // -------------------------------------------------------------------------- 61 // 62 // Default Destructor. 63 // 50 64 MHMcEnergies::~MHMcEnergies() 51 65 { 52 66 delete fHists; 53 67 } 54 68 // -------------------------------------------------------------------------- 69 // 70 // Add to the parameter list all the MHMcEnergy objects contained in the array. 71 // 55 72 void MHMcEnergies::AddEntriesToList(MParList *plist) 56 73 {
Note:
See TracChangeset
for help on using the changeset viewer.