1 #ifndef DTLocalTriggerBaseTest_H
2 #define DTLocalTriggerBaseTest_H
29 #include <boost/cstdint.hpp>
76 void bookSectorHistos(
int wheel,
int sector, std::string hTag, std::string folder=
"" );
79 void bookWheelHistos(
int wheel, std::string hTag, std::string folder=
"" );
82 void bookCmsHistos( std::string hTag, std::string folder=
"" ,
bool isGlb =
false);
100 std::string
fullName(std::string htype);
106 std::string
getMEName(std::string histoTag, std::string subfolder,
int wh);
133 std::map<int,std::map<std::string,MonitorElement*> >
secME;
134 std::map<int,std::map<std::string,MonitorElement*> >
whME;
135 std::map<std::string,MonitorElement*>
cmsME;
std::map< int, std::map< std::string, MonitorElement * > > secME
std::vector< std::string > trigSources
virtual ~DTLocalTriggerBaseTest()
Destructor.
std::map< int, std::map< std::string, MonitorElement * > > whME
std::string baseFolderDCC
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
Perform begin lumiblock operations.
std::string baseFolderDDU
void bookCmsHistos(std::string hTag, std::string folder="", bool isGlb=false)
Book the new MEs (CMS summary)
DTLocalTriggerBaseTest()
Constructor.
void beginRun(edm::Run const &run, edm::EventSetup const &context)
BeginRun.
T * getHisto(MonitorElement *me)
Convert ME to Histogram fo type T.
edm::ESHandle< DTGeometry > muonGeom
void bookWheelHistos(int wheel, std::string hTag, std::string folder="")
Book the new MEs (for each wheel)
void bookSectorHistos(int wheel, int sector, std::string hTag, std::string folder="")
Book the new MEs (for each sector)
void endRun(edm::Run const &run, edm::EventSetup const &context)
Perform client diagnostic in offline.
std::string category()
Get message logger name.
std::pair< float, float > phiRange(const DTChamberId &id)
Calculate phi range for histograms.
edm::ParameterSet parameters
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
TObject * getRootObject(void) const
virtual void runClientDiagnostic()=0
Perform client analysis.
std::string getMEName(std::string histoTag, std::string subfolder, const DTChamberId &chambid)
Get the ME name (by chamber)
std::map< std::string, MonitorElement * > cmsME
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
Perform client diagnostic in online.
std::string & topFolder(bool isDCC)
Get top folder name.
void setConfig(const edm::ParameterSet &ps, std::string name)
Set configuration variables.
std::vector< std::string > hwSources
std::string fullName(std::string htype)
Create fullname from histo partial name.