CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
SimG4HGCalValidation Class Reference
Inheritance diagram for SimG4HGCalValidation:
SimProducer Observer< const BeginOfJob * > Observer< const BeginOfEvent * > Observer< const G4Step * > SimWatcher

Public Member Functions

void produce (edm::Event &, const edm::EventSetup &) override
 
 SimG4HGCalValidation (const edm::ParameterSet &p)
 
 ~SimG4HGCalValidation () override
 
- Public Member Functions inherited from SimProducer
const SimProduceroperator= (const SimProducer &)=delete
 
void registerProducts (edm::ProducesCollector producesCollector)
 
 SimProducer ()
 
 SimProducer (const SimProducer &)=delete
 
- Public Member Functions inherited from SimWatcher
const SimWatcheroperator= (const SimWatcher &)=delete
 
 SimWatcher ()
 
 SimWatcher (const SimWatcher &)=delete
 
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 BeginOfEvent * >
 Observer ()
 
void slotForUpdate (const BeginOfEvent * iT)
 
virtual ~Observer ()
 
- Public Member Functions inherited from Observer< const G4Step * >
 Observer ()
 
void slotForUpdate (const G4Step * iT)
 
virtual ~Observer ()
 

Private Member Functions

void clear ()
 
void init ()
 
void layerAnalysis (PHGCalValidInfo &)
 
const SimG4HGCalValidationoperator= (const SimG4HGCalValidation &)
 
 SimG4HGCalValidation (const SimG4HGCalValidation &)
 
void update (const BeginOfEvent *evt) override
 This routine will be called when the appropriate signal arrives. More...
 
void update (const BeginOfJob *job) 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

unsigned int count_
 
std::vector< unsigned int > dets_
 
std::vector< int > detTypes_
 
double edepEE_
 
double edepHEB_
 
double edepHEF_
 
std::vector< HGCalNumberingScheme * > hgcalNumbering_
 
std::vector< double > hgcEEedep_
 
std::vector< double > hgcHEBedep_
 
std::vector< double > hgcHEFedep_
 
std::vector< unsigned int > hgchitDets_
 
std::vector< unsigned int > hgchitIndex_
 
std::vector< double > hgchitX_
 
std::vector< double > hgchitY_
 
std::vector< double > hgchitZ_
 
std::vector< HGCNumberingScheme * > hgcNumbering_
 
std::string labelLayer_
 
int levelT1_
 
int levelT2_
 
std::vector< std::string > names_
 
std::vector< int > subdet_
 
std::vector< int > types_
 
int verbosity_
 

Additional Inherited Members

- Protected Member Functions inherited from SimProducer
template<class T >
void produces ()
 
template<class T >
void produces (const std::string &instanceName)
 

Detailed Description

Definition at line 51 of file SimG4HGCalValidation.cc.

Constructor & Destructor Documentation

◆ SimG4HGCalValidation() [1/2]

SimG4HGCalValidation::SimG4HGCalValidation ( const edm::ParameterSet p)

Definition at line 98 of file SimG4HGCalValidation.cc.

98  : levelT1_(999), levelT2_(999), count_(0) {
99  edm::ParameterSet m_Anal = p.getParameter<edm::ParameterSet>("SimG4HGCalValidation");
100  names_ = m_Anal.getParameter<std::vector<std::string> >("Names");
101  types_ = m_Anal.getParameter<std::vector<int> >("Types");
102  detTypes_ = m_Anal.getParameter<std::vector<int> >("DetTypes");
103  labelLayer_ = m_Anal.getParameter<std::string>("LabelLayerInfo");
104  verbosity_ = m_Anal.getUntrackedParameter<int>("Verbosity", 0);
105 
106  produces<PHGCalValidInfo>(labelLayer_);
107 
108  if (verbosity_ > 0) {
109  edm::LogVerbatim("ValidHGCal") << "HGCalTestAnalysis:: Initialised as "
110  << "observer of begin events and of G4step "
111  << "with Parameter values: \n\tLabel : " << labelLayer_ << " and with "
112  << names_.size() << " detectors";
113  for (unsigned int k = 0; k < names_.size(); ++k)
114  edm::LogVerbatim("ValidHGCal") << " [" << k << "] " << names_[k] << " Type " << types_[k] << " DetType "
115  << detTypes_[k];
116  }
117 }

References detTypes_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), dqmdumpme::k, labelLayer_, names_, AlCaHLTBitMon_ParallelJobs::p, AlCaHLTBitMon_QueryRunRegistry::string, types_, and verbosity_.

◆ ~SimG4HGCalValidation()

SimG4HGCalValidation::~SimG4HGCalValidation ( )
override

Definition at line 119 of file SimG4HGCalValidation.cc.

119  {
120  for (auto number : hgcNumbering_)
121  delete number;
122  for (auto number : hgcalNumbering_)
123  delete number;
124 }

References hgcalNumbering_, hgcNumbering_, and contentValuesFiles::number.

◆ SimG4HGCalValidation() [2/2]

SimG4HGCalValidation::SimG4HGCalValidation ( const SimG4HGCalValidation )
private

Member Function Documentation

◆ clear()

void SimG4HGCalValidation::clear ( void  )
private

Definition at line 335 of file SimG4HGCalValidation.cc.

335  {
336  hgchitDets_.erase(hgchitDets_.begin(), hgchitDets_.end());
337  hgchitIndex_.erase(hgchitIndex_.begin(), hgchitIndex_.end());
338  hgchitX_.erase(hgchitX_.begin(), hgchitX_.end());
339  hgchitY_.erase(hgchitY_.begin(), hgchitY_.end());
340  hgchitZ_.erase(hgchitZ_.begin(), hgchitZ_.end());
341 }

References hgchitDets_, hgchitIndex_, hgchitX_, hgchitY_, and hgchitZ_.

Referenced by update().

◆ init()

void SimG4HGCalValidation::init ( )
private

◆ layerAnalysis()

void SimG4HGCalValidation::layerAnalysis ( PHGCalValidInfo product)
private

Definition at line 322 of file SimG4HGCalValidation.cc.

322  {
323  if (verbosity_ > 0)
324  edm::LogVerbatim("ValidHGCal") << "\n ===>>> SimG4HGCalValidation: Energy "
325  << "deposit\n at EE : " << std::setw(6) << edepEE_ / CLHEP::MeV
326  << "\n at HEF: " << std::setw(6) << edepHEF_ / CLHEP::MeV
327  << "\n at HEB: " << std::setw(6) << edepHEB_ / CLHEP::MeV;
328 
329  //Fill HGC Variables
332 }

References edepEE_, edepHEB_, edepHEF_, PHGCalValidInfo::fillhgcHits(), PHGCalValidInfo::fillhgcLayers(), hgcEEedep_, hgcHEBedep_, hgcHEFedep_, hgchitDets_, hgchitIndex_, hgchitX_, hgchitY_, hgchitZ_, MeV, and verbosity_.

Referenced by produce().

◆ operator=()

const SimG4HGCalValidation& SimG4HGCalValidation::operator= ( const SimG4HGCalValidation )
private

◆ produce()

void SimG4HGCalValidation::produce ( edm::Event e,
const edm::EventSetup  
)
overridevirtual

Implements SimProducer.

Definition at line 126 of file SimG4HGCalValidation.cc.

126  {
127  std::unique_ptr<PHGCalValidInfo> productLayer(new PHGCalValidInfo);
128  layerAnalysis(*productLayer);
129  e.put(std::move(productLayer), labelLayer_);
130 }

References MillePedeFileConverter_cfg::e, labelLayer_, layerAnalysis(), and eostools::move().

◆ update() [1/3]

void SimG4HGCalValidation::update ( const BeginOfEvent )
overrideprivatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfEvent * >.

Definition at line 203 of file SimG4HGCalValidation.cc.

203  {
204  int iev = (*evt)()->GetEventID();
205  if (verbosity_ > 0)
206  edm::LogVerbatim("ValidHGCal") << "SimG4HGCalValidation: =====> Begin "
207  << "event = " << iev;
208 
209  ++count_;
210  edepEE_ = edepHEF_ = edepHEB_ = 0.;
211 
212  //HGCal variables
213  for (unsigned int i = 0; i < hgcEEedep_.size(); i++)
214  hgcEEedep_[i] = 0.;
215  for (unsigned int i = 0; i < hgcHEFedep_.size(); i++)
216  hgcHEFedep_[i] = 0.;
217  for (unsigned int i = 0; i < hgcHEBedep_.size(); i++)
218  hgcHEBedep_[i] = 0.;
219 
220  //Cache reset
221  clear();
222 }

References clear(), count_, edepEE_, edepHEB_, edepHEF_, hgcEEedep_, hgcHEBedep_, hgcHEFedep_, mps_fire::i, iev, and verbosity_.

Referenced by MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), and MatrixUtil.Steps::overwrite().

◆ update() [2/3]

void SimG4HGCalValidation::update ( const BeginOfJob )
overrideprivatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfJob * >.

Definition at line 132 of file SimG4HGCalValidation.cc.

132  {
133  const edm::EventSetup* es = (*job)();
134  for (unsigned int type = 0; type < types_.size(); ++type) {
135  int layers(0);
136  int detType = detTypes_[type];
137  G4String nameX = "HGCal";
138  if (types_[type] <= 1) {
139  if (types_[type] == 0) {
141  if (detType == 0)
142  dets_.emplace_back((int)(DetId::HGCalEE));
143  else if (detType == 1)
144  dets_.emplace_back((int)(DetId::HGCalHSi));
145  else
146  dets_.emplace_back((int)(DetId::HGCalHSc));
147  } else {
148  dets_.push_back((unsigned int)(DetId::Forward));
149  if (detType == 0)
150  subdet_.emplace_back((int)(ForwardSubdetector::HGCEE));
151  else if (detType == 1)
152  subdet_.emplace_back((int)(ForwardSubdetector::HGCHEF));
153  else
154  subdet_.emplace_back((int)(ForwardSubdetector::HGCHEB));
155  }
156  if (detType == 0)
157  nameX = "HGCalEESensitive";
158  else if (detType == 1)
159  nameX = "HGCalHESiliconSensitive";
160  else
161  nameX = "HGCalHEScintillatorSensitive";
163  es->get<IdealGeometryRecord>().get(nameX, hdc);
164  if (hdc.isValid()) {
165  levelT1_ = hdc->levelTop(0);
166  levelT2_ = hdc->levelTop(1);
167  if (hdc->tileTrapezoid()) {
168  types_[type] = -1;
169  hgcalNumbering_.emplace_back(new HGCalNumberingScheme(*hdc, (DetId::Detector)(dets_[type]), nameX));
170  } else if (hdc->waferHexagon6()) {
171  types_[type] = 1;
172  hgcNumbering_.push_back(new HGCNumberingScheme(*hdc, nameX));
173  } else {
174  types_[type] = 0;
175  hgcalNumbering_.emplace_back(new HGCalNumberingScheme(*hdc, (DetId::Detector)(dets_[type]), nameX));
176  }
177  layers = hdc->layers(false);
178  } else {
179  edm::LogError("ValidHGCal") << "Cannot find HGCalDDDConstants for " << nameX;
180  throw cms::Exception("Unknown", "ValidHGCal") << "Cannot find HGCalDDDConstants for " << nameX << "\n";
181  }
182  } else {
183  edm::LogError("ValidHGCal") << "Wrong Type " << types_[type];
184  throw cms::Exception("Unknown", "ValidHGCal") << "Wrong Type " << types_[type] << "\n";
185  }
186  if (detType == 0) {
187  for (int i = 0; i < layers; ++i)
188  hgcEEedep_.push_back(0);
189  } else if (detType == 1) {
190  for (int i = 0; i < layers; ++i)
191  hgcHEFedep_.push_back(0);
192  } else {
193  for (int i = 0; i < layers; ++i)
194  hgcHEBedep_.push_back(0);
195  }
196  if (verbosity_ > 0)
197  edm::LogVerbatim("ValidHGCal") << "[" << type << "]: " << nameX << " det " << dets_[type] << " subdet "
198  << subdet_[type] << " with " << layers << " layers";
199  }
200 }

References dets_, detTypes_, Exception, DetId::Forward, ForwardEmpty, edm::EventSetup::get(), get, DetId::HGCalEE, DetId::HGCalHSc, DetId::HGCalHSi, hgcalNumbering_, HGCEE, hgcEEedep_, HGCHEB, hgcHEBedep_, HGCHEF, hgcHEFedep_, hgcNumbering_, mps_fire::i, edm::ESHandleBase::isValid(), hgcalTopologyTester_cfi::layers, HGCalDDDConstants::layers(), levelT1_, levelT2_, HGCalDDDConstants::levelTop(), hfnoseParametersInitialization_cfi::nameX, subdet_, HGCalDDDConstants::tileTrapezoid(), types_, verbosity_, and HGCalDDDConstants::waferHexagon6().

Referenced by MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), and MatrixUtil.Steps::overwrite().

◆ update() [3/3]

void SimG4HGCalValidation::update ( const G4Step *  )
overrideprivatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const G4Step * >.

Definition at line 225 of file SimG4HGCalValidation.cc.

225  {
226  if (aStep != nullptr) {
227  G4VPhysicalVolume* curPV = aStep->GetPreStepPoint()->GetPhysicalVolume();
228  const G4String& name = curPV->GetName();
229  G4VSensitiveDetector* curSD = aStep->GetPreStepPoint()->GetSensitiveDetector();
230  if (verbosity_ > 1)
231  edm::LogVerbatim("ValidHGCal") << "ValidHGCal::Step in " << name << " at "
232  << aStep->GetPreStepPoint()->GetPosition();
233 
234  // Only for Sensitive detector
235  if (curSD != nullptr) {
236  int type(-1);
237  for (unsigned int k = 0; k < names_.size(); ++k) {
238  if (name.find(names_[k].c_str()) != std::string::npos) {
239  type = k;
240  break;
241  }
242  }
243  int detType = (type >= 0) ? detTypes_[type] : -1;
244  if (verbosity_ > 0)
245  edm::LogVerbatim("ValidHGCal") << "ValidHGCal::In SD " << name << " type " << type << ":" << detType;
246 
247  // Right type of SD
248  if (type >= 0) {
249  //Get the 32-bit index of the hit cell
250  const G4TouchableHistory* touchable =
251  static_cast<const G4TouchableHistory*>(aStep->GetPreStepPoint()->GetTouchable());
252  unsigned int index(0);
253  int layer(0);
254  G4ThreeVector hitPoint = aStep->GetPreStepPoint()->GetPosition();
255  // HGCal
256  G4ThreeVector localpos = touchable->GetHistory()->GetTopTransform().TransformPoint(hitPoint);
257  float globalZ = touchable->GetTranslation(0).z();
258  int iz(globalZ > 0 ? 1 : -1);
259  int module(-1), cell(-1);
260  if (types_[type] == 1) {
261  if (touchable->GetHistoryDepth() == levelT1_) {
262  layer = touchable->GetReplicaNumber(0);
263  } else {
264  layer = touchable->GetReplicaNumber(2);
265  module = touchable->GetReplicaNumber(1);
266  cell = touchable->GetReplicaNumber(0);
267  }
268  index =
269  hgcNumbering_[type]->getUnitID((ForwardSubdetector)(subdet_[type]), layer, module, cell, iz, localpos);
270  } else {
271  if ((touchable->GetHistoryDepth() == levelT1_) || (touchable->GetHistoryDepth() == levelT2_)) {
272  layer = touchable->GetReplicaNumber(0);
273  } else {
274  layer = touchable->GetReplicaNumber(3);
275  module = touchable->GetReplicaNumber(2);
276  cell = touchable->GetReplicaNumber(1);
277  }
278  double weight(0);
279  index = hgcalNumbering_[type]->getUnitID(layer, module, cell, iz, hitPoint, weight);
280  }
281  if (verbosity_ > 1)
282  edm::LogVerbatim("ValidHGCal") << "HGCal: " << name << " Layer " << layer << " Module " << module << " Cell "
283  << cell;
284 
285  double edeposit = aStep->GetTotalEnergyDeposit();
286  if (verbosity_ > 0)
287  edm::LogVerbatim("ValidHGCal") << "Layer " << layer << " Index " << std::hex << index << std::dec << " Edep "
288  << edeposit << " hit at " << hitPoint;
289  if (detType == 0) {
290  edepEE_ += edeposit;
291  if (layer < (int)(hgcEEedep_.size()))
292  hgcEEedep_[layer] += edeposit;
293  } else if (detType == 1) {
294  edepHEF_ += edeposit;
295  if (layer < (int)(hgcHEFedep_.size()))
296  hgcHEFedep_[layer] += edeposit;
297  } else {
298  edepHEB_ += edeposit;
299  if (layer < (int)(hgcHEBedep_.size()))
300  hgcHEBedep_[layer] += edeposit;
301  }
302  G4String nextVolume("XXX");
303  if (aStep->GetTrack()->GetNextVolume() != nullptr)
304  nextVolume = aStep->GetTrack()->GetNextVolume()->GetName();
305 
306  if (nextVolume.c_str() != name.c_str()) { //save hit when it exits cell
307  if (std::find(hgchitIndex_.begin(), hgchitIndex_.end(), index) == hgchitIndex_.end()) {
308  hgchitDets_.push_back(dets_[type]);
309  hgchitIndex_.push_back(index);
310  hgchitX_.push_back(hitPoint.x());
311  hgchitY_.push_back(hitPoint.y());
312  hgchitZ_.push_back(hitPoint.z());
313  }
314  }
315  } // it is right type of SD
316  } // it is in a SD
317  } //if aStep!=NULL
318 } //end update aStep

References TauDecayModes::dec, dets_, detTypes_, edepEE_, edepHEB_, edepHEF_, spr::find(), hgcalNumbering_, hgcEEedep_, hgcHEBedep_, hgcHEFedep_, hgchitDets_, hgchitIndex_, hgchitX_, hgchitY_, hgchitZ_, hgcNumbering_, dqmdumpme::k, phase1PixelTopology::layer, levelT1_, levelT2_, callgraph::module, Skims_PA_cff::name, names_, subdet_, types_, verbosity_, and mps_merge::weight.

Referenced by MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), and MatrixUtil.Steps::overwrite().

Member Data Documentation

◆ count_

unsigned int SimG4HGCalValidation::count_
private

Definition at line 90 of file SimG4HGCalValidation.cc.

Referenced by update().

◆ dets_

std::vector<unsigned int> SimG4HGCalValidation::dets_
private

Definition at line 94 of file SimG4HGCalValidation.cc.

Referenced by update().

◆ detTypes_

std::vector<int> SimG4HGCalValidation::detTypes_
private

Definition at line 83 of file SimG4HGCalValidation.cc.

Referenced by SimG4HGCalValidation(), and update().

◆ edepEE_

double SimG4HGCalValidation::edepEE_
private

Definition at line 92 of file SimG4HGCalValidation.cc.

Referenced by layerAnalysis(), and update().

◆ edepHEB_

double SimG4HGCalValidation::edepHEB_
private

Definition at line 92 of file SimG4HGCalValidation.cc.

Referenced by layerAnalysis(), and update().

◆ edepHEF_

double SimG4HGCalValidation::edepHEF_
private

Definition at line 92 of file SimG4HGCalValidation.cc.

Referenced by layerAnalysis(), and update().

◆ hgcalNumbering_

std::vector<HGCalNumberingScheme*> SimG4HGCalValidation::hgcalNumbering_
private

Definition at line 79 of file SimG4HGCalValidation.cc.

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

◆ hgcEEedep_

std::vector<double> SimG4HGCalValidation::hgcEEedep_
private

Definition at line 93 of file SimG4HGCalValidation.cc.

Referenced by layerAnalysis(), and update().

◆ hgcHEBedep_

std::vector<double> SimG4HGCalValidation::hgcHEBedep_
private

Definition at line 93 of file SimG4HGCalValidation.cc.

Referenced by layerAnalysis(), and update().

◆ hgcHEFedep_

std::vector<double> SimG4HGCalValidation::hgcHEFedep_
private

Definition at line 93 of file SimG4HGCalValidation.cc.

Referenced by layerAnalysis(), and update().

◆ hgchitDets_

std::vector<unsigned int> SimG4HGCalValidation::hgchitDets_
private

Definition at line 94 of file SimG4HGCalValidation.cc.

Referenced by clear(), layerAnalysis(), and update().

◆ hgchitIndex_

std::vector<unsigned int> SimG4HGCalValidation::hgchitIndex_
private

Definition at line 94 of file SimG4HGCalValidation.cc.

Referenced by clear(), layerAnalysis(), and update().

◆ hgchitX_

std::vector<double> SimG4HGCalValidation::hgchitX_
private

Definition at line 95 of file SimG4HGCalValidation.cc.

Referenced by clear(), layerAnalysis(), and update().

◆ hgchitY_

std::vector<double> SimG4HGCalValidation::hgchitY_
private

Definition at line 95 of file SimG4HGCalValidation.cc.

Referenced by clear(), layerAnalysis(), and update().

◆ hgchitZ_

std::vector<double> SimG4HGCalValidation::hgchitZ_
private

Definition at line 95 of file SimG4HGCalValidation.cc.

Referenced by clear(), layerAnalysis(), and update().

◆ hgcNumbering_

std::vector<HGCNumberingScheme*> SimG4HGCalValidation::hgcNumbering_
private

Definition at line 78 of file SimG4HGCalValidation.cc.

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

◆ labelLayer_

std::string SimG4HGCalValidation::labelLayer_
private

Definition at line 84 of file SimG4HGCalValidation.cc.

Referenced by produce(), and SimG4HGCalValidation().

◆ levelT1_

int SimG4HGCalValidation::levelT1_
private

Definition at line 87 of file SimG4HGCalValidation.cc.

Referenced by update().

◆ levelT2_

int SimG4HGCalValidation::levelT2_
private

Definition at line 87 of file SimG4HGCalValidation.cc.

Referenced by update().

◆ names_

std::vector<std::string> SimG4HGCalValidation::names_
private

Definition at line 82 of file SimG4HGCalValidation.cc.

Referenced by SimG4HGCalValidation(), and update().

◆ subdet_

std::vector<int> SimG4HGCalValidation::subdet_
private

Definition at line 83 of file SimG4HGCalValidation.cc.

Referenced by update().

◆ types_

std::vector<int> SimG4HGCalValidation::types_
private

Definition at line 83 of file SimG4HGCalValidation.cc.

Referenced by SimG4HGCalValidation(), and update().

◆ verbosity_

int SimG4HGCalValidation::verbosity_
private

Definition at line 91 of file SimG4HGCalValidation.cc.

Referenced by layerAnalysis(), SimG4HGCalValidation(), and update().

SimG4HGCalValidation::levelT2_
int levelT2_
Definition: SimG4HGCalValidation.cc:87
SimG4HGCalValidation::hgcalNumbering_
std::vector< HGCalNumberingScheme * > hgcalNumbering_
Definition: SimG4HGCalValidation.cc:79
mps_fire.i
i
Definition: mps_fire.py:428
PHGCalValidInfo
Definition: PHGCalValidInfo.h:12
SimG4HGCalValidation::edepEE_
double edepEE_
Definition: SimG4HGCalValidation.cc:92
iev
const HitContainer *__restrict__ const TkSoA *__restrict__ const Quality *__restrict__ const CAHitNtupletGeneratorKernelsGPU::HitToTuple *__restrict__ int32_t int iev
Definition: CAHitNtupletGeneratorKernelsImpl.h:862
ForwardEmpty
Definition: ForwardSubdetector.h:5
ForwardSubdetector
ForwardSubdetector
Definition: ForwardSubdetector.h:4
mps_merge.weight
weight
Definition: mps_merge.py:88
MeV
const double MeV
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
SimG4HGCalValidation::dets_
std::vector< unsigned int > dets_
Definition: SimG4HGCalValidation.cc:94
SimG4HGCalValidation::hgchitIndex_
std::vector< unsigned int > hgchitIndex_
Definition: SimG4HGCalValidation.cc:94
spr::find
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
SimG4HGCalValidation::names_
std::vector< std::string > names_
Definition: SimG4HGCalValidation.cc:82
SimG4HGCalValidation::hgcNumbering_
std::vector< HGCNumberingScheme * > hgcNumbering_
Definition: SimG4HGCalValidation.cc:78
SimG4HGCalValidation::subdet_
std::vector< int > subdet_
Definition: SimG4HGCalValidation.cc:83
SimG4HGCalValidation::hgchitY_
std::vector< double > hgchitY_
Definition: SimG4HGCalValidation.cc:95
SimG4HGCalValidation::hgchitX_
std::vector< double > hgchitX_
Definition: SimG4HGCalValidation.cc:95
DetId::HGCalHSi
Definition: DetId.h:33
DetId::HGCalEE
Definition: DetId.h:32
HGCalDDDConstants::waferHexagon6
bool waferHexagon6() const
Definition: HGCalDDDConstants.h:140
edm::EventSetup::get
T get() const
Definition: EventSetup.h:87
SimG4HGCalValidation::labelLayer_
std::string labelLayer_
Definition: SimG4HGCalValidation.cc:84
contentValuesFiles.number
number
Definition: contentValuesFiles.py:53
SimG4HGCalValidation::types_
std::vector< int > types_
Definition: SimG4HGCalValidation.cc:83
SimG4HGCalValidation::hgcHEFedep_
std::vector< double > hgcHEFedep_
Definition: SimG4HGCalValidation.cc:93
edm::ESHandle< HGCalDDDConstants >
SimG4HGCalValidation::hgcEEedep_
std::vector< double > hgcEEedep_
Definition: SimG4HGCalValidation.cc:93
dqmdumpme.k
k
Definition: dqmdumpme.py:60
SimG4HGCalValidation::edepHEB_
double edepHEB_
Definition: SimG4HGCalValidation.cc:92
SimG4HGCalValidation::hgchitZ_
std::vector< double > hgchitZ_
Definition: SimG4HGCalValidation.cc:95
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
HGCalDDDConstants::tileTrapezoid
bool tileTrapezoid() const
Definition: HGCalDDDConstants.h:113
HGCEE
Definition: ForwardSubdetector.h:8
edm::ParameterSet
Definition: ParameterSet.h:47
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
SimG4HGCalValidation::hgchitDets_
std::vector< unsigned int > hgchitDets_
Definition: SimG4HGCalValidation.cc:94
type
type
Definition: SiPixelVCal_PayloadInspector.cc:39
gainCalibHelper::gainCalibPI::type
type
Definition: SiPixelGainCalibHelper.h:40
HGCalDDDConstants::layers
unsigned int layers(bool reco) const
Definition: HGCalDDDConstants.cc:577
DetId::Detector
Detector
Definition: DetId.h:24
edm::EventSetup
Definition: EventSetup.h:58
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
get
#define get
edm::ESHandleBase::isValid
bool isValid() const
Definition: ESHandle.h:44
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HGCNumberingScheme
Definition: HGCNumberingScheme.h:13
PHGCalValidInfo::fillhgcLayers
void fillhgcLayers(const double edepEE, const double edepHEF, const double edepHEB, const std::vector< double > &eedep, const std::vector< double > &hefdep, const std::vector< double > &hebdep)
Definition: PHGCalValidInfo.cc:21
callgraph.module
module
Definition: callgraph.py:61
SimG4HGCalValidation::edepHEF_
double edepHEF_
Definition: SimG4HGCalValidation.cc:92
eostools.move
def move(src, dest)
Definition: eostools.py:511
SimG4HGCalValidation::detTypes_
std::vector< int > detTypes_
Definition: SimG4HGCalValidation.cc:83
SimG4HGCalValidation::count_
unsigned int count_
Definition: SimG4HGCalValidation.cc:90
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
DetId::HGCalHSc
Definition: DetId.h:34
hfnoseParametersInitialization_cfi.nameX
nameX
Definition: hfnoseParametersInitialization_cfi.py:12
SimG4HGCalValidation::clear
void clear()
Definition: SimG4HGCalValidation.cc:335
Exception
Definition: hltDiff.cc:245
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
PHGCalValidInfo::fillhgcHits
void fillhgcHits(const std::vector< unsigned int > &hitdets, const std::vector< unsigned int > &hitindex, const std::vector< double > &hitvtxX, const std::vector< double > &hitvtxY, const std::vector< double > &hitvtxZ)
Definition: PHGCalValidInfo.cc:7
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
HGCalDDDConstants::levelTop
int levelTop(int ind=0) const
Definition: HGCalDDDConstants.h:89
HGCHEF
Definition: ForwardSubdetector.h:9
SimG4HGCalValidation::hgcHEBedep_
std::vector< double > hgcHEBedep_
Definition: SimG4HGCalValidation.cc:93
SimG4HGCalValidation::verbosity_
int verbosity_
Definition: SimG4HGCalValidation.cc:91
DetId::Forward
Definition: DetId.h:30
HGCalNumberingScheme
Definition: HGCalNumberingScheme.h:16
edm::Log
Definition: MessageLogger.h:70
TauDecayModes.dec
dec
Definition: TauDecayModes.py:142
hgcalTopologyTester_cfi.layers
layers
Definition: hgcalTopologyTester_cfi.py:8
SimG4HGCalValidation::levelT1_
int levelT1_
Definition: SimG4HGCalValidation.cc:87
weight
Definition: weight.py:1
IdealGeometryRecord
Definition: IdealGeometryRecord.h:25
SimG4HGCalValidation::layerAnalysis
void layerAnalysis(PHGCalValidInfo &)
Definition: SimG4HGCalValidation.cc:322
HGCHEB
Definition: ForwardSubdetector.h:10
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37