Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 124496
b: "refs/heads/l1t-devel-CMSSW_7_4_0_pre5"
c: fc2090c
h: "refs/heads/l1t-devel-CMSSW_7_4_0_pre5"
v: v3
  • Loading branch information
nclopezo committed Jul 31, 2013
1 parent ab1fd0f commit 4099619
Show file tree
Hide file tree
Showing 147 changed files with 5,244 additions and 2,333 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
"refs/heads/l1t-devel-CMSSW_7_4_0_pre5": 302924dbb4d2cdc07cf9cf9e199b3827ca0b6c20
"refs/heads/l1t-devel-CMSSW_7_4_0_pre5": fc2090cc20ae1c835a5365b46451dee37bba5ed0
1 change: 0 additions & 1 deletion trunk/Calibration/EcalCalibAlgos/src/ZeeCalibration.cc
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
#include "DataFormats/Common/interface/Handle.h"
#include "DataFormats/Common/interface/TriggerResults.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/Framework/interface/CachedProducts.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "FWCore/Framework/interface/TriggerNamesService.h"

Expand Down
37 changes: 20 additions & 17 deletions trunk/DQM/BeamMonitor/plugins/Vx3DHLTAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
//
// Original Author: Mauro Dinardo,28 S-020,+41227673777,
// Created: Tue Feb 23 13:15:31 CET 2010
// $Id: Vx3DHLTAnalyzer.cc,v 1.105 2012/09/14 07:50:15 davidlt Exp $

// $Id: Vx3DHLTAnalyzer.cc,v 1.107 2013/07/04 16:20:11 dinardo Exp $

#include "DQM/BeamMonitor/plugins/Vx3DHLTAnalyzer.h"

Expand Down Expand Up @@ -1065,6 +1064,25 @@ void Vx3DHLTAnalyzer::endLuminosityBlock(const LuminosityBlock& lumiBlock,


void Vx3DHLTAnalyzer::beginJob()
{
// ### Set internal variables ###
reset("scratch");
prescaleHistory = 1;
maxLumiIntegration = 15;
minVxDoF = 10.;
// For vertex fitter without track-weight: d.o.f. = 2*NTracks - 3
// For vertex fitter with track-weight: d.o.f. = sum_NTracks(2*track_weight) - 3
internalDebug = false;
considerVxCovariance = true;
pi = 3.141592653589793238;
// ##############################
}


void Vx3DHLTAnalyzer::endJob() { reset("scratch"); }


void Vx3DHLTAnalyzer::beginRun()
{
DQMStore* dbe = 0;
dbe = Service<DQMStore>().operator->();
Expand Down Expand Up @@ -1182,23 +1200,8 @@ void Vx3DHLTAnalyzer::beginJob()
// - 0% at the moment of creation of the histogram
// - n% numberGoodFits / numberFits
}

// ### Set internal variables ###
reset("scratch");
prescaleHistory = 1;
maxLumiIntegration = 15;
minVxDoF = 10.;
// For vertex fitter without track-weight: d.o.f. = 2*NTracks - 3
// For vertex fitter with track-weight: d.o.f. = sum_NTracks(2*track_weight) - 3
internalDebug = false;
considerVxCovariance = true;
pi = 3.141592653589793238;
// ##############################
}


void Vx3DHLTAnalyzer::endJob() { reset("scratch"); }


// Define this as a plug-in
DEFINE_FWK_MODULE(Vx3DHLTAnalyzer);
1 change: 1 addition & 0 deletions trunk/DQM/BeamMonitor/plugins/Vx3DHLTAnalyzer.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ class Vx3DHLTAnalyzer : public edm::EDAnalyzer {
virtual void endLuminosityBlock(const edm::LuminosityBlock& lumiBlock,
const edm::EventSetup& iSetup);
virtual void endJob();
virtual void beginRun();


// #######################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
#include <map>


class CastorChannelQualityMonitor: public CastorBaseMonitor{
class CastorChannelQualityMonitor: public CastorBaseMonitor
{

typedef std::map<uint32_t,float,std::less<uint32_t> > MapType;

Expand All @@ -34,6 +35,7 @@ class CastorChannelQualityMonitor: public CastorBaseMonitor{
~CastorChannelQualityMonitor();

void setup(const edm::ParameterSet& ps, DQMStore* dbe);
void beginRun(const edm::Run& iRun, const edm::EventSetup& iSetup);
void processEvent(const CastorRecHitCollection& castorHits);
void reset();

Expand Down Expand Up @@ -73,8 +75,6 @@ class CastorChannelQualityMonitor: public CastorBaseMonitor{
MonitorElement* overallStatus;
double fraction;



};

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class CastorDataIntegrityMonitor: public CastorBaseMonitor
void setup(const edm::ParameterSet& ps, DQMStore* dbe);

void processEvent(const FEDRawDataCollection& RawData, const HcalUnpackerReport& report, const CastorElectronicsMap& emap);
void beginRun(const edm::EventSetup& iSetup);

void unpack(const FEDRawData& raw, const CastorElectronicsMap& emap);

Expand Down
2 changes: 1 addition & 1 deletion trunk/DQM/CastorMonitor/interface/CastorDigiMonitor.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class CastorDigiMonitor: public CastorBaseMonitor {
~CastorDigiMonitor();

void setup(const edm::ParameterSet& ps, DQMStore* dbe);

void beginRun(const edm::EventSetup& iSetup);
void processEvent(const CastorDigiCollection& cast,const CastorDbService& cond);


Expand Down
54 changes: 0 additions & 54 deletions trunk/DQM/CastorMonitor/interface/CastorEventDisplay.h

This file was deleted.

22 changes: 1 addition & 21 deletions trunk/DQM/CastorMonitor/interface/CastorHIMonitor.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class CastorHIMonitor: public CastorBaseMonitor {
~CastorHIMonitor();

void setup(const edm::ParameterSet& ps, DQMStore* dbe);
void beginRun(const edm::EventSetup& iSetup);
void processEvent(const CastorRecHitCollection& castorHits, const CastorDigiCollection& cast, const CastorDbService& cond);
void reset();

Expand All @@ -22,7 +23,6 @@ class CastorHIMonitor: public CastorBaseMonitor {
int ievt_;



////--- CASTOR channels
int module;
int sector;
Expand All @@ -48,8 +48,6 @@ class CastorHIMonitor: public CastorBaseMonitor {
////---- total energy deposited in the whole CASTOR
float EtotalCASTOR;




////---- define Monitoring elements

Expand Down Expand Up @@ -159,8 +157,6 @@ class CastorHIMonitor: public CastorBaseMonitor {
MonitorElement* meEtotalEMvsHAD;




////---- charge in sectors
MonitorElement* meChargeSector1;
MonitorElement* meChargeSector2;
Expand Down Expand Up @@ -263,22 +259,6 @@ class CastorHIMonitor: public CastorBaseMonitor {
////--- total charge ratio EM/HAD per event
MonitorElement* meChargeTotalEMvsHAD;

















};

#endif
2 changes: 1 addition & 1 deletion trunk/DQM/CastorMonitor/interface/CastorLEDMonitor.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class CastorLEDMonitor: public CastorBaseMonitor {
~CastorLEDMonitor();

void setup(const edm::ParameterSet& ps, DQMStore* dbe);

void beginRun(const edm::EventSetup& iSetup);
void processEvent(const CastorDigiCollection& cast, const CastorDbService& cond);

void reset();
Expand Down
13 changes: 3 additions & 10 deletions trunk/DQM/CastorMonitor/interface/CastorMonitorModule.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
#include "DQM/CastorMonitor/interface/CastorChannelQualityMonitor.h"
#include "DQM/CastorMonitor/interface/CastorLEDMonitor.h"
#include "DQM/CastorMonitor/interface/CastorPSMonitor.h"
#include "DQM/CastorMonitor/interface/CastorEventDisplay.h"
#include "DQM/CastorMonitor/interface/CastorHIMonitor.h"
#include "DQM/CastorMonitor/interface/CastorDataIntegrityMonitor.h"
#include "DQM/CastorMonitor/interface/CastorTowerJetMonitor.h"
Expand All @@ -74,7 +73,6 @@




class CastorMonitorModule : public edm::EDAnalyzer{

public:
Expand Down Expand Up @@ -191,7 +189,6 @@ class CastorMonitorModule : public edm::EDAnalyzer{
int ievt_pre_; //-- copy of counter used for prescale purposes
bool fedsListed_;

//edm::InputTag inputLabelGT_;
edm::InputTag inputLabelRaw_;
edm::InputTag inputLabelReport_;
edm::InputTag inputLabelDigi_;
Expand All @@ -203,13 +200,10 @@ class CastorMonitorModule : public edm::EDAnalyzer{
edm::InputTag inputLabelCastorBasicJets_ ;
edm::InputTag inputLabelCastorJetIDs_ ;



////---- define CastorTowerCollection
// typedef std::vector<reco::CastorTower> CastorTowerCollection;

//edm::InputTag inputLabelCaloTower_;
//edm::InputTag inputLabelLaser_;
// edm::InputTag inputLabelCaloTower_;
// edm::InputTag inputLabelLaser_;

////---- Maps of readout hardware unit to calorimeter channel
std::map<uint32_t, std::vector<HcalCastorDetId> > DCCtoCell;
Expand All @@ -226,7 +220,7 @@ class CastorMonitorModule : public edm::EDAnalyzer{
MonitorElement* meLatency_;
MonitorElement* meQuality_;
MonitorElement* CastorEventProduct;


////---- define monitors
CastorMonitorSelector* evtSel_;
Expand All @@ -235,7 +229,6 @@ class CastorMonitorModule : public edm::EDAnalyzer{
CastorDigiMonitor* DigiMon_;
CastorLEDMonitor* LedMon_;
CastorPSMonitor* PSMon_;
CastorEventDisplay* EDMon_;
CastorHIMonitor* HIMon_;
CastorDataIntegrityMonitor* DataIntMon_;
CastorTowerJetMonitor* TowerJetMon_;
Expand Down
1 change: 1 addition & 0 deletions trunk/DQM/CastorMonitor/interface/CastorPSMonitor.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class CastorPSMonitor: public CastorBaseMonitor {
~CastorPSMonitor();

void setup(const edm::ParameterSet& ps, DQMStore* dbe);
void beginRun(const edm::Run& iRun, const edm::EventSetup& iSetup);
void processEvent(const CastorDigiCollection& castorDigis, const CastorDbService& conditions, std::vector<HcalGenericDetId> listEMap, int iBunch, float PedSigmaInChannel[14][16]);
void reset();

Expand Down
1 change: 1 addition & 0 deletions trunk/DQM/CastorMonitor/interface/CastorRecHitMonitor.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class CastorRecHitMonitor: public CastorBaseMonitor {
~CastorRecHitMonitor();

void setup(const edm::ParameterSet& ps, DQMStore* dbe);
void beginRun(const edm::EventSetup& iSetup);
void processEvent(const CastorRecHitCollection& castorHits);
void reset();

Expand Down
1 change: 1 addition & 0 deletions trunk/DQM/CastorMonitor/interface/CastorTowerJetMonitor.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class CastorTowerJetMonitor: public CastorBaseMonitor {
~CastorTowerJetMonitor();

void setup(const edm::ParameterSet& ps, DQMStore* dbe);
void beginRun(const edm::Run& iRun, const edm::EventSetup& iSetup);

void processEventTowers(const reco::CastorTowerCollection& castorTowers);
void processEventJets(const reco::BasicJet& castorBasicJets);
Expand Down
Loading

0 comments on commit 4099619

Please sign in to comment.