56 meCastor3Dhits =
m_dbe->
book3D(
"CASTOR 3D hits- cumulative",
"CASTOR 3D hits - cumulative", 30, 1420, 1600, 35, -35, 35, 35, -35, 35);
62 Castor3Dhits->GetXaxis()->SetTitle(
"Z [cm]");
63 Castor3Dhits->GetYaxis()->SetTitle(
"X [cm]");
64 Castor3Dhits->GetZaxis()->SetTitle(
"Y [cm]");
68 meCastor3DhitsMaxEnergy =
m_dbe->
book3D(
"CASTOR 3D hits- event with the largest deposited E",
"CASTOR 3D hits- event with the largest deposited E", 30, 1420, 1600, 20, -30, 30, 20, -30, 30);
72 Castor3DhitsMaxEnergy->GetXaxis()->SetTitle(
"Z [cm]");
73 Castor3DhitsMaxEnergy->GetYaxis()->SetTitle(
"X [cm]");
74 Castor3DhitsMaxEnergy->GetZaxis()->SetTitle(
"Y [cm]");
75 Castor3DhitsMaxEnergy->SetDrawOption(
"LEGO2");
81 if(
fVerbosity>0)
std::cout <<
"CastorEventDisplay::setup - NO DQMStore service" << std::endl;
101 if(
fVerbosity>0)
std::cout <<
"CastorEventDisplay::processEvent => DQMStore is not instantiated !!!"<<std::endl;
111 if(castorHits.
size()>0)
113 if(
fVerbosity>0)
std::cout <<
"==>CastorEventDisplay::processEvent: castorHits.size()>0 !!!" << std::endl;
116 for (CASTORiter=castorHits.
begin(); CASTORiter!=castorHits.
end(); ++CASTORiter) {
119 energy = CASTORiter->energy();
156 for (CASTORiter=castorHits.
begin(); CASTORiter!=castorHits.
end(); ++CASTORiter){
168 else {
if(
fVerbosity>0)
std::cout<<
"CastorEventDisplay::processEvent NO Castor RecHits !!!"<<std::endl; }
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
T getUntrackedParameter(std::string const &, T const &) const
virtual void setup(const edm::ParameterSet &ps, DQMStore *dbe)
MonitorElement * book3D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, int nchZ, double lowZ, double highZ)
Book 3D histogram.
std::vector< T >::const_iterator const_iterator
TH3F * getTH3F(void) const
void update(void)
Mark the object updated.
const GlobalPoint & getPosition() const
Returns the position of reference for this cell.
virtual const CaloCellGeometry * getGeometry(const DetId &id) const
Get the cell geometry of a given detector id. Should return false if not found.
MonitorElement * meCastor3DhitsMaxEnergy
const_iterator end() const
MonitorElement * meCastor3Dhits
void processEvent(const CastorRecHitCollection &castorHits, const CaloGeometry &caloGeometry)
void setup(const edm::ParameterSet &ps, DQMStore *dbe)
MonitorElement * bookInt(const char *name)
Book int.
void Reset(void)
reset ME (ie. contents, errors, etc)
void setCurrentFolder(const std::string &fullpath)
const_iterator begin() const