CMS 3D CMS Logo

Public Member Functions | Protected Member Functions | Private Attributes

ZDCMonitorModule Class Reference

#include <ZDCMonitorModule.h>

Inheritance diagram for ZDCMonitorModule:
edm::EDAnalyzer

List of all members.

Public Member Functions

 ZDCMonitorModule (const edm::ParameterSet &ps)
 ~ZDCMonitorModule ()

Protected Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c)
void beginJob ()
void beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
void beginRun (const edm::Run &run, const edm::EventSetup &c)
void endJob (void)
void endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
void endRun (const edm::Run &run, const edm::EventSetup &c)
bool prescale ()
 Boolean prescale test for this event.
void reset (void)

Private Attributes

bool checkZDC_
edm::ESHandle< HcalDbServiceconditions_
edm::CPUTimer cpu_timer
DQMStoredbe_
 Connection to the DQM backend.
int debug_
 Verbosity switch used for debugging or informational output.
bool dump2database_
edm::InputTag FEDRawDataCollection_
bool fedsListed_
std::vector< int > fedss
int ievent_
int ievt_
int ievt_digi_
int ievt_pre_
int ievt_rawdata_
int ievt_rechit_
unsigned int ilumisec
edm::InputTag inputLabelDigi_
edm::InputTag inputLabelRecHitZDC_
int irun_
int itime_
std::ofstream m_logFile
MonitorElementmeFEDS_
MonitorElementmeIEVTALL_
MonitorElementmeIEVTDIGI_
MonitorElementmeIEVTRAW_
MonitorElementmeIEVTRECHIT_
MonitorElementmeLatency_
MonitorElementmeQuality_
MonitorElementmeStatus_
MonitorElementmeTrigger_
MonitorElementmeZDC_
std::string monitorName_
 units of "updates", TBD
int nevt_
bool Online_
int prescaleEvt_
int prescaleLS_
 units of events
int prescaleTime_
 units of lumi sections
int prescaleUpdate_
 units of minutes
struct {
   double   elapsedTime
   timeval   startTV
   double   updateTime
   timeval   updateTV
   double   vetoTime
psTime_
const HcalElectronicsMapreadoutMap_
std::string rootFolder_
bool showTiming_
HcalZDCMonitorzdcMon_
int ZDCpresent_

Detailed Description

Definition at line 35 of file ZDCMonitorModule.h.


Constructor & Destructor Documentation

ZDCMonitorModule::ZDCMonitorModule ( const edm::ParameterSet ps)

get time in milliseconds, convert to minutes

Definition at line 37 of file ZDCMonitorModule.cc.

References checkZDC_, gather_cfg::cout, dbe_, debug_, dump2database_, fedsListed_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), ievent_, ilumisec, inputLabelDigi_, inputLabelRecHitZDC_, irun_, itime_, meFEDS_, meLatency_, meQuality_, meStatus_, NULL, Online_, cmsCodeRules::cppFunctionSkipper::operator, prescaleEvt_, prescaleLS_, psTime_, rootFolder_, HcalZDCMonitor::setup(), showTiming_, zdcMon_, and ZDCpresent_.

                                                           {

  irun_=0; ilumisec=0; ievent_=0; itime_=0;

  meStatus_=0;  
  meFEDS_=0;
  meLatency_=0; meQuality_=0;
  fedsListed_ = false;
  zdcMon_ = 0;
  
  // Assumed ZDC is out of the run by default
  ZDCpresent_=0;

  inputLabelDigi_        = ps.getParameter<edm::InputTag>("digiLabel");
  inputLabelRecHitZDC_   = ps.getParameter<edm::InputTag>("zdcRecHitLabel");
  showTiming_ = ps.getUntrackedParameter<bool>("showTiming", false);         //-- show CPU time 
  dump2database_   = ps.getUntrackedParameter<bool>("dump2database",false);  //-- dumps output to database file
  // Check Online running
  Online_                = ps.getUntrackedParameter<bool>("Online",false);
  checkZDC_=ps.getUntrackedParameter<bool>("checkZDC", true); 
  dbe_ = edm::Service<DQMStore>().operator->();
  debug_ = ps.getUntrackedParameter<int>("debug", 0);
  //FEDRawDataCollection_ = ps.getUntrackedParameter<edm::InputTag>("FEDRawDataCollection",edm::InputTag("source",""));

  if (checkZDC_)
    {
      zdcMon_ = new HcalZDCMonitor();
      zdcMon_->setup(ps, dbe_);
    }

  // set parameters   
  prescaleEvt_ = ps.getUntrackedParameter<int>("diagnosticPrescaleEvt", -1);
  if(debug_>1) std::cout << "===>ZDCMonitor event prescale = " << prescaleEvt_ << " event(s)"<< std::endl;

  prescaleLS_ = ps.getUntrackedParameter<int>("diagnosticPrescaleLS", -1);
  if(debug_>1) std::cout << "===>ZDCMonitor lumi section prescale = " << prescaleLS_ << " lumi section(s)"<< std::endl;
  
  // Base folder for the contents of this job
  std::string subsystemname = ps.getUntrackedParameter<std::string>("subSystemFolder", "ZDC") ;
  if(debug_>0) std::cout << "===>ZDCMonitor name = " << subsystemname << std::endl;
  rootFolder_ = subsystemname + "/";
  
  gettimeofday(&psTime_.updateTV,NULL);
  psTime_.updateTime = (psTime_.updateTV.tv_sec*1000.0+psTime_.updateTV.tv_usec/1000.0);
  psTime_.updateTime /= 1000.0;
  psTime_.elapsedTime=0;
  psTime_.vetoTime=psTime_.updateTime;
}
ZDCMonitorModule::~ZDCMonitorModule ( )

Member Function Documentation

void ZDCMonitorModule::analyze ( const edm::Event e,
const edm::EventSetup c 
) [protected, virtual]

See if our products are in the event...

Implements edm::EDAnalyzer.

Definition at line 252 of file ZDCMonitorModule.cc.

References checkZDC_, gather_cfg::cout, cpu_timer, edm::CPUTimer::cpuTime(), debug_, edm::EventID::event(), f, fedsListed_, fedss, MonitorElement::Fill(), edm::Event::getByLabel(), edm::EventBase::id(), ievent_, ievt_, ievt_digi_, ievt_pre_, ievt_rawdata_, ievt_rechit_, ilumisec, inputLabelDigi_, inputLabelRecHitZDC_, irun_, edm::HandleBase::isValid(), itime_, edm::EventBase::luminosityBlock(), meFEDS_, meIEVTALL_, meIEVTDIGI_, meIEVTRAW_, meIEVTRECHIT_, meLatency_, meStatus_, meZDC_, nevt_, NULL, Online_, prescale(), prescaleEvt_, HcalZDCMonitor::processEvent(), psTime_, zeeHLT_cff::report, edm::CPUTimer::reset(), edm::EventID::run(), showTiming_, edm::CPUTimer::start(), edm::CPUTimer::stop(), edm::EventBase::time(), edm::Timestamp::value(), zdcMon_, and ZDCpresent_.

{
  if (!checkZDC_) return;
  // environment datamembers
  irun_     = e.id().run();
  ievent_   = e.id().event();
  itime_    = e.time().value();
  
  if (Online_ && e.luminosityBlock()<ilumisec)
    return;

  if (debug_>1) std::cout << "ZDCMonitorModule: evts: "<< nevt_ << ", run: " << irun_ << ", LS: " << e.luminosityBlock() << ", evt: " << ievent_ << ", time: " << itime_ << std::endl <<"\t counter = "<<ievt_pre_<<"\t total count = "<<ievt_<<std::endl; 

  if ( meStatus_ ) meStatus_->Fill(1);
  meLatency_->Fill(psTime_.elapsedTime);

  
  bool rawOK_    = true;
  bool digiOK_   = true;
  bool zdchitOK_ = true;

  edm::Handle<HcalUnpackerReport> report; 
  e.getByLabel(inputLabelDigi_,report);
  if (!report.isValid())
    {
      rawOK_=false;
      edm::LogWarning("ZDCMonitorModule")<<" Unpacker Report Digi Collection "<<inputLabelDigi_<<" not available";
    }
  if (rawOK_)
    {
      if(!fedsListed_){
        const std::vector<int> feds =  (*report).getFedsUnpacked();    
        for(unsigned int f=0; f<feds.size(); f++){
          meFEDS_->Fill(feds[f]);    
        }
        fedsListed_ = true;
        fedss = feds; //Assign to a non-const holder
      }
    }
  if (rawOK_==true) ++ievt_rawdata_;

  // copy of Bryan Dahmes' calibration filter
  /*
    // need to get raw data first before running filter!
  int calibType=-1;
  int dccBCN=-1;

  if (rawOK_==true)
    {
      // checking FEDs for calibration information
      int numEmptyFEDs = 0 ;
      std::vector<int> calibTypeCounter(8,0) ;
      for( int i = FEDNumbering::MINHCALFEDID; i <= FEDNumbering::MAXHCALFEDID; i++) {
        const FEDRawData& fedData = rawraw->FEDData(i) ;
        
        if ( fedData.size() < 24 ) numEmptyFEDs++ ;
        if ( fedData.size() < 24 ) continue;
        int value = ((const HcalDCCHeader*)(fedData.data()))->getCalibType() ;
        calibTypeCounter.at(value)++ ; // increment the counter for this calib type
        // Temporary for Pawel -- get BCN #101
        const HcalDCCHeader* dccHeader=(const HcalDCCHeader*)(fedData.data());
        dccBCN = dccHeader->getBunchId();
      }
    int maxCount = 0;
    int numberOfFEDIds = FEDNumbering::MAXHCALFEDID  - FEDNumbering::MINHCALFEDID + 1 ;
    for (unsigned int i=0; i<calibTypeCounter.size(); i++) {
      if ( calibTypeCounter.at(i) > maxCount )
        { calibType = i ; maxCount = calibTypeCounter.at(i) ; }
      if ( maxCount == numberOfFEDIds ) break ;
    }
    
    if ( maxCount != (numberOfFEDIds-numEmptyFEDs) )
      edm::LogWarning("HcalCalibTypeFilter") << "Conflicting calibration types found.  Assigning type "
                                             << calibType ;
    LogDebug("HcalCalibTypeFilter") << "Calibration type is: " << calibType ;
    } // if (rawOK_==true) // calibration loop
  */

  // skip this event if we're prescaling...
  ++ievt_;
  if(prescaleEvt_>0 && prescale()) return;
  
  // try to get digis
  edm::Handle<ZDCDigiCollection> zdc_digi;
  e.getByLabel(inputLabelDigi_,zdc_digi);
  if (!zdc_digi.isValid())
    {
      digiOK_=false;
      if (debug_>1) std::cout <<"<ZDCMonitorModule> COULDN'T GET ZDC DIGI"<<std::endl;
      //edm::LogWarning("ZDCMonitorModule")<< inputLabelDigi_<<" zdc_digi not available";
    }
  if (digiOK_) ++ievt_digi_;


  // try to get rechits
  edm::Handle<ZDCRecHitCollection> zdc_hits;
  e.getByLabel(inputLabelRecHitZDC_,zdc_hits);
  if (!zdc_hits.isValid())
    {
      zdchitOK_=false;
      // ZDC Warnings should be suppressed unless debugging is on (since we don't yet normally run zdcreco)
      if (debug_>0) 
        edm::LogWarning("ZDCMonitorModule")<< inputLabelRecHitZDC_<<" not available"; 
    }
  if (zdchitOK_) ++ievt_rechit_;



  // Run the configured tasks, protect against missing products
  meIEVTALL_->Fill(ievt_);
  meIEVTRAW_->Fill(ievt_rawdata_);
  meIEVTDIGI_->Fill(ievt_digi_);
  meIEVTRECHIT_->Fill(ievt_rechit_);

  if (ZDCpresent_==0 && (digiOK_ || zdchitOK_))
    {
      ZDCpresent_=1;
      meZDC_->Fill(ZDCpresent_);
    }

  // Data Format monitor task
  if (showTiming_)
    {
      cpu_timer.reset(); cpu_timer.start();
    }

  if (zdcMon_!=NULL && zdchitOK_ && digiOK_) 
    zdcMon_->processEvent(*zdc_digi,*zdc_hits);
 
  if (showTiming_)
    {
      cpu_timer.stop();
      if (zdcMon_ !=NULL) std::cout <<"TIMER:: ZDC MONITOR ->"<<cpu_timer.cpuTime()<<std::endl;
      cpu_timer.reset(); cpu_timer.start();
    }

 // Empty Event/Unsuppressed monitor plots

  if(debug_>0 && ievt_%1000 == 0)
    std::cout << "ZDCMonitorModule: processed " << ievt_ << " events" << std::endl;

  if(debug_>1)
    {
      std::cout << "ZDCMonitorModule: processed " << ievt_ << " events" << std::endl;
      std::cout << "    ZDC RAW Data   ==> " << rawOK_<< std::endl;
      std::cout << "    ZDC Digis      ==> " << digiOK_<< std::endl;
      std::cout << "    ZDC RecHits    ==> " << zdchitOK_<< std::endl;
    }
  
  return;
}
void ZDCMonitorModule::beginJob ( void  ) [protected, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 106 of file ZDCMonitorModule.cc.

References checkZDC_, ievt_, ievt_digi_, ievt_pre_, ievt_rawdata_, and ievt_rechit_.

{
  if (!checkZDC_) return;
  // should we reset these counters at the start of each run?
  ievt_ = 0;
  ievt_pre_=0;

  // Counters for rawdata, digi, and rechit
  ievt_rawdata_=0;
  ievt_digi_=0;
  ievt_rechit_=0;
  return;
}
void ZDCMonitorModule::beginLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup c 
) [protected, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 176 of file ZDCMonitorModule.cc.

References HcalBaseMonitor::beginLuminosityBlock(), checkZDC_, ilumisec, edm::LuminosityBlockBase::luminosityBlock(), Online_, and zdcMon_.

{
  /* Don't start a new luminosity block if it is less than the current value
     when running online.  This avoids the problem of getting events
     from mis-ordered lumi blocks, which screws up our lumi block 
     monitoring.
  */
  if (!checkZDC_) return;
  if (Online_ && lumiSeg.luminosityBlock()<ilumisec)
    return;

  // Otherwise, run normal startups
  ilumisec = lumiSeg.luminosityBlock();
  if (zdcMon_!=0)   {  zdcMon_->beginLuminosityBlock(ilumisec);}
}
void ZDCMonitorModule::beginRun ( const edm::Run run,
const edm::EventSetup c 
) [protected, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 121 of file ZDCMonitorModule.cc.

References HcalBaseMonitor::beginRun(), DQMStore::book1D(), DQMStore::bookInt(), checkZDC_, conditions_, dbe_, fedsListed_, MonitorElement::Fill(), edm::EventSetup::get(), ievt_, ievt_digi_, ievt_rawdata_, ievt_rechit_, FEDNumbering::MAXHCALFEDID, meFEDS_, meIEVTALL_, meIEVTDIGI_, meIEVTRAW_, meIEVTRECHIT_, meLatency_, meQuality_, meStatus_, meZDC_, FEDNumbering::MINHCALFEDID, NULL, reset(), rootFolder_, DQMStore::setCurrentFolder(), zdcMon_, and ZDCpresent_.

{
  if (!checkZDC_) return;
  fedsListed_ = false;
  ZDCpresent_ = 0;

  reset();

  if ( dbe_ != NULL ){
    dbe_->setCurrentFolder(rootFolder_+"DQM Job Status" );

    meIEVTALL_ = dbe_->bookInt("Events Processed");
    meIEVTRAW_ = dbe_->bookInt("Events with Raw Data");
    meIEVTDIGI_= dbe_->bookInt("Events with Digis");
    meIEVTRECHIT_ = dbe_->bookInt("Events with RecHits");
    meIEVTALL_->Fill(ievt_);
    meIEVTRAW_->Fill(ievt_rawdata_);
    meIEVTDIGI_->Fill(ievt_digi_);
    meIEVTRECHIT_->Fill(ievt_rechit_);
    meStatus_  = dbe_->bookInt("STATUS");
   
    meFEDS_    = dbe_->book1D("FEDs Unpacked","FEDs Unpacked",1+(FEDNumbering::MAXHCALFEDID-FEDNumbering::MINHCALFEDID),FEDNumbering::MINHCALFEDID-0.5,FEDNumbering::MAXHCALFEDID+0.5);
    // process latency was (200,0,1), but that gave overflows
    meLatency_ = dbe_->book1D("Process Latency","Process Latency",200,0,10);
    meQuality_ = dbe_->book1D("Quality Status","Quality Status",100,0,1);
    // Store whether or not subdetectors are present
    meZDC_ = dbe_->bookInt("ZDCpresent");

    meStatus_->Fill(0);
    // Should fill with 0 to start
    meZDC_->Fill(ZDCpresent_);

  }
  // Create histograms for individual Tasks
  if (zdcMon_)    zdcMon_->beginRun();

  edm::ESHandle<HcalDbService> pSetup;
  c.get<HcalDbRecord>().get( pSetup );

  // Not checking ZDC raw data?  In that case, no readoutMap, hcaldetid_, etc. info needed

  
  //get conditions
  c.get<HcalDbRecord>().get(conditions_);

  // get channel quality -- not yet used for ZDC
  /*
  edm::ESHandle<HcalChannelQuality> p;
  c.get<HcalChannelQualityRcd>().get(p);
  chanquality_= new HcalChannelQuality(*p.product());
  */
  return;
}
void ZDCMonitorModule::endJob ( void  ) [protected, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 228 of file ZDCMonitorModule.cc.

References checkZDC_, dbe_, HcalBaseMonitor::done(), MonitorElement::Fill(), DQMStore::get(), meStatus_, NULL, rootFolder_, and zdcMon_.

{
  if (!checkZDC_) return;
  if ( dbe_ != NULL ){
    meStatus_  = dbe_->get(rootFolder_+"DQM Job Status/STATUS");
  }
  
  if ( meStatus_ ) meStatus_->Fill(2);

  return; // All of the rest of the endjob stuff (filling db, etc.) should be done in the client, right?

  if (zdcMon_!=NULL)       zdcMon_->done();

  return;
}
void ZDCMonitorModule::endLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup c 
) [protected, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 195 of file ZDCMonitorModule.cc.

References checkZDC_, HcalZDCMonitor::endLuminosityBlock(), ilumisec, edm::LuminosityBlockBase::luminosityBlock(), Online_, prescale(), prescaleLS_, and zdcMon_.

{
  if (!checkZDC_) return;
  // In online running, don't process events that occur before current luminosity block
  if (Online_ && lumiSeg.luminosityBlock()<ilumisec)
    return; 

  // Call these every luminosity block
  if (zdcMon_!=0)   {  zdcMon_->endLuminosityBlock();}
  // Call these only if prescale set
  if (prescaleLS_>-1 && !prescale())
    {
    }
  return;
}
void ZDCMonitorModule::endRun ( const edm::Run run,
const edm::EventSetup c 
) [protected, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 213 of file ZDCMonitorModule.cc.

References checkZDC_, gather_cfg::cout, debug_, HcalZDCMonitor::endLuminosityBlock(), ievt_, and zdcMon_.

{
  if (!checkZDC_) return;
  if (debug_>0)  
    std::cout <<"ZDCMonitorModule::endRun(...) ievt = "<<ievt_<<std::endl;

  // These should be unnecessary; call them just in case, so that
  // we're sure we get at least one fill per run
  if (zdcMon_!=0)   {  zdcMon_->endLuminosityBlock();}

  return;
}
bool ZDCMonitorModule::prescale ( ) [protected]

Boolean prescale test for this event.

Return true if this event should be skipped according to the prescale condition... Accommodate a logical "OR" of the possible tests

Definition at line 409 of file ZDCMonitorModule.cc.

References checkZDC_, gather_cfg::cout, debug_, ievt_, ilumisec, prescaleEvt_, and prescaleLS_.

Referenced by analyze(), and endLuminosityBlock().

{
  if (!checkZDC_) return true;

  if (debug_>1) std::cout <<"ZDCMonitorModule::prescale:  ievt = "<<ievt_<<std::endl;
  // If no prescales are set, return 'false'.  (This means that we should process the event.)
  if(prescaleEvt_<=0 && prescaleLS_<=0) return false;

  // Now check whether event should be kept.  Assume that it should not by default
  bool keepEvent=false;
  
  // Keep event if prescaleLS test is met or if prescaleEvt test is met
  if(prescaleLS_>0 && (ilumisec%prescaleLS_)==0) keepEvent = true; // check on ls prescale; 
  if (prescaleEvt_>0 && (ievt_%prescaleEvt_)==0) keepEvent = true; // 
  
  // if any criteria wants to keep the event, do so
  if (keepEvent) return false;  // event should be kept; don't apply prescale
  return true; // apply prescale by default

} // ZDCMonitorModule::prescale(...)
void ZDCMonitorModule::reset ( void  ) [protected]

Definition at line 245 of file ZDCMonitorModule.cc.

References checkZDC_, NULL, HcalZDCMonitor::reset(), and zdcMon_.

Referenced by beginRun().

                            {
  if (!checkZDC_) return;
  if (zdcMon_!=NULL) zdcMon_->reset();

}

Member Data Documentation

Definition at line 158 of file ZDCMonitorModule.h.

Referenced by beginRun().

Definition at line 109 of file ZDCMonitorModule.h.

Referenced by analyze().

Connection to the DQM backend.

Definition at line 122 of file ZDCMonitorModule.h.

Referenced by beginRun(), endJob(), ZDCMonitorModule(), and ~ZDCMonitorModule().

int ZDCMonitorModule::debug_ [private]

Verbosity switch used for debugging or informational output.

Definition at line 105 of file ZDCMonitorModule.h.

Referenced by analyze(), endRun(), prescale(), and ZDCMonitorModule().

Definition at line 168 of file ZDCMonitorModule.h.

Referenced by ZDCMonitorModule().

Definition at line 116 of file ZDCMonitorModule.h.

Definition at line 140 of file ZDCMonitorModule.h.

Definition at line 135 of file ZDCMonitorModule.h.

Referenced by analyze(), beginRun(), and ZDCMonitorModule().

std::vector<int> ZDCMonitorModule::fedss [private]

Definition at line 84 of file ZDCMonitorModule.h.

Referenced by analyze().

Definition at line 125 of file ZDCMonitorModule.h.

Referenced by analyze(), and ZDCMonitorModule().

int ZDCMonitorModule::ievt_ [private]

Definition at line 130 of file ZDCMonitorModule.h.

Referenced by analyze(), beginJob(), beginRun(), endRun(), and prescale().

Definition at line 132 of file ZDCMonitorModule.h.

Referenced by analyze(), beginJob(), and beginRun().

Definition at line 134 of file ZDCMonitorModule.h.

Referenced by analyze(), and beginJob().

Definition at line 131 of file ZDCMonitorModule.h.

Referenced by analyze(), beginJob(), and beginRun().

Definition at line 133 of file ZDCMonitorModule.h.

Referenced by analyze(), beginJob(), and beginRun().

unsigned int ZDCMonitorModule::ilumisec [private]

Definition at line 137 of file ZDCMonitorModule.h.

Referenced by analyze(), and ZDCMonitorModule().

Definition at line 138 of file ZDCMonitorModule.h.

Referenced by analyze(), and ZDCMonitorModule().

int ZDCMonitorModule::irun_ [private]

Definition at line 125 of file ZDCMonitorModule.h.

Referenced by analyze(), and ZDCMonitorModule().

int ZDCMonitorModule::itime_ [private]

Definition at line 125 of file ZDCMonitorModule.h.

Referenced by analyze(), and ZDCMonitorModule().

std::ofstream ZDCMonitorModule::m_logFile [private]

Definition at line 161 of file ZDCMonitorModule.h.

Definition at line 147 of file ZDCMonitorModule.h.

Referenced by analyze(), beginRun(), and ZDCMonitorModule().

Definition at line 142 of file ZDCMonitorModule.h.

Referenced by analyze(), and beginRun().

Definition at line 144 of file ZDCMonitorModule.h.

Referenced by analyze(), and beginRun().

Definition at line 143 of file ZDCMonitorModule.h.

Referenced by analyze(), and beginRun().

Definition at line 145 of file ZDCMonitorModule.h.

Referenced by analyze(), and beginRun().

Definition at line 150 of file ZDCMonitorModule.h.

Referenced by analyze(), beginRun(), and ZDCMonitorModule().

Definition at line 151 of file ZDCMonitorModule.h.

Referenced by beginRun(), and ZDCMonitorModule().

Definition at line 148 of file ZDCMonitorModule.h.

Referenced by analyze(), beginRun(), endJob(), and ZDCMonitorModule().

Definition at line 149 of file ZDCMonitorModule.h.

Definition at line 165 of file ZDCMonitorModule.h.

Referenced by analyze(), and beginRun().

std::string ZDCMonitorModule::monitorName_ [private]

units of "updates", TBD

The name of the monitoring process which derives from this class, used to standardize filename and file structure

Definition at line 102 of file ZDCMonitorModule.h.

int ZDCMonitorModule::nevt_ [private]

Definition at line 112 of file ZDCMonitorModule.h.

Referenced by analyze().

bool ZDCMonitorModule::Online_ [private]

Prescale variables for restricting the frequency of analyzer behavior. The base class does not implement prescales. Set to -1 to be ignored.

Definition at line 93 of file ZDCMonitorModule.h.

Referenced by analyze(), prescale(), and ZDCMonitorModule().

units of events

Definition at line 94 of file ZDCMonitorModule.h.

Referenced by endLuminosityBlock(), prescale(), and ZDCMonitorModule().

units of lumi sections

Definition at line 95 of file ZDCMonitorModule.h.

units of minutes

Definition at line 96 of file ZDCMonitorModule.h.

struct { ... } ZDCMonitorModule::psTime_ [private]

Referenced by analyze(), and ZDCMonitorModule().

Definition at line 159 of file ZDCMonitorModule.h.

std::string ZDCMonitorModule::rootFolder_ [private]

Definition at line 128 of file ZDCMonitorModule.h.

Referenced by beginRun(), endJob(), ZDCMonitorModule(), and ~ZDCMonitorModule().

Definition at line 108 of file ZDCMonitorModule.h.

Referenced by analyze(), and ZDCMonitorModule().

Definition at line 115 of file ZDCMonitorModule.h.

Definition at line 118 of file ZDCMonitorModule.h.

Definition at line 115 of file ZDCMonitorModule.h.

Definition at line 117 of file ZDCMonitorModule.h.

Definition at line 164 of file ZDCMonitorModule.h.

Referenced by analyze(), beginRun(), and ZDCMonitorModule().