BAT  0.9.4
The Bayesian analysis toolkit
 All Classes Namespaces Functions Variables Enumerations
BCMTFSystematicVariation.cxx
1 /*
2  * Copyright (C) 2007-2014, the BAT core developer team
3  * All rights reserved.
4  *
5  * For the licensing terms see doc/COPYING.
6  * For documentation see http://mpp.mpg.de/bat
7  */
8 
9 // ---------------------------------------------------------
10 
11 #include <TH1D.h>
12 
13 #include "BCMTFSystematicVariation.h"
14 
15 // ---------------------------------------------------------
16 BCMTFSystematicVariation::BCMTFSystematicVariation(const char * channelname, const char * systematicname, int nprocesses)
17 {
18  fChannelName = channelname;
19  fSystematicName = systematicname;
20  for (int i = 0; i < nprocesses; ++i) {
21  fHistogramUpContainer.push_back(0);
22  fHistogramDownContainer.push_back(0);
23  }
24 }
25 
26 // ---------------------------------------------------------
28 {}
29 
30 // ---------------------------------------------------------
BCMTFSystematicVariation(const char *channelname, const char *systematicname, int nprocesses)