CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Enumerations | Functions
UtilFunctions.h File Reference

Ecal Monitor Utility functions. More...

#include <cmath>
#include <iostream>
#include "TH1F.h"
#include "TProfile.h"
#include "TClass.h"

Go to the source code of this file.

Namespaces

 ecaldqm
 

Enumerations

enum  ecaldqm::Directions { ecaldqm::kLeft, ecaldqm::kRight }
 

Functions

void ecaldqm::calcBins (int binWidth, int divisor, long int start_time, long int last_time, long int current_time, long int &binDiff, long int &diff)
 
TObject * ecaldqm::cloneIt (MonitorElement *me, std::string histo)
 
void ecaldqm::getAverageFromTProfile (TProfile *p, double &mean, double &rms)
 
void ecaldqm::getMeanRms (TObject *pre, TObject *cur, double &mean, double &rms)
 
void ecaldqm::shift (TH1 *h, Directions d, int bins)
 
void ecaldqm::shift2Left (TH1 *h, int bins)
 
void ecaldqm::shift2Right (TH1 *h, int bins)
 
void ecaldqm::shiftAxis (TH1 *h, Directions d, double shift)
 

Detailed Description

Ecal Monitor Utility functions.

Author
Dongwook Jang
Version
Revision:
1.5
Date
Date:
2011/08/12 08:25:21

Definition in file UtilFunctions.h.