REST-for-Physics  v2.3
Rare Event Searches ToolKit for Physics
TRestAxionTemplate.h
1/*************************************************************************
2 * This file is part of the REST software framework. *
3 * *
4 * Copyright (C) 2016 GIFNA/TREX (University of Zaragoza) *
5 * For more information see http://gifna.unizar.es/trex *
6 * *
7 * REST is free software: you can redistribute it and/or modify *
8 * it under the terms of the GNU General Public License as published by *
9 * the Free Software Foundation, either version 3 of the License, or *
10 * (at your option) any later version. *
11 * *
12 * REST is distributed in the hope that it will be useful, *
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15 * GNU General Public License for more details. *
16 * *
17 * You should have a copy of the GNU General Public License along with *
18 * REST in $REST_PATH/LICENSE. *
19 * If not, see http://www.gnu.org/licenses/. *
20 * For the list of contributors see $REST_PATH/CREDITS. *
21 *************************************************************************/
22
23#ifndef _TRestAxionTemplate
24#define _TRestAxionTemplate
25
26#include <TRestMetadata.h>
27
30 private:
31 void Initialize();
32
33 void InitFromConfigFile();
34
35 Double_t fDummyValue; //->
36
37 public:
38 void PrintMetadata();
39
40 // Constructors
42 TRestAxionTemplate(const char* cfgFileName, std::string name = "");
43 // Destructor
45
46 ClassDef(TRestAxionTemplate, 1);
47};
48#endif
A metadata class to serve as example on the implementation of future metadata classes.
void Initialize()
Making default settings.
void PrintMetadata()
Implemented it in the derived metadata class to print out specific metadata information.
void InitFromConfigFile()
To make settings from rml file. This method must be implemented in the derived class.
A base class for any REST metadata class.
Definition: TRestMetadata.h:74