/[PAMELA software]/yoda/techmodel/TechmodelAlgorithm.cpp
ViewVC logotype

Contents of /yoda/techmodel/TechmodelAlgorithm.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4.4 - (show annotations) (download)
Sat May 28 10:44:11 2005 UTC (19 years, 6 months ago) by kusanagi
Branch: MAIN
Changes since 4.0: +2 -2 lines
Main features of this release are:
- updated classes documentations;
- major changes on the calibration fortran routine for the calorimeter
- update on the TMTC thermistors
- removed old classes as CalibTrkBoth and CalibTrd

1 /** @file
2 * $Author: kusanagi $
3 * $Date: 2005/03/06 04:33:02 $
4 * $Revision: 4.0 $
5 *
6 * Implementation of the base class for the algorithms used to read the
7 * techmodel data file of Pamela.
8 */
9
10
11 #include "TechmodelAlgorithm.h"
12 #include "TechmodelPamelaRun.h"
13
14 using namespace pamela;
15 using namespace pamela::techmodel;
16
17 TechmodelAlgorithm::TechmodelAlgorithm(const PacketType* type, std::string name):
18 Algorithm(type, name) {
19 }
20
21 /**
22 * Set the input stream used to read the techmodel file.
23 */
24 void TechmodelAlgorithm::SetInputStream(PamelaRun* run) {
25 InputFile = (dynamic_cast<TechmodelPamelaRun*>(run))->GetInputFile();
26 }
27
28 /**
29 * On default, the Init() function just calls the SetInputStream().
30 */
31 void TechmodelAlgorithm::Init(PamelaRun* run) {
32 SetInputStream(run);
33 }
34
35 ClassImp(TechmodelAlgorithm)

  ViewVC Help
Powered by ViewVC 1.1.23