CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
DoCastorAnalysis Class Reference

#include <DoCastorAnalysis.h>

Inheritance diagram for DoCastorAnalysis:
SimWatcher Observer< const BeginOfJob * > Observer< const BeginOfRun * > Observer< const EndOfRun * > Observer< const BeginOfEvent * > Observer< const EndOfEvent * > Observer< const G4Step * >

Public Member Functions

 DoCastorAnalysis (const edm::ParameterSet &p)
 
 ~DoCastorAnalysis () override
 
- Public Member Functions inherited from SimWatcher
 SimWatcher ()
 
virtual ~SimWatcher ()
 
- Public Member Functions inherited from Observer< const BeginOfJob * >
 Observer ()
 
void slotForUpdate (const BeginOfJob * iT)
 
virtual ~Observer ()
 
- Public Member Functions inherited from Observer< const BeginOfRun * >
 Observer ()
 
void slotForUpdate (const BeginOfRun * iT)
 
virtual ~Observer ()
 
- Public Member Functions inherited from Observer< const EndOfRun * >
 Observer ()
 
void slotForUpdate (const EndOfRun * iT)
 
virtual ~Observer ()
 
- Public Member Functions inherited from Observer< const BeginOfEvent * >
 Observer ()
 
void slotForUpdate (const BeginOfEvent * iT)
 
virtual ~Observer ()
 
- Public Member Functions inherited from Observer< const EndOfEvent * >
 Observer ()
 
void slotForUpdate (const EndOfEvent * iT)
 
virtual ~Observer ()
 
- Public Member Functions inherited from Observer< const G4Step * >
 Observer ()
 
void slotForUpdate (const G4Step * iT)
 
virtual ~Observer ()
 

Private Member Functions

void update (const BeginOfJob *run) override
 This routine will be called when the appropriate signal arrives. More...
 
void update (const BeginOfRun *run) override
 This routine will be called when the appropriate signal arrives. More...
 
void update (const EndOfRun *run) override
 This routine will be called when the appropriate signal arrives. More...
 
void update (const BeginOfEvent *evt) override
 This routine will be called when the appropriate signal arrives. More...
 
void update (const EndOfEvent *evt) override
 This routine will be called when the appropriate signal arrives. More...
 
void update (const G4Step *step) override
 This routine will be called when the appropriate signal arrives. More...
 

Private Attributes

TFile * CastorOutputEventFile
 
TTree * CastorTree
 
int eventIndex
 
std::vector< double > * psimhit_energy
 
std::vector< double > * psimhit_eta
 
std::vector< int > * psimhit_module
 
std::vector< double > * psimhit_phi
 
std::vector< int > * psimhit_sector
 
std::vector< double > * psimhit_x
 
std::vector< double > * psimhit_y
 
std::vector< double > * psimhit_z
 
std::vector< double > simhit_energy
 
std::vector< double > simhit_eta
 
double simhit_etot
 
std::vector< int > simhit_module
 
std::vector< double > simhit_phi
 
std::vector< int > simhit_sector
 
std::vector< double > simhit_x
 
std::vector< double > simhit_y
 
std::vector< double > simhit_z
 
std::string TreeFileName
 
int verbosity
 

Additional Inherited Members

Detailed Description

Definition at line 62 of file DoCastorAnalysis.h.

Constructor & Destructor Documentation

DoCastorAnalysis::DoCastorAnalysis ( const edm::ParameterSet p)

Definition at line 28 of file DoCastorAnalysis.cc.

References CastorOutputEventFile, CastorTree, gather_cfg::cout, debug, edm::ParameterSet::getParameter(), psimhit_energy, psimhit_eta, psimhit_module, psimhit_phi, psimhit_sector, psimhit_x, psimhit_y, psimhit_z, simhit_etot, AlCaHLTBitMon_QueryRunRegistry::string, TreeFileName, and verbosity.

28  {
29 
30  edm::ParameterSet m_Anal = p.getParameter<edm::ParameterSet>("DoCastorAnalysis");
31  verbosity = m_Anal.getParameter<int>("Verbosity");
32 
33  TreeFileName = m_Anal.getParameter<std::string>("CastorTreeFileName");
34 
35  if (verbosity > 0) {
36 
37  std::cout<<std::endl;
38  std::cout<<"============================================================================"<<std::endl;
39  std::cout << "DoCastorAnalysis:: Initialized as observer"<< std::endl;
40 
41  std::cout <<" Castor Tree will be created"<< std::endl;
42  std::cout <<" Castor Tree will be in file: "<<TreeFileName<<std::endl;
43  if(debug) getchar();
44 
45  std::cout<<"============================================================================"<<std::endl;
46  std::cout<<std::endl;
47  }
48 
49  std::cout << "DoCastorAnalysis: output event root file created"<< std::endl;
50  TString treefilename = TreeFileName;
51  CastorOutputEventFile = new TFile(treefilename,"RECREATE");
52 
53  CastorTree = new TTree("Sim","Sim");
54 
55  CastorTree->Branch("simhit_x","std::vector<double>",&psimhit_x);
56  CastorTree->Branch("simhit_y","std::vector<double>",&psimhit_y);
57  CastorTree->Branch("simhit_z","std::vector<double>",&psimhit_z);
58 
59  CastorTree->Branch("simhit_eta","std::vector<double>",&psimhit_eta);
60  CastorTree->Branch("simhit_phi","std::vector<double>",&psimhit_phi);
61  CastorTree->Branch("simhit_energy","std::vector<double>",&psimhit_energy);
62 
63  // CastorTree->Branch("simhit_time","std::vector<double>",&psimhit_time);
64  CastorTree->Branch("simhit_sector","std::vector<int>",&psimhit_sector);
65  CastorTree->Branch("simhit_module","std::vector<int>",&psimhit_module);
66 
67  CastorTree->Branch("simhit_etot",&simhit_etot,"simhit_etot/D");
68 }
std::vector< double > * psimhit_z
T getParameter(std::string const &) const
#define debug
std::vector< double > * psimhit_x
std::vector< double > * psimhit_energy
std::vector< double > * psimhit_phi
std::vector< double > * psimhit_y
std::vector< double > * psimhit_eta
TFile * CastorOutputEventFile
std::vector< int > * psimhit_sector
std::string TreeFileName
std::vector< int > * psimhit_module
DoCastorAnalysis::~DoCastorAnalysis ( )
override

Definition at line 70 of file DoCastorAnalysis.cc.

References CastorOutputEventFile, CastorTree, gather_cfg::cout, debug, and verbosity.

70  {
71 
72  //destructor of DoCastorAnalysis
73 
75  //-- CastorOutputEventFile->Write();
76  CastorTree->Write("",TObject::kOverwrite);
77  std::cout << "DoCastorAnalysis: Ntuple event written" << std::endl;
78  if(debug) getchar();
79  CastorOutputEventFile->Close();
80  std::cout << "DoCastorAnalysis: Event file closed" << std::endl;
81  if(debug) getchar();
82 
83  if (verbosity > 0) {
84  std::cout<<std::endl<<"DoCastorAnalysis: end of process"<<std::endl;
85  if(debug) getchar();
86  }
87 
88 }
#define debug
TFile * CastorOutputEventFile

Member Function Documentation

void DoCastorAnalysis::update ( const BeginOfJob )
overrideprivatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfJob * >.

Definition at line 92 of file DoCastorAnalysis.cc.

References gather_cfg::cout.

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().

92  {
93 
94  std::cout << " Starting new job " << std::endl;
95 }
void DoCastorAnalysis::update ( const BeginOfRun )
overrideprivatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfRun * >.

Definition at line 99 of file DoCastorAnalysis.cc.

References gather_cfg::cout, and eventIndex.

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().

99  {
100 
101  std::cout << std::endl << "DoCastorAnalysis: Starting Run"<< std::endl;
102 
103  // std::cout << "DoCastorAnalysis: output event root file created"<< std::endl;
104  // TString treefilename = TreeFileName;
105  // CastorOutputEventFile = new TFile(treefilename,"RECREATE");
106 
107  eventIndex = 1;
108 }
void DoCastorAnalysis::update ( const EndOfRun )
overrideprivatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const EndOfRun * >.

Definition at line 220 of file DoCastorAnalysis.cc.

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().

220 {;}
void DoCastorAnalysis::update ( const BeginOfEvent )
overrideprivatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfEvent * >.

Definition at line 110 of file DoCastorAnalysis.cc.

References gather_cfg::cout, and eventIndex.

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().

110  {
111  std::cout << "DoCastorAnalysis: Processing Event Number: "<<eventIndex<< std::endl;
112  eventIndex++;
113 }
void DoCastorAnalysis::update ( const EndOfEvent )
overrideprivatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const EndOfEvent * >.

Definition at line 118 of file DoCastorAnalysis.cc.

References CastorTree, gather_cfg::cout, debug, PVValHelper::eta, CaloG4Hit::getEnergyDeposit(), CaloG4Hit::getPosition(), CaloG4Hit::getUnitID(), GeV, cmsBatch::log, phi, psimhit_energy, psimhit_eta, psimhit_module, psimhit_phi, psimhit_sector, psimhit_x, psimhit_y, psimhit_z, simhit_energy, simhit_eta, simhit_etot, simhit_module, simhit_phi, simhit_sector, simhit_x, simhit_y, simhit_z, funct::tan(), theta(), CastorNumberingScheme::unpackIndex(), and ecaldqm::zside().

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().

118  {
119 
120  // Look for the Hit Collection
121 
122  // access to the G4 hit collections
123  G4HCofThisEvent* allHC = (*evt)()->GetHCofThisEvent();
124 
125  int CAFIid = G4SDManager::GetSDMpointer()->GetCollectionID("CastorFI");
126  CaloG4HitCollection* theCAFI = (CaloG4HitCollection*) allHC->GetHC(CAFIid);
127 
128  CastorNumberingScheme *theCastorNumScheme = new CastorNumberingScheme();
129 
130  unsigned int volumeID=0;
131  // std::map<int,float,std::less<int> > themap;
132 
133  int nentries = theCAFI->entries();
134  if(debug) std::cout<<"nentries in CAFI: "<<nentries<<std::endl;
135  if(debug) getchar();
136 
138  psimhit_x->clear();
139  psimhit_x->reserve(nentries);
140 
142  psimhit_y->clear();
143  psimhit_y->reserve(nentries);
144 
146  psimhit_z->clear();
147  psimhit_z->reserve(nentries);
148 
150  psimhit_eta->clear();
151  psimhit_eta->reserve(nentries);
152 
154  psimhit_phi->clear();
155  psimhit_phi->reserve(nentries);
156 
158  psimhit_energy->clear();
159  psimhit_energy->reserve(nentries);
160 
161  //psimhit_time=&simhit_time;
162  //psimhit_time->clear();
163  //psimhit_time->reserve(nentries);
164 
166  psimhit_sector->clear();
167  psimhit_sector->reserve(nentries);
168 
170  psimhit_module->clear();
171  psimhit_module->reserve(nentries);
172 
173  simhit_etot = 0;
174 
175  if (nentries > 0) {
176 
177  for (int ihit = 0; ihit < nentries; ihit++) {
178  CaloG4Hit* aHit = (*theCAFI)[ihit];
179  volumeID = aHit->getUnitID();
180 
181  //themap[volumeID] += aHit->getEnergyDeposit();
182  int zside,sector,zmodule;
183 
184  theCastorNumScheme->unpackIndex(volumeID,zside,sector,zmodule);
185 
186  double energy = aHit->getEnergyDeposit()/GeV;
187  //double time = aHit->getTimeSlice();
188 
189  math::XYZPoint pos = aHit->getPosition();
190  double theta = pos.theta();
191  double eta = -log(tan(theta/2.));
192  double phi = pos.phi();
193 
194  psimhit_x->push_back(pos.x());
195  psimhit_y->push_back(pos.y());
196  psimhit_z->push_back(pos.z());
197 
198  psimhit_eta->push_back(eta);
199  psimhit_phi->push_back(phi);
200  psimhit_energy->push_back(energy);
201 
202  // psimhit_time->push_back(time);
203  psimhit_sector->push_back(sector);
204  psimhit_module->push_back(zmodule);
205 
206  simhit_etot+=energy;
207 
208  if(debug) std::cout<<"hit "<<ihit+1<<" : x = "<<(*psimhit_x)[ihit]<<" , eta = "<<(*psimhit_eta)[ihit]
209  <<" , phi = "<<(*psimhit_phi)[ihit]<<" , energy = "<<(*psimhit_energy)[ihit]<<std::endl;
210  }
211 
212  //if(debug) std::cout<<" total energy = "<<simhit_etot<<std::endl;
213  if(debug) getchar();
214  CastorTree->Fill();
215 
216  } // nentries > 0
217  delete theCastorNumScheme;
218 }
std::vector< double > * psimhit_z
math::XYZPoint getPosition() const
Definition: CaloG4Hit.h:56
#define debug
const double GeV
Definition: MathUtil.h:16
std::vector< double > simhit_eta
std::vector< double > * psimhit_x
std::vector< double > * psimhit_energy
std::vector< double > simhit_x
std::vector< double > * psimhit_phi
Geom::Theta< T > theta() const
int zside(DetId const &)
std::vector< double > simhit_phi
static void unpackIndex(const uint32_t &idx, int &z, int &sector, int &zmodule)
std::vector< double > * psimhit_y
std::vector< double > simhit_y
std::vector< double > * psimhit_eta
Tan< T >::type tan(const T &t)
Definition: Tan.h:22
std::vector< int > simhit_sector
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
std::vector< int > * psimhit_sector
G4THitsCollection< CaloG4Hit > CaloG4HitCollection
std::vector< double > simhit_energy
uint32_t getUnitID() const
Definition: CaloG4Hit.h:69
std::vector< int > * psimhit_module
double getEnergyDeposit() const
Definition: CaloG4Hit.h:81
std::vector< int > simhit_module
std::vector< double > simhit_z
void DoCastorAnalysis::update ( const G4Step *  )
overrideprivatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const G4Step * >.

Definition at line 222 of file DoCastorAnalysis.cc.

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().

222 {;}

Member Data Documentation

TFile* DoCastorAnalysis::CastorOutputEventFile
private

Definition at line 89 of file DoCastorAnalysis.h.

Referenced by DoCastorAnalysis(), and ~DoCastorAnalysis().

TTree* DoCastorAnalysis::CastorTree
private

Definition at line 90 of file DoCastorAnalysis.h.

Referenced by DoCastorAnalysis(), update(), and ~DoCastorAnalysis().

int DoCastorAnalysis::eventIndex
private

Definition at line 92 of file DoCastorAnalysis.h.

Referenced by update().

std::vector<double> * DoCastorAnalysis::psimhit_energy
private

Definition at line 100 of file DoCastorAnalysis.h.

Referenced by DoCastorAnalysis(), and update().

std::vector<double>* DoCastorAnalysis::psimhit_eta
private

Definition at line 100 of file DoCastorAnalysis.h.

Referenced by DoCastorAnalysis(), and update().

std::vector<int> * DoCastorAnalysis::psimhit_module
private

Definition at line 101 of file DoCastorAnalysis.h.

Referenced by DoCastorAnalysis(), and update().

std::vector<double> * DoCastorAnalysis::psimhit_phi
private

Definition at line 100 of file DoCastorAnalysis.h.

Referenced by DoCastorAnalysis(), and update().

std::vector<int>* DoCastorAnalysis::psimhit_sector
private

Definition at line 101 of file DoCastorAnalysis.h.

Referenced by DoCastorAnalysis(), and update().

std::vector<double>* DoCastorAnalysis::psimhit_x
private

Definition at line 99 of file DoCastorAnalysis.h.

Referenced by DoCastorAnalysis(), and update().

std::vector<double> * DoCastorAnalysis::psimhit_y
private

Definition at line 99 of file DoCastorAnalysis.h.

Referenced by DoCastorAnalysis(), and update().

std::vector<double> * DoCastorAnalysis::psimhit_z
private

Definition at line 99 of file DoCastorAnalysis.h.

Referenced by DoCastorAnalysis(), and update().

std::vector<double> DoCastorAnalysis::simhit_energy
private

Definition at line 95 of file DoCastorAnalysis.h.

Referenced by update().

std::vector<double> DoCastorAnalysis::simhit_eta
private

Definition at line 95 of file DoCastorAnalysis.h.

Referenced by update().

double DoCastorAnalysis::simhit_etot
private

Definition at line 104 of file DoCastorAnalysis.h.

Referenced by DoCastorAnalysis(), and update().

std::vector<int> DoCastorAnalysis::simhit_module
private

Definition at line 96 of file DoCastorAnalysis.h.

Referenced by update().

std::vector<double> DoCastorAnalysis::simhit_phi
private

Definition at line 95 of file DoCastorAnalysis.h.

Referenced by update().

std::vector<int> DoCastorAnalysis::simhit_sector
private

Definition at line 96 of file DoCastorAnalysis.h.

Referenced by update().

std::vector<double> DoCastorAnalysis::simhit_x
private

Definition at line 94 of file DoCastorAnalysis.h.

Referenced by update().

std::vector<double> DoCastorAnalysis::simhit_y
private

Definition at line 94 of file DoCastorAnalysis.h.

Referenced by update().

std::vector<double> DoCastorAnalysis::simhit_z
private

Definition at line 94 of file DoCastorAnalysis.h.

Referenced by update().

std::string DoCastorAnalysis::TreeFileName
private

Definition at line 87 of file DoCastorAnalysis.h.

Referenced by DoCastorAnalysis().

int DoCastorAnalysis::verbosity
private

Definition at line 85 of file DoCastorAnalysis.h.

Referenced by DoCastorAnalysis(), and ~DoCastorAnalysis().