99 if (
m_verbose) {
cout <<
"[L1TRate_Offline:] Called beginRun." << endl;}
129 m_algoBit[(algo->second).algoAlias()] = (algo->second).algoBitNumber();
138 TString tCategory = (*i).first;
139 TString tTrigger = (*i).second;
141 TString tErrorMessage =
"";
147 else if(tTrigger ==
"Undefined"){
148 TString tFunc =
"-1";
149 tTestFunction =
new TF1(
"FitParametrization_"+tTrigger,tFunc,0,
double(
m_maxNbins)-0.5);
152 TString tFunc =
"-1";
153 tTestFunction =
new TF1(
"FitParametrization_"+tTrigger,tFunc,0,
double(
m_maxNbins)-0.5);
154 tErrorMessage =
" (Undefined Test Function)";
157 TString tFunc =
"-1";
158 tTestFunction =
new TF1(
"FitParametrization_"+tTrigger,tFunc,0,
double(
m_maxNbins)-0.5);
161 if(tTrigger !=
"Undefined"){
164 tErrorMessage +=
" WARNING: Default Prescale = ";
168 if (tCategory ==
"Mu" && myMenuHelper.
getEtaRangeByAlias(tCategory,tTrigger) != 4294967295){
169 tErrorMessage +=
" WARNING: Eta Range = ";
172 else if(tCategory ==
"EG" && myMenuHelper.
getEtaRangeByAlias(tCategory,tTrigger) != 32639){
173 tErrorMessage +=
" WARNING: Eta Range = ";
176 else if(tCategory ==
"IsoEG" && myMenuHelper.
getEtaRangeByAlias(tCategory,tTrigger) != 32639){
177 tErrorMessage +=
" WARNING: Eta Range = ";
181 if(tCategory ==
"Mu" && myMenuHelper.
getQualityAlias(tCategory,tTrigger) != 240){
182 tErrorMessage +=
" WARNING: Quality = ";
190 "Cross Sec. vs Deliv. Lumi: "+tTrigger+tErrorMessage,
192 minInstantLuminosity,
193 maxInstantLuminosity,0,500);
199 "Cross Sec. vs Recor. Lumi: "+tTrigger+tErrorMessage,
201 minInstantLuminosity,
202 maxInstantLuminosity,0,500);
208 "Cross Sec. vs Inst. Lumi Algo: "+tTrigger+tErrorMessage,
210 minInstantLuminosity,
211 maxInstantLuminosity,0,500);
212 m_CountsVsLS[tTrigger] ->setAxisTitle(
"Instantaneous Luminosity [10^{30}cm^{-2}s^{-1}]" ,1);
213 m_CountsVsLS[tTrigger] ->setAxisTitle(
"Algorithm #sigma [#mu b]" ,2);
214 m_CountsVsLS[tTrigger] ->getTProfile()->GetListOfFunctions()->Add(tTestFunction);
215 m_CountsVsLS[tTrigger] ->getTProfile()->SetMarkerStyle(23);
217 m_algoFit[tTrigger] = (TF1*) tTestFunction->Clone(
"Fit_"+tTrigger);
T getParameter(std::string const &) const
MonitorElement * m_ErrorMonitor
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
std::map< std::string, std::string > m_selectedTriggers
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
std::map< TString, MonitorElement * > m_RecorLumiVsLS
std::map< TString, TF1 * > m_templateFunctions
bool getXSexFitsPython(const edm::ParameterSet &ps)
edm::ParameterSet m_parameters
std::map< TString, MonitorElement * > m_xSecObservedVsDelivLumi
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
std::map< TString, MonitorElement * > m_xSecObservedVsLS
std::map< TString, MonitorElement * > m_xSecObservedToExpected
const std::vector< std::vector< int > > & gtPrescaleFactors() const
get the prescale factors by reference
std::map< std::string, bool > m_inputCategories
T const * product() const
std::map< TString, MonitorElement * > m_CountsVsLS
const std::vector< std::vector< int > > * m_listsPrescaleFactors
std::map< TString, int > m_algoBit
std::map< TString, MonitorElement * > m_DelivLumiVsLS
std::map< TString, MonitorElement * > m_xSecObservedVsRecorLumi
void setCurrentFolder(const std::string &fullpath)
std::map< TString, TF1 * > m_algoFit