|
|
Go to the documentation of this file.
37 edm::LogVerbatim(
"ForwardSim") <<
"============================================================================";
38 edm::LogVerbatim(
"ForwardSim") <<
"DoCastorAnalysis:: Initialized as observer";
45 edm::LogVerbatim(
"ForwardSim") <<
"============================================================================";
49 edm::LogVerbatim(
"ForwardSim") <<
"DoCastorAnalysis: output event root file created";
87 edm::LogVerbatim(
"ForwardSim") << std::endl <<
"DoCastorAnalysis: end of process";
101 edm::LogVerbatim(
"ForwardSim") << std::endl <<
"DoCastorAnalysis: Starting Run";
121 G4HCofThisEvent* allHC = (*evt)()->GetHCofThisEvent();
123 int CAFIid = G4SDManager::GetSDMpointer()->GetCollectionID(
"CastorFI");
128 unsigned int volumeID = 0;
131 int nentries = theCAFI->entries();
176 for (
int ihit = 0; ihit < nentries; ihit++) {
181 int zside, sector, zmodule;
208 edm::LogVerbatim(
"ForwardSim") <<
"hit " << ihit + 1 <<
" : x = " << (*psimhit_x)[ihit]
209 <<
" , eta = " << (*psimhit_eta)[ihit] <<
" , phi = " << (*psimhit_phi)[ihit]
210 <<
" , energy = " << (*psimhit_energy)[ihit];
221 delete theCastorNumScheme;
TFile * CastorOutputEventFile
std::vector< int > simhit_sector
std::vector< int > * psimhit_sector
uint32_t getUnitID() const
std::vector< double > simhit_energy
std::vector< int > * psimhit_module
double getEnergyDeposit() const
Geom::Theta< T > theta() const
std::vector< int > simhit_module
std::vector< double > * psimhit_z
std::vector< double > simhit_z
XYZPointD XYZPoint
point in space with cartesian internal representation
std::vector< double > * psimhit_x
static void unpackIndex(const uint32_t &idx, int &z, int §or, int &zmodule)
void update(const BeginOfJob *run) override
This routine will be called when the appropriate signal arrives.
std::vector< double > simhit_x
Tan< T >::type tan(const T &t)
std::vector< double > simhit_eta
math::XYZPoint getPosition() const
std::vector< double > * psimhit_energy
~DoCastorAnalysis() override
DoCastorAnalysis(const edm::ParameterSet &p)
std::vector< double > * psimhit_phi
std::vector< double > * psimhit_y
std::vector< double > simhit_phi
Log< level::Info, true > LogVerbatim
T getParameter(std::string const &) const
G4THitsCollection< CaloG4Hit > CaloG4HitCollection
std::vector< double > simhit_y
std::vector< double > * psimhit_eta