00001 #ifndef __BCMTFSYSTEMATIC__H 00002 #define __BCSYSTEMAITC__H 00003 00018 /* 00019 * Copyright (C) 2008-2012, Daniel Kollar and Kevin Kroeninger. 00020 * All rights reserved. 00021 * 00022 * For the licensing terms see doc/COPYING. 00023 */ 00024 00025 // --------------------------------------------------------- 00026 00027 #include <string> 00028 00029 // --------------------------------------------------------- 00030 class BCMTFSystematic 00031 { 00032 public: 00033 00034 // Constructors and destructor 00035 BCMTFSystematic(const char * name); 00036 ~BCMTFSystematic(); 00037 00038 // setters 00039 00040 void SetFlagSystematicActive(bool flag) 00041 { fFlagSystematicActive = flag; }; 00042 00043 // getters 00044 std::string GetName() 00045 { return fSystematicName; }; 00046 00047 // return flag 00048 bool GetFlagSystematicActive() 00049 { return fFlagSystematicActive; }; 00050 00051 private: 00052 00053 // name of the systematic source 00054 std::string fSystematicName; 00055 00056 // flag: systematic is used (true) or not (false) in fit 00057 bool fFlagSystematicActive; 00058 }; 00059 // --------------------------------------------------------- 00060 00061 #endif 00062