88 dqmStore_->setCurrentFolder(
prefixME_ +
"/EERecoSummary");
100 h_recHits_EEP_Chi2 = dqmStore_->book1D(
"recHits_EEP_Chi2",
"recHits_EEP_Chi2",200,0,100);
101 h_recHits_EEP_time = dqmStore_->book1D(
"recHits_EEP_time",
"recHits_EEP_time",200,-50,50);
105 h_recHits_EEM_Chi2 = dqmStore_->book1D(
"recHits_EEM_Chi2",
"recHits_EEM_Chi2",200,0,100);
106 h_recHits_EEM_time = dqmStore_->book1D(
"recHits_EEM_time",
"recHits_EEM_time",200,-50,50);
117 h_superClusters_eta = dqmStore_->book1D(
"superClusters_eta",
"superClusters_eta",150,-3.,3.);
118 h_superClusters_EE_phi = dqmStore_->book1D(
"superClusters_EE_phi",
"superClusters_EE_phi",360,-3.1415927,3.1415927);
148 if ( ! redRecHitsEE.
isValid() ) {
153 itr != theEndcapEcalredRecHits->
end () ; ++itr)
172 float maxRecHitEnergyEEP = -999.;
173 float maxRecHitEnergyEEM = -999.;
179 itr != theEndcapEcalRecHits->
end () ; ++itr)
185 if ( eeid.
zside() > 0 ){
190 if (itr ->
energy() > maxRecHitEnergyEEP &&
191 !(eeid.
ix()>=41 && eeid.
ix()<=60 && eeid.
iy()>=41 && eeid.
iy()<=60) ) {
192 maxRecHitEnergyEEP = itr ->
energy() ;
203 if ( eeid.
zside() < 0 ){
208 if (itr ->
energy() > maxRecHitEnergyEEM &&
209 !(eeid.
ix()>=41 && eeid.
ix()<=60 && eeid.
iy()>=41 && eeid.
iy()<=60) ) {
210 maxRecHitEnergyEEM = itr ->
energy() ;
231 if ( ! basicClusters_EE_h.
isValid() ) {
235 for (
unsigned int icl = 0; icl < basicClusters_EE_h->size(); ++icl) {
238 const std::vector<std::pair<DetId,float> > & hits= (*basicClusters_EE_h)[icl].hitsAndFractions();
239 for (std::vector<std::pair<DetId,float> > ::const_iterator rh = hits.begin(); rh!=hits.end(); ++rh){
242 if (itrechit==theEndcapEcalRecHits->
end())
continue;
253 if ( ! superClusters_EE_h.
isValid() ) {
257 for (reco::SuperClusterCollection::const_iterator itSC = theEndcapSuperClusters->begin();
258 itSC != theEndcapSuperClusters->end(); ++itSC ) {
260 double scEt = itSC ->
energy() *
sin(2.*atan(
exp(- itSC->position().eta() )));
267 if ( itSC ->
z() > 0 ){
271 if ( itSC ->
z() < 0 ){
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * h_redRecHits_EE_recoFlag
#define DEFINE_FWK_MODULE(type)
EERecoSummary(const edm::ParameterSet &)
Sin< T >::type sin(const T &t)
std::vector< EcalRecHit >::const_iterator const_iterator
MonitorElement * h_basicClusters_recHits_EE_recoFlag
edm::InputTag basicClusterCollection_EE_
edm::InputTag superClusterCollection_EE_
MonitorElement * h_recHits_EEM_Chi2
MonitorElement * h_recHits_EE_recoFlag
MonitorElement * h_recHits_EEP_Chi2
edm::InputTag recHitCollection_EE_
MonitorElement * h_recHits_EEP_time
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
MonitorElement * h_superClusters_EEM_nBC
MonitorElement * h_recHits_EEM_energyMax
MonitorElement * h_superClusters_eta
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
MonitorElement * h_superClusters_EEP_nBC
MonitorElement * h_recHits_EEM_time
const_iterator end() const
T const * product() const
iterator find(key_type k)
edm::InputTag redRecHitCollection_EE_
MonitorElement * h_recHits_EEP_energyMax
MonitorElement * h_superClusters_EE_phi
const_iterator begin() const
virtual void analyze(const edm::Event &, const edm::EventSetup &)