#include <TrackerHitProducer.h>
Definition at line 51 of file TrackerHitProducer.h.
typedef std::vector<float> TrackerHitProducer::FloatVector |
Definition at line 56 of file TrackerHitProducer.h.
typedef std::vector<int> TrackerHitProducer::IntegerVector |
Definition at line 57 of file TrackerHitProducer.h.
TrackerHitProducer::TrackerHitProducer | ( | const edm::ParameterSet & | iPSet | ) | [explicit] |
Definition at line 4 of file TrackerHitProducer.cc.
References fName, getAllProvenances, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), edm::InputTag::instance(), label, edm::InputTag::label(), printProvenanceInfo, PxlBrlHighSrc_, PxlBrlLowSrc_, PxlFwdHighSrc_, PxlFwdLowSrc_, SiTECHighSrc_, SiTECLowSrc_, SiTIBHighSrc_, SiTIBLowSrc_, SiTIDHighSrc_, SiTIDLowSrc_, SiTOBHighSrc_, SiTOBLowSrc_, and verbosity.
: fName(""), verbosity(0), label(""), getAllProvenances(false), printProvenanceInfo(false), nRawGenPart(0), config_(iPSet), count(0) { // get information from parameter set fName = iPSet.getUntrackedParameter<std::string>("Name"); verbosity = iPSet.getUntrackedParameter<int>("Verbosity"); label = iPSet.getParameter<std::string>("Label"); edm::ParameterSet m_Prov = iPSet.getParameter<edm::ParameterSet>("ProvenanceLookup"); getAllProvenances = m_Prov.getUntrackedParameter<bool>("GetAllProvenances"); printProvenanceInfo = m_Prov.getUntrackedParameter<bool>("PrintProvenanceInfo"); //get Labels to use to extract information PxlBrlLowSrc_ = iPSet.getParameter<edm::InputTag>("PxlBrlLowSrc"); PxlBrlHighSrc_ = iPSet.getParameter<edm::InputTag>("PxlBrlHighSrc"); PxlFwdLowSrc_ = iPSet.getParameter<edm::InputTag>("PxlFwdLowSrc"); PxlFwdHighSrc_ = iPSet.getParameter<edm::InputTag>("PxlFwdHighSrc"); SiTIBLowSrc_ = iPSet.getParameter<edm::InputTag>("SiTIBLowSrc"); SiTIBHighSrc_ = iPSet.getParameter<edm::InputTag>("SiTIBHighSrc"); SiTOBLowSrc_ = iPSet.getParameter<edm::InputTag>("SiTOBLowSrc"); SiTOBHighSrc_ = iPSet.getParameter<edm::InputTag>("SiTOBHighSrc"); SiTIDLowSrc_ = iPSet.getParameter<edm::InputTag>("SiTIDLowSrc"); SiTIDHighSrc_ = iPSet.getParameter<edm::InputTag>("SiTIDHighSrc"); SiTECLowSrc_ = iPSet.getParameter<edm::InputTag>("SiTECLowSrc"); SiTECHighSrc_ = iPSet.getParameter<edm::InputTag>("SiTECHighSrc"); // use value of first digit to determine default output level (inclusive) // 0 is none, 1 is basic, 2 is fill output, 3 is gather output verbosity %= 10; // create persistent object produces<PTrackerSimHit>(label); // print out Parameter Set information being used if (verbosity > 0) { edm::LogInfo ("TrackerHitProducer::TrackerHitProducer") << "\n===============================\n" << "Initialized as EDProducer with parameter values:\n" << " Name =" << fName << "\n" << " Verbosity =" << verbosity << "\n" << " Label =" << label << "\n" << " GetProv =" << getAllProvenances << "\n" << " PrintProv =" << printProvenanceInfo << "\n" << " PxlBrlLowSrc = " << PxlBrlLowSrc_.label() << ":" << PxlBrlLowSrc_.instance() << "\n" << " PxlBrlHighSrc = " << PxlBrlHighSrc_.label() << ":" << PxlBrlHighSrc_.instance() << "\n" << " PxlFwdLowSrc = " << PxlFwdLowSrc_.label() << ":" << PxlBrlLowSrc_.instance() << "\n" << " PxlFwdHighSrc = " << PxlFwdHighSrc_.label() << ":" << PxlBrlHighSrc_.instance() << "\n" << " SiTIBLowSrc = " << SiTIBLowSrc_.label() << ":" << SiTIBLowSrc_.instance() << "\n" << " SiTIBHighSrc = " << SiTIBHighSrc_.label() << ":" << SiTIBHighSrc_.instance() << "\n" << " SiTOBLowSrc = " << SiTOBLowSrc_.label() << ":" << SiTOBLowSrc_.instance() << "\n" << " SiTOBHighSrc = " << SiTOBHighSrc_.label() << ":" << SiTOBHighSrc_.instance() << "\n" << " SiTIDLowSrc = " << SiTIDLowSrc_.label() << ":" << SiTIDLowSrc_.instance() << "\n" << " SiTIDHighSrc = " << SiTIDHighSrc_.label() << ":" << SiTIDHighSrc_.instance() << "\n" << " SiTECLowSrc = " << SiTECLowSrc_.label() << ":" << SiTECLowSrc_.instance() << "\n" << " SiTECHighSrc = " << SiTECHighSrc_.label() << ":" << SiTECHighSrc_.instance() << "\n" << "===============================\n"; } }
TrackerHitProducer::~TrackerHitProducer | ( | ) | [virtual] |
Definition at line 78 of file TrackerHitProducer.cc.
{ }
void TrackerHitProducer::beginJob | ( | void | ) | [virtual] |
Reimplemented from edm::EDProducer.
Definition at line 82 of file TrackerHitProducer.cc.
References clear(), and verbosity.
{ if (verbosity > 0) edm::LogInfo ("TrackerHitProducer::beginJob") << "Starting the job..."; clear(); return; }
void TrackerHitProducer::clear | ( | void | ) | [private] |
Definition at line 1065 of file TrackerHitProducer.cc.
References G4TrkE, G4TrkEta, G4TrkPhi, G4TrkPt, G4VtxX, G4VtxY, G4VtxZ, HitsDuID, HitsEloss, HitsEnPx, HitsEnPy, HitsEnPz, HitsExPx, HitsExPy, HitsExPz, HitsLdPhi, HitsLdTheta, HitsLdX, HitsLdY, HitsLdZ, HitsLpX, HitsLpY, HitsLpZ, HitsP, HitsParT, HitsProT, HitsSysID, HitsTkID, HitsToF, nRawGenPart, and verbosity.
Referenced by beginJob(), and produce().
{ if (verbosity > 0) edm::LogInfo("GlobalValProducer::clear") << "Clearing event holders"; // reset G4MC info nRawGenPart = 0; G4VtxX.clear(); G4VtxY.clear(); G4VtxZ.clear(); G4TrkPt.clear(); G4TrkE.clear(); G4TrkEta.clear(); G4TrkPhi.clear(); // reset tracker info HitsSysID.clear(); HitsDuID.clear(); HitsTkID.clear(); HitsProT.clear(); HitsParT.clear(); HitsP.clear(); HitsLpX.clear(); HitsLpY.clear(); HitsLpZ.clear(); HitsLdX.clear(); HitsLdY.clear(); HitsLdZ.clear(); HitsLdTheta.clear(); HitsLdPhi.clear(); HitsExPx.clear(); HitsExPy.clear(); HitsExPz.clear(); HitsEnPx.clear(); HitsEnPy.clear(); HitsEnPz.clear(); HitsEloss.clear(); HitsToF.clear(); return; }
void TrackerHitProducer::endJob | ( | void | ) | [virtual] |
Reimplemented from edm::EDProducer.
Definition at line 91 of file TrackerHitProducer.cc.
References count, and verbosity.
{ if (verbosity > 0) edm::LogInfo ("TrackerHitProducer::endJob") << "Terminating having processed" << count << "events."; return; }
void TrackerHitProducer::fillG4MC | ( | edm::Event & | iEvent | ) | [private] |
Definition at line 184 of file TrackerHitProducer.cc.
References config_, G4TrkE, G4TrkEta, G4TrkPhi, G4TrkPt, G4VtxX, G4VtxY, G4VtxZ, edm::Event::getByLabel(), edm::Event::getByType(), edm::ParameterSet::getUntrackedParameter(), i, edm::HandleBase::isValid(), create_public_lumi_plots::log, siStripFEDMonitor_P5_cff::Max, siStripFEDMonitor_P5_cff::Min, nRawGenPart, mathSSE::sqrt(), funct::tan(), theta(), and verbosity.
Referenced by produce().
{ TString eventout; if (verbosity > 0) eventout = "\nGathering info:"; // get MC information edm::Handle<edm::HepMCProduct> HepMCEvt; //iEvent.getByType(HepMCEvt); static std::string HepMClabel = config_.getUntrackedParameter<std::string>("HepMCProductLabel","source"); static std::string HepMCinstance = config_.getUntrackedParameter<std::string>("HepMCInputInstance",""); iEvent.getByLabel(HepMClabel, HepMCinstance ,HepMCEvt); if (!HepMCEvt.isValid()) { edm::LogError("TrackerHitProducer::fillG4MC") << "Unable to find HepMCProduct in event!"; return; } const HepMC::GenEvent* MCEvt = HepMCEvt->GetEvent(); nRawGenPart = MCEvt->particles_size(); if (verbosity > 1) { eventout += "\n Number of Raw Particles collected: "; eventout += nRawGenPart; } // get G4Vertex information edm::Handle<edm::SimVertexContainer> G4VtxContainer; iEvent.getByType(G4VtxContainer); if (!G4VtxContainer.isValid()) { edm::LogError("TrackerHitProducer::fillG4MC") << "Unable to find SimVertex in event!"; return; } int i = 0; edm::SimVertexContainer::const_iterator itVtx; for (itVtx = G4VtxContainer->begin(); itVtx != G4VtxContainer->end(); ++itVtx) { ++i; const CLHEP::HepLorentzVector& G4Vtx = CLHEP::HepLorentzVector(itVtx->position().x(), itVtx->position().y(), itVtx->position().z(), itVtx->position().e()); G4VtxX.push_back(G4Vtx[0]/micrometer); //cm from code -> micrometer *10000 G4VtxY.push_back(G4Vtx[1]/micrometer); //cm from code -> micrometer *10000 G4VtxZ.push_back(G4Vtx[2]/millimeter); //cm from code -> millimeter *10 } if (verbosity > 1) { eventout += "\n Number of G4Vertices collected: "; eventout += i; } // get G4Track information edm::Handle<edm::SimTrackContainer> G4TrkContainer; iEvent.getByType(G4TrkContainer); if (!G4TrkContainer.isValid()) { edm::LogError("TrackerHitProducer::fillG4MC") << "Unable to find SimTrack in event!"; return; } i = 0; edm::SimTrackContainer::const_iterator itTrk; for (itTrk = G4TrkContainer->begin(); itTrk != G4TrkContainer->end(); ++itTrk) { ++i; double etaInit =0, phiInit =0, pInit =0; const CLHEP::HepLorentzVector& G4Trk = CLHEP::HepLorentzVector(itTrk->momentum().x(), itTrk->momentum().y(), itTrk->momentum().z(), itTrk->momentum().e()); pInit =sqrt(G4Trk[0]*G4Trk[0]+G4Trk[1]*G4Trk[1]+G4Trk[2]*G4Trk[2]); if ( pInit == 0) edm::LogError("TrackerHitProducer::fillG4MC") << "TrackerTest::INFO: Primary has p = 0 "; else { double costheta = G4Trk[2]/pInit; double theta = acos(TMath::Min(TMath::Max(costheta, -1.),1.)); etaInit = -log(tan(theta/2)); if ( G4Trk[0] != 0 || G4Trk[1] != 0) phiInit = atan2(G4Trk[1],G4Trk[0]); } G4TrkPt.push_back(sqrt(G4Trk[0]*G4Trk[0]+G4Trk[1]*G4Trk[1])); //GeV G4TrkE.push_back(G4Trk[3]); //GeV G4TrkEta.push_back(etaInit); G4TrkPhi.push_back(phiInit); } if (verbosity > 1) { eventout += "\n Number of G4Tracks collected: "; eventout += i; } if (verbosity > 0) edm::LogInfo("TrackerHitProducer::fillG4MC") << eventout; return; }
void TrackerHitProducer::fillTrk | ( | edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) | [private] |
Definition at line 334 of file TrackerHitProducer.cc.
References edm::Event::getByLabel(), HitsDuID, HitsEloss, HitsEnPx, HitsEnPy, HitsEnPz, HitsExPx, HitsExPy, HitsExPz, HitsLdPhi, HitsLdTheta, HitsLdX, HitsLdY, HitsLdZ, HitsLpX, HitsLpY, HitsLpZ, HitsP, HitsParT, HitsProT, HitsSysID, HitsTkID, HitsToF, edm::HandleBase::isValid(), j, PxlBrlHighSrc_, PxlBrlLowSrc_, PxlFwdHighSrc_, PxlFwdLowSrc_, SiTECHighSrc_, SiTECLowSrc_, SiTIBHighSrc_, SiTIBLowSrc_, SiTIDHighSrc_, SiTIDLowSrc_, SiTOBHighSrc_, SiTOBLowSrc_, and verbosity.
Referenced by produce().
{ TString eventout; int sysID = 0; if (verbosity > 0) eventout = "\nGathering info:"; // iterator to access containers edm::PSimHitContainer::const_iterator itHit; // edm::PSimHitContainer theHits; // get Pixel Barrel information // extract low container edm::Handle<edm::PSimHitContainer> PxlBrlLowContainer; iEvent.getByLabel(PxlBrlLowSrc_,PxlBrlLowContainer); // iEvent.getByLabel("g4SimHits","TrackerHitsPixelBarrelLowTof",PxlBrlLowContainer); if (!PxlBrlLowContainer.isValid()) { edm::LogError("TrackerHitProducer::fillTrk") << "Unable to find TrackerHitsPixelBarrelLowTof in event!"; return; } // place both containers into new container // theHits.insert(theHits.end(),PxlBrlLowContainer->begin(), // PxlBrlLowContainer->end()); sysID = 100; // TrackerHitsPixelBarrelLowTof int j = 0; for (itHit = PxlBrlLowContainer->begin(); itHit != PxlBrlLowContainer->end(); ++itHit) { // for (itHit = theHits.begin(); itHit != theHits.end(); ++itHit) { // gather necessary information ++j; HitsSysID.push_back(sysID); HitsDuID.push_back(itHit->detUnitId()); HitsTkID.push_back(itHit->trackId()); HitsProT.push_back(itHit->processType()); HitsParT.push_back(itHit->particleType()); HitsP.push_back(itHit->pabs()); HitsLpX.push_back(itHit->localPosition().x()); HitsLpY.push_back(itHit->localPosition().y()); HitsLpZ.push_back(itHit->localPosition().z()); HitsLdX.push_back(itHit->localDirection().x()); HitsLdY.push_back(itHit->localDirection().y()); HitsLdZ.push_back(itHit->localDirection().z()); HitsLdTheta.push_back(itHit->localDirection().theta()); HitsLdPhi.push_back(itHit->localDirection().phi()); HitsExPx.push_back(itHit->exitPoint().x()); HitsExPy.push_back(itHit->exitPoint().y()); HitsExPz.push_back(itHit->exitPoint().z()); HitsEnPx.push_back(itHit->entryPoint().x()); HitsEnPy.push_back(itHit->entryPoint().y()); HitsEnPz.push_back(itHit->entryPoint().z()); HitsEloss.push_back(itHit->energyLoss()); HitsToF.push_back(itHit->tof()); } // end loop through PxlBrl Hits if (verbosity > 1) { eventout += "\n Number of Pixel Barrel Low TOF Hits collected: "; eventout += j; } // theHits.clear(); // extract high container edm::Handle<edm::PSimHitContainer> PxlBrlHighContainer; // iEvent.getByLabel("g4SimHits","TrackerHitsPixelBarrelHighTof",PxlBrlHighContainer); iEvent.getByLabel(PxlBrlHighSrc_,PxlBrlHighContainer); if (!PxlBrlHighContainer.isValid()) { edm::LogError("TrackerHitProducer::fillTrk") << "Unable to find TrackerHitsPixelBarrelHighTof in event!"; return; } sysID = 200; // TrackerHitsPixelBarrelHighTof j = 0; for (itHit = PxlBrlHighContainer->begin(); itHit != PxlBrlHighContainer->end(); ++itHit) { // gather necessary information ++j; HitsSysID.push_back(sysID); HitsDuID.push_back(itHit->detUnitId()); HitsTkID.push_back(itHit->trackId()); HitsProT.push_back(itHit->processType()); HitsParT.push_back(itHit->particleType()); HitsP.push_back(itHit->pabs()); HitsLpX.push_back(itHit->localPosition().x()); HitsLpY.push_back(itHit->localPosition().y()); HitsLpZ.push_back(itHit->localPosition().z()); HitsLdX.push_back(itHit->localDirection().x()); HitsLdY.push_back(itHit->localDirection().y()); HitsLdZ.push_back(itHit->localDirection().z()); HitsLdTheta.push_back(itHit->localDirection().theta()); HitsLdPhi.push_back(itHit->localDirection().phi()); HitsExPx.push_back(itHit->exitPoint().x()); HitsExPy.push_back(itHit->exitPoint().y()); HitsExPz.push_back(itHit->exitPoint().z()); HitsEnPx.push_back(itHit->entryPoint().x()); HitsEnPy.push_back(itHit->entryPoint().y()); HitsEnPz.push_back(itHit->entryPoint().z()); HitsEloss.push_back(itHit->energyLoss()); HitsToF.push_back(itHit->tof()); } // end loop through PxlBrl Hits if (verbosity > 1) { eventout += "\n Number of Pixel Barrel High TOF Hits collected: "; eventout += j; } // get Pixel Forward information // extract low container edm::Handle<edm::PSimHitContainer> PxlFwdLowContainer; // iEvent.getByLabel("g4SimHits","TrackerHitsPixelEndcapLowTof",PxlFwdLowContainer); iEvent.getByLabel(PxlFwdLowSrc_,PxlFwdLowContainer); if (!PxlFwdLowContainer.isValid()) { edm::LogError("TrackerHitProducer::fillTrk") << "Unable to find TrackerHitsPixelEndcapLowTof in event!"; return; } sysID = 300; // TrackerHitsPixelEndcapLowTof j = 0; for (itHit = PxlFwdLowContainer->begin(); itHit != PxlFwdLowContainer->end(); ++itHit) { // gather necessary information ++j; HitsSysID.push_back(sysID); HitsDuID.push_back(itHit->detUnitId()); HitsTkID.push_back(itHit->trackId()); HitsProT.push_back(itHit->processType()); HitsParT.push_back(itHit->particleType()); HitsP.push_back(itHit->pabs()); HitsLpX.push_back(itHit->localPosition().x()); HitsLpY.push_back(itHit->localPosition().y()); HitsLpZ.push_back(itHit->localPosition().z()); HitsLdX.push_back(itHit->localDirection().x()); HitsLdY.push_back(itHit->localDirection().y()); HitsLdZ.push_back(itHit->localDirection().z()); HitsLdTheta.push_back(itHit->localDirection().theta()); HitsLdPhi.push_back(itHit->localDirection().phi()); HitsExPx.push_back(itHit->exitPoint().x()); HitsExPy.push_back(itHit->exitPoint().y()); HitsExPz.push_back(itHit->exitPoint().z()); HitsEnPx.push_back(itHit->entryPoint().x()); HitsEnPy.push_back(itHit->entryPoint().y()); HitsEnPz.push_back(itHit->entryPoint().z()); HitsEloss.push_back(itHit->energyLoss()); HitsToF.push_back(itHit->tof()); } // end loop through PxlFwd Hits if (verbosity > 1) { eventout += "\n Number of Pixel Forward Low TOF Hits collected: "; eventout += j; } // extract high container edm::Handle<edm::PSimHitContainer> PxlFwdHighContainer; // iEvent.getByLabel("g4SimHits","TrackerHitsPixelEndcapHighTof",PxlFwdHighContainer); iEvent.getByLabel(PxlFwdHighSrc_,PxlFwdHighContainer); if (!PxlFwdHighContainer.isValid()) { edm::LogError("TrackerHitProducer::fillTrk") << "Unable to find TrackerHitsPixelEndcapHighTof in event!"; return; } sysID = 400; // TrackerHitsPixelEndcapHighTof j = 0; for (itHit = PxlFwdHighContainer->begin(); itHit != PxlFwdHighContainer->end(); ++itHit) { // gather necessary information ++j; HitsSysID.push_back(sysID); HitsDuID.push_back(itHit->detUnitId()); HitsTkID.push_back(itHit->trackId()); HitsProT.push_back(itHit->processType()); HitsParT.push_back(itHit->particleType()); HitsP.push_back(itHit->pabs()); HitsLpX.push_back(itHit->localPosition().x()); HitsLpY.push_back(itHit->localPosition().y()); HitsLpZ.push_back(itHit->localPosition().z()); HitsLdX.push_back(itHit->localDirection().x()); HitsLdY.push_back(itHit->localDirection().y()); HitsLdZ.push_back(itHit->localDirection().z()); HitsLdTheta.push_back(itHit->localDirection().theta()); HitsLdPhi.push_back(itHit->localDirection().phi()); HitsExPx.push_back(itHit->exitPoint().x()); HitsExPy.push_back(itHit->exitPoint().y()); HitsExPz.push_back(itHit->exitPoint().z()); HitsEnPx.push_back(itHit->entryPoint().x()); HitsEnPy.push_back(itHit->entryPoint().y()); HitsEnPz.push_back(itHit->entryPoint().z()); HitsEloss.push_back(itHit->energyLoss()); HitsToF.push_back(itHit->tof()); } // end loop through PxlFwd Hits if (verbosity > 1) { eventout += "\n Number of Pixel Forward High TOF Hits collected: "; eventout += j; } // get Silicon TIB information // extract TIB low container edm::Handle<edm::PSimHitContainer> SiTIBLowContainer; // iEvent.getByLabel("g4SimHits","TrackerHitsTIBLowTof",SiTIBLowContainer); iEvent.getByLabel(SiTIBLowSrc_,SiTIBLowContainer); if (!SiTIBLowContainer.isValid()) { edm::LogError("TrackerHitProducer::fillTrk") << "Unable to find TrackerHitsTIBLowTof in event!"; return; } sysID = 10; // TrackerHitsTIBLowTof j = 0; for (itHit = SiTIBLowContainer->begin(); itHit != SiTIBLowContainer->end(); ++itHit) { // gather necessary information ++j; HitsSysID.push_back(sysID); HitsDuID.push_back(itHit->detUnitId()); HitsTkID.push_back(itHit->trackId()); HitsProT.push_back(itHit->processType()); HitsParT.push_back(itHit->particleType()); HitsP.push_back(itHit->pabs()); HitsLpX.push_back(itHit->localPosition().x()); HitsLpY.push_back(itHit->localPosition().y()); HitsLpZ.push_back(itHit->localPosition().z()); HitsLdX.push_back(itHit->localDirection().x()); HitsLdY.push_back(itHit->localDirection().y()); HitsLdZ.push_back(itHit->localDirection().z()); HitsLdTheta.push_back(itHit->localDirection().theta()); HitsLdPhi.push_back(itHit->localDirection().phi()); HitsExPx.push_back(itHit->exitPoint().x()); HitsExPy.push_back(itHit->exitPoint().y()); HitsExPz.push_back(itHit->exitPoint().z()); HitsEnPx.push_back(itHit->entryPoint().x()); HitsEnPy.push_back(itHit->entryPoint().y()); HitsEnPz.push_back(itHit->entryPoint().z()); HitsEloss.push_back(itHit->energyLoss()); HitsToF.push_back(itHit->tof()); } // end loop through PxlFwd Hits if (verbosity > 1) { eventout += "\n Number of TIB low TOF Hits collected: "; eventout += j; } // extract TIB high container edm::Handle<edm::PSimHitContainer> SiTIBHighContainer; // iEvent.getByLabel("g4SimHits","TrackerHitsTIBHighTof",SiTIBHighContainer); iEvent.getByLabel(SiTIBHighSrc_,SiTIBHighContainer); if (!SiTIBHighContainer.isValid()) { edm::LogError("TrackerHitProducer::fillTrk") << "Unable to find TrackerHitsTIBHighTof in event!"; return; } sysID = 20; // TrackerHitsTIBHighTof j = 0; for (itHit = SiTIBHighContainer->begin(); itHit != SiTIBHighContainer->end(); ++itHit) { // gather necessary information ++j; HitsSysID.push_back(sysID); HitsDuID.push_back(itHit->detUnitId()); HitsTkID.push_back(itHit->trackId()); HitsProT.push_back(itHit->processType()); HitsParT.push_back(itHit->particleType()); HitsP.push_back(itHit->pabs()); HitsLpX.push_back(itHit->localPosition().x()); HitsLpY.push_back(itHit->localPosition().y()); HitsLpZ.push_back(itHit->localPosition().z()); HitsLdX.push_back(itHit->localDirection().x()); HitsLdY.push_back(itHit->localDirection().y()); HitsLdZ.push_back(itHit->localDirection().z()); HitsLdTheta.push_back(itHit->localDirection().theta()); HitsLdPhi.push_back(itHit->localDirection().phi()); HitsExPx.push_back(itHit->exitPoint().x()); HitsExPy.push_back(itHit->exitPoint().y()); HitsExPz.push_back(itHit->exitPoint().z()); HitsEnPx.push_back(itHit->entryPoint().x()); HitsEnPy.push_back(itHit->entryPoint().y()); HitsEnPz.push_back(itHit->entryPoint().z()); HitsEloss.push_back(itHit->energyLoss()); HitsToF.push_back(itHit->tof()); } // end loop through PxlFwd Hits if (verbosity > 1) { eventout += "\n Number of TIB high TOF Hits collected: "; eventout += j; } // get Silicon TOB information // extract TOB low container edm::Handle<edm::PSimHitContainer> SiTOBLowContainer; // iEvent.getByLabel("g4SimHits","TrackerHitsTOBLowTof",SiTOBLowContainer); iEvent.getByLabel(SiTOBLowSrc_,SiTOBLowContainer); if (!SiTOBLowContainer.isValid()) { edm::LogError("TrackerHitProducer::fillTrk") << "Unable to find TrackerHitsTOBLowTof in event!"; return; } sysID = 30; // TrackerHitsTOBLowTof j = 0; for (itHit = SiTOBLowContainer->begin(); itHit != SiTOBLowContainer->end(); ++itHit) { // gather necessary information ++j; HitsSysID.push_back(sysID); HitsDuID.push_back(itHit->detUnitId()); HitsTkID.push_back(itHit->trackId()); HitsProT.push_back(itHit->processType()); HitsParT.push_back(itHit->particleType()); HitsP.push_back(itHit->pabs()); HitsLpX.push_back(itHit->localPosition().x()); HitsLpY.push_back(itHit->localPosition().y()); HitsLpZ.push_back(itHit->localPosition().z()); HitsLdX.push_back(itHit->localDirection().x()); HitsLdY.push_back(itHit->localDirection().y()); HitsLdZ.push_back(itHit->localDirection().z()); HitsLdTheta.push_back(itHit->localDirection().theta()); HitsLdPhi.push_back(itHit->localDirection().phi()); HitsExPx.push_back(itHit->exitPoint().x()); HitsExPy.push_back(itHit->exitPoint().y()); HitsExPz.push_back(itHit->exitPoint().z()); HitsEnPx.push_back(itHit->entryPoint().x()); HitsEnPy.push_back(itHit->entryPoint().y()); HitsEnPz.push_back(itHit->entryPoint().z()); HitsEloss.push_back(itHit->energyLoss()); HitsToF.push_back(itHit->tof()); } // end loop through PxlFwd Hits if (verbosity > 1) { eventout += "\n Number of TOB low TOF Hits collected: "; eventout += j; } // extract TOB high container edm::Handle<edm::PSimHitContainer> SiTOBHighContainer; // iEvent.getByLabel("g4SimHits","TrackerHitsTOBHighTof",SiTOBHighContainer); iEvent.getByLabel(SiTOBHighSrc_,SiTOBHighContainer); if (!SiTOBHighContainer.isValid()) { edm::LogError("TrackerHitProducer::fillTrk") << "Unable to find TrackerHitsTOBHighTof in event!"; return; } sysID = 40; // TrackerHitsTOBHighTof j = 0; for (itHit = SiTOBHighContainer->begin(); itHit != SiTOBHighContainer->end(); ++itHit) { // gather necessary information ++j; HitsSysID.push_back(sysID); HitsDuID.push_back(itHit->detUnitId()); HitsTkID.push_back(itHit->trackId()); HitsProT.push_back(itHit->processType()); HitsParT.push_back(itHit->particleType()); HitsP.push_back(itHit->pabs()); HitsLpX.push_back(itHit->localPosition().x()); HitsLpY.push_back(itHit->localPosition().y()); HitsLpZ.push_back(itHit->localPosition().z()); HitsLdX.push_back(itHit->localDirection().x()); HitsLdY.push_back(itHit->localDirection().y()); HitsLdZ.push_back(itHit->localDirection().z()); HitsLdTheta.push_back(itHit->localDirection().theta()); HitsLdPhi.push_back(itHit->localDirection().phi()); HitsExPx.push_back(itHit->exitPoint().x()); HitsExPy.push_back(itHit->exitPoint().y()); HitsExPz.push_back(itHit->exitPoint().z()); HitsEnPx.push_back(itHit->entryPoint().x()); HitsEnPy.push_back(itHit->entryPoint().y()); HitsEnPz.push_back(itHit->entryPoint().z()); HitsEloss.push_back(itHit->energyLoss()); HitsToF.push_back(itHit->tof()); } // end loop through SiTOB Hits if (verbosity > 1) { eventout += "\n Number of TOB high TOF Hits collected: "; eventout += j; } // get Silicon TID information // extract TID low container edm::Handle<edm::PSimHitContainer> SiTIDLowContainer; // iEvent.getByLabel("g4SimHits","TrackerHitsTIDLowTof",SiTIDLowContainer); iEvent.getByLabel(SiTIDLowSrc_,SiTIDLowContainer); if (!SiTIDLowContainer.isValid()) { edm::LogError("TrackerHitProducer::fillTrk") << "Unable to find TrackerHitsTIDLowTof in event!"; return; } sysID = 50; // TrackerHitsTIDLowTof j = 0; for (itHit = SiTIDLowContainer->begin(); itHit != SiTIDLowContainer->end(); ++itHit) { // gather necessary information ++j; HitsSysID.push_back(sysID); HitsDuID.push_back(itHit->detUnitId()); HitsTkID.push_back(itHit->trackId()); HitsProT.push_back(itHit->processType()); HitsParT.push_back(itHit->particleType()); HitsP.push_back(itHit->pabs()); HitsLpX.push_back(itHit->localPosition().x()); HitsLpY.push_back(itHit->localPosition().y()); HitsLpZ.push_back(itHit->localPosition().z()); HitsLdX.push_back(itHit->localDirection().x()); HitsLdY.push_back(itHit->localDirection().y()); HitsLdZ.push_back(itHit->localDirection().z()); HitsLdTheta.push_back(itHit->localDirection().theta()); HitsLdPhi.push_back(itHit->localDirection().phi()); HitsExPx.push_back(itHit->exitPoint().x()); HitsExPy.push_back(itHit->exitPoint().y()); HitsExPz.push_back(itHit->exitPoint().z()); HitsEnPx.push_back(itHit->entryPoint().x()); HitsEnPy.push_back(itHit->entryPoint().y()); HitsEnPz.push_back(itHit->entryPoint().z()); HitsEloss.push_back(itHit->energyLoss()); HitsToF.push_back(itHit->tof()); } // end loop through SiTID Hits if (verbosity > 1) { eventout += "\n Number of TID low TOF Hits collected: "; eventout += j; } // extract TID high container edm::Handle<edm::PSimHitContainer> SiTIDHighContainer; // iEvent.getByLabel("g4SimHits","TrackerHitsTIDHighTof",SiTIDHighContainer); iEvent.getByLabel(SiTIDHighSrc_,SiTIDHighContainer); if (!SiTIDHighContainer.isValid()) { edm::LogError("TrackerHitProducer::fillTrk") << "Unable to find TrackerHitsTIDHighTof in event!"; return; } sysID = 60; // TrackerHitsTIDHighTof j = 0; for (itHit = SiTIDHighContainer->begin(); itHit != SiTIDHighContainer->end(); ++itHit) { // gather necessary information ++j; HitsSysID.push_back(sysID); HitsDuID.push_back(itHit->detUnitId()); HitsTkID.push_back(itHit->trackId()); HitsProT.push_back(itHit->processType()); HitsParT.push_back(itHit->particleType()); HitsP.push_back(itHit->pabs()); HitsLpX.push_back(itHit->localPosition().x()); HitsLpY.push_back(itHit->localPosition().y()); HitsLpZ.push_back(itHit->localPosition().z()); HitsLdX.push_back(itHit->localDirection().x()); HitsLdY.push_back(itHit->localDirection().y()); HitsLdZ.push_back(itHit->localDirection().z()); HitsLdTheta.push_back(itHit->localDirection().theta()); HitsLdPhi.push_back(itHit->localDirection().phi()); HitsExPx.push_back(itHit->exitPoint().x()); HitsExPy.push_back(itHit->exitPoint().y()); HitsExPz.push_back(itHit->exitPoint().z()); HitsEnPx.push_back(itHit->entryPoint().x()); HitsEnPy.push_back(itHit->entryPoint().y()); HitsEnPz.push_back(itHit->entryPoint().z()); HitsEloss.push_back(itHit->energyLoss()); HitsToF.push_back(itHit->tof()); } // end loop through SiTID Hits if (verbosity > 1) { eventout += "\n Number of TID high TOF Hits collected: "; eventout += j; } // get Silicon TEC information // extract TEC low container edm::Handle<edm::PSimHitContainer> SiTECLowContainer; // iEvent.getByLabel("g4SimHits","TrackerHitsTECLowTof",SiTECLowContainer); iEvent.getByLabel(SiTECLowSrc_,SiTECLowContainer); if (!SiTECLowContainer.isValid()) { edm::LogError("TrackerHitProducer::fillTrk") << "Unable to find TrackerHitsTECLowTof in event!"; return; } sysID = 70; // TrackerHitsTECLowTof j = 0; for (itHit = SiTECLowContainer->begin(); itHit != SiTECLowContainer->end(); ++itHit) { // gather necessary information ++j; HitsSysID.push_back(sysID); HitsDuID.push_back(itHit->detUnitId()); HitsTkID.push_back(itHit->trackId()); HitsProT.push_back(itHit->processType()); HitsParT.push_back(itHit->particleType()); HitsP.push_back(itHit->pabs()); HitsLpX.push_back(itHit->localPosition().x()); HitsLpY.push_back(itHit->localPosition().y()); HitsLpZ.push_back(itHit->localPosition().z()); HitsLdX.push_back(itHit->localDirection().x()); HitsLdY.push_back(itHit->localDirection().y()); HitsLdZ.push_back(itHit->localDirection().z()); HitsLdTheta.push_back(itHit->localDirection().theta()); HitsLdPhi.push_back(itHit->localDirection().phi()); HitsExPx.push_back(itHit->exitPoint().x()); HitsExPy.push_back(itHit->exitPoint().y()); HitsExPz.push_back(itHit->exitPoint().z()); HitsEnPx.push_back(itHit->entryPoint().x()); HitsEnPy.push_back(itHit->entryPoint().y()); HitsEnPz.push_back(itHit->entryPoint().z()); HitsEloss.push_back(itHit->energyLoss()); HitsToF.push_back(itHit->tof()); } // end loop through SiTEC Hits if (verbosity > 1) { eventout += "\n Number of TEC low TOF Hits collected: "; eventout += j; } // extract TEC high container edm::Handle<edm::PSimHitContainer> SiTECHighContainer; // iEvent.getByLabel("g4SimHits","TrackerHitsTECHighTof",SiTECHighContainer); iEvent.getByLabel(SiTECHighSrc_,SiTECHighContainer); if (!SiTECHighContainer.isValid()) { edm::LogError("TrackerHitProducer::fillTrk") << "Unable to find TrackerHitsTECHighTof in event!"; return; } sysID = 80; // TrackerHitsTECHighTof j = 0; for (itHit = SiTECHighContainer->begin(); itHit != SiTECHighContainer->end(); ++itHit) { // gather necessary information ++j; HitsSysID.push_back(sysID); HitsDuID.push_back(itHit->detUnitId()); HitsTkID.push_back(itHit->trackId()); HitsProT.push_back(itHit->processType()); HitsParT.push_back(itHit->particleType()); HitsP.push_back(itHit->pabs()); HitsLpX.push_back(itHit->localPosition().x()); HitsLpY.push_back(itHit->localPosition().y()); HitsLpZ.push_back(itHit->localPosition().z()); HitsLdX.push_back(itHit->localDirection().x()); HitsLdY.push_back(itHit->localDirection().y()); HitsLdZ.push_back(itHit->localDirection().z()); HitsLdTheta.push_back(itHit->localDirection().theta()); HitsLdPhi.push_back(itHit->localDirection().phi()); HitsExPx.push_back(itHit->exitPoint().x()); HitsExPy.push_back(itHit->exitPoint().y()); HitsExPz.push_back(itHit->exitPoint().z()); HitsEnPx.push_back(itHit->entryPoint().x()); HitsEnPy.push_back(itHit->entryPoint().y()); HitsEnPz.push_back(itHit->entryPoint().z()); HitsEloss.push_back(itHit->energyLoss()); HitsToF.push_back(itHit->tof()); } // end loop through SiTEC Hits if (verbosity > 1) { eventout += "\n Number of TEC high TOF Hits collected: "; eventout += j; } if (verbosity > 0) edm::LogInfo("TrackerHitProducer::fillTrk") << eventout; return; }
void TrackerHitProducer::produce | ( | edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) | [virtual] |
Implements edm::EDProducer.
Definition at line 99 of file TrackerHitProducer.cc.
References clear(), count, edm::EventID::event(), fillG4MC(), fillTrk(), edm::Event::getAllProvenance(), getAllProvenances, i, edm::EventBase::id(), label, nevt, printProvenanceInfo, edm::Event::put(), edm::EventID::run(), storeG4MC(), storeTrk(), and verbosity.
{ // keep track of number of events processed ++count; // get event id information int nrun = iEvent.id().run(); int nevt = iEvent.id().event(); // get event setup information //edm::ESHandle<edm::SetupData> pSetup; //iSetup.get<edm::SetupRecord>().get(pSetup); if (verbosity > 0) { edm::LogInfo ("TrackerHitProducer::produce") << "Processing run" << nrun << "," << "event " << nevt; } // clear event holders clear(); // look at information available in the event if (getAllProvenances) { std::vector<const edm::Provenance*> AllProv; iEvent.getAllProvenance(AllProv); if (verbosity > 0) edm::LogInfo ("TrackerHitProducer::produce") << "Number of Provenances =" << AllProv.size(); if (printProvenanceInfo && (verbosity > 0)) { TString eventout("\nProvenance info:\n"); for (unsigned int i = 0; i < AllProv.size(); ++i) { eventout += "\n ******************************"; eventout += "\n Module : "; eventout += AllProv[i]->moduleLabel(); eventout += "\n ProductID process index: "; eventout += AllProv[i]->productID().processIndex(); eventout += "\n ProductID product index: "; eventout += AllProv[i]->productID().productIndex(); eventout += "\n ClassName : "; eventout += AllProv[i]->className(); eventout += "\n InstanceName : "; eventout += AllProv[i]->productInstanceName(); eventout += "\n BranchName : "; eventout += AllProv[i]->branchName(); } eventout += " ******************************\n"; edm::LogInfo("TrackerHitProducer::produce") << eventout; } } // call fill functions //gather G4MC information from event fillG4MC(iEvent); // gather Tracker information from event fillTrk(iEvent,iSetup); if (verbosity > 0) edm::LogInfo ("TrackerHitProducer::produce") << "Done gathering data from event."; // produce object to put into event std::auto_ptr<PTrackerSimHit> pOut(new PTrackerSimHit); if (verbosity > 2) edm::LogInfo ("TrackerHitProducer::produce") << "Saving event contents:"; // call store functions // store G4MC information in product storeG4MC(*pOut); // store Tracker information in produce storeTrk(*pOut); // store information in event iEvent.put(pOut,label); return; }
void TrackerHitProducer::storeG4MC | ( | PTrackerSimHit & | product | ) | [private] |
Definition at line 294 of file TrackerHitProducer.cc.
References G4TrkE, G4TrkEta, G4TrkPhi, G4TrkPt, G4VtxX, G4VtxY, G4VtxZ, i, nRawGenPart, PTrackerSimHit::putG4Trk(), PTrackerSimHit::putG4Vtx(), PTrackerSimHit::putRawGenPart(), and verbosity.
Referenced by produce().
{ if (verbosity > 2) { TString eventout("\nnRawGenPart = "); eventout += nRawGenPart; eventout += "\n nG4Vtx = "; eventout += G4VtxX.size(); for (unsigned int i = 0; i < G4VtxX.size(); ++i) { eventout += "\n (x,y,z) = ("; eventout += G4VtxX[i]; eventout += ", "; eventout += G4VtxY[i]; eventout += ", "; eventout += G4VtxZ[i]; eventout += ")"; } eventout += "\n nG4Trk = "; eventout += G4TrkPt.size(); for (unsigned int i = 0; i < G4TrkPt.size(); ++i) { eventout += "\n (pt,e,eta,phi) = ("; eventout += G4TrkPt[i]; eventout += ", "; eventout += G4TrkE[i]; eventout += ")"; eventout += G4TrkEta[i]; eventout += ")"; eventout += G4TrkPhi[i]; eventout += ")"; } edm::LogInfo("TrackerHitProducer::storeG4MC") << eventout; } // end verbose output product.putRawGenPart(nRawGenPart); product.putG4Vtx(G4VtxX, G4VtxY, G4VtxZ); product.putG4Trk(G4TrkPt, G4TrkE, G4TrkEta, G4TrkPhi); return; }
void TrackerHitProducer::storeTrk | ( | PTrackerSimHit & | product | ) | [private] |
Definition at line 995 of file TrackerHitProducer.cc.
References HitsDuID, HitsEloss, HitsEnPx, HitsEnPy, HitsEnPz, HitsExPx, HitsExPy, HitsExPz, HitsLdPhi, HitsLdTheta, HitsLdX, HitsLdY, HitsLdZ, HitsLpX, HitsLpY, HitsLpZ, HitsP, HitsParT, HitsProT, HitsSysID, HitsTkID, HitsToF, and PTrackerSimHit::putHits().
Referenced by produce().
{ /* if (verbosity > 2) { TString eventout("\nnPxlBrlHits = "); eventout += PxlBrlToF.size(); for (unsigned int i = 0; i < PxlBrlToF.size(); ++i) { eventout += "\n (tof,r,phi,eta) = ("; eventout += PxlBrlToF[i]; eventout += ", "; eventout += PxlBrlR[i]; eventout += ", "; eventout += PxlBrlPhi[i]; eventout += ", "; eventout += PxlBrlEta[i]; eventout += ")"; } // end PxlBrl output eventout += "\n nPxlFwdHits = "; eventout += PxlFwdToF.size(); for (unsigned int i = 0; i < PxlFwdToF.size(); ++i) { eventout += "\n (tof,z,phi,eta) = ("; eventout += PxlFwdToF[i]; eventout += ", "; eventout += PxlFwdZ[i]; eventout += ", "; eventout += PxlFwdPhi[i]; eventout += ", "; eventout += PxlFwdEta[i]; eventout += ")"; } // end PxlFwd output eventout += "\n nSiBrlHits = "; eventout += SiBrlToF.size(); for (unsigned int i = 0; i < SiBrlToF.size(); ++i) { eventout += "\n (tof,r,phi,eta) = ("; eventout += SiBrlToF[i]; eventout += ", "; eventout += SiBrlR[i]; eventout += ", "; eventout += SiBrlPhi[i]; eventout += ", "; eventout += SiBrlEta[i]; eventout += ")"; } // end SiBrl output eventout += "\n nSiFwdHits = "; eventout += SiFwdToF.size(); for (unsigned int i = 0; i < SiFwdToF.size(); ++i) { eventout += "\n (tof,z,phi,eta) = ("; eventout += SiFwdToF[i]; eventout += ", "; eventout += SiFwdZ[i]; eventout += ", "; eventout += SiFwdPhi[i]; eventout += ", "; eventout += SiFwdEta[i]; eventout += ")"; } // end SiFwd output edm::LogInfo("TrackerHitProducer::storeTrk") << eventout; } // end verbose output */ product.putHits(HitsSysID, HitsDuID, HitsTkID, HitsProT, HitsParT, HitsP, HitsLpX, HitsLpY, HitsLpZ, HitsLdX, HitsLdY, HitsLdZ, HitsLdTheta, HitsLdPhi, HitsExPx, HitsExPy, HitsExPz, HitsEnPx, HitsEnPy, HitsEnPz, HitsEloss, HitsToF); return; }
edm::ParameterSet TrackerHitProducer::config_ [private] |
Definition at line 137 of file TrackerHitProducer.h.
Referenced by fillG4MC().
unsigned int TrackerHitProducer::count [private] |
Definition at line 139 of file TrackerHitProducer.h.
std::string TrackerHitProducer::fName [private] |
Definition at line 81 of file TrackerHitProducer.h.
Referenced by TrackerHitProducer().
FloatVector TrackerHitProducer::G4TrkE [private] |
Definition at line 93 of file TrackerHitProducer.h.
Referenced by clear(), fillG4MC(), and storeG4MC().
FloatVector TrackerHitProducer::G4TrkEta [private] |
Definition at line 94 of file TrackerHitProducer.h.
Referenced by clear(), fillG4MC(), and storeG4MC().
FloatVector TrackerHitProducer::G4TrkPhi [private] |
Definition at line 95 of file TrackerHitProducer.h.
Referenced by clear(), fillG4MC(), and storeG4MC().
FloatVector TrackerHitProducer::G4TrkPt [private] |
Definition at line 92 of file TrackerHitProducer.h.
Referenced by clear(), fillG4MC(), and storeG4MC().
FloatVector TrackerHitProducer::G4VtxX [private] |
Definition at line 89 of file TrackerHitProducer.h.
Referenced by clear(), fillG4MC(), and storeG4MC().
FloatVector TrackerHitProducer::G4VtxY [private] |
Definition at line 90 of file TrackerHitProducer.h.
Referenced by clear(), fillG4MC(), and storeG4MC().
FloatVector TrackerHitProducer::G4VtxZ [private] |
Definition at line 91 of file TrackerHitProducer.h.
Referenced by clear(), fillG4MC(), and storeG4MC().
bool TrackerHitProducer::getAllProvenances [private] |
Definition at line 84 of file TrackerHitProducer.h.
Referenced by produce(), and TrackerHitProducer().
FloatVector TrackerHitProducer::HitsDuID [private] |
Definition at line 102 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
FloatVector TrackerHitProducer::HitsEloss [private] |
Definition at line 121 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
FloatVector TrackerHitProducer::HitsEnPx [private] |
Definition at line 118 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
FloatVector TrackerHitProducer::HitsEnPy [private] |
Definition at line 119 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
FloatVector TrackerHitProducer::HitsEnPz [private] |
Definition at line 120 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
FloatVector TrackerHitProducer::HitsExPx [private] |
Definition at line 115 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
FloatVector TrackerHitProducer::HitsExPy [private] |
Definition at line 116 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
FloatVector TrackerHitProducer::HitsExPz [private] |
Definition at line 117 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
FloatVector TrackerHitProducer::HitsLdPhi [private] |
Definition at line 114 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
FloatVector TrackerHitProducer::HitsLdTheta [private] |
Definition at line 113 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
FloatVector TrackerHitProducer::HitsLdX [private] |
Definition at line 110 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
FloatVector TrackerHitProducer::HitsLdY [private] |
Definition at line 111 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
FloatVector TrackerHitProducer::HitsLdZ [private] |
Definition at line 112 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
FloatVector TrackerHitProducer::HitsLpX [private] |
Definition at line 107 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
FloatVector TrackerHitProducer::HitsLpY [private] |
Definition at line 108 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
FloatVector TrackerHitProducer::HitsLpZ [private] |
Definition at line 109 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
FloatVector TrackerHitProducer::HitsP [private] |
Definition at line 106 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
FloatVector TrackerHitProducer::HitsParT [private] |
Definition at line 105 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
FloatVector TrackerHitProducer::HitsProT [private] |
Definition at line 104 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
IntegerVector TrackerHitProducer::HitsSysID [private] |
Definition at line 101 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
FloatVector TrackerHitProducer::HitsTkID [private] |
Definition at line 103 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
FloatVector TrackerHitProducer::HitsToF [private] |
Definition at line 122 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
std::string TrackerHitProducer::label [private] |
Definition at line 83 of file TrackerHitProducer.h.
Referenced by produce(), and TrackerHitProducer().
int TrackerHitProducer::nRawGenPart [private] |
Definition at line 88 of file TrackerHitProducer.h.
Referenced by clear(), fillG4MC(), and storeG4MC().
bool TrackerHitProducer::printProvenanceInfo [private] |
Definition at line 85 of file TrackerHitProducer.h.
Referenced by produce(), and TrackerHitProducer().
Definition at line 133 of file TrackerHitProducer.h.
Referenced by fillTrk(), and TrackerHitProducer().
Definition at line 132 of file TrackerHitProducer.h.
Referenced by fillTrk(), and TrackerHitProducer().
Definition at line 135 of file TrackerHitProducer.h.
Referenced by fillTrk(), and TrackerHitProducer().
Definition at line 134 of file TrackerHitProducer.h.
Referenced by fillTrk(), and TrackerHitProducer().
Definition at line 131 of file TrackerHitProducer.h.
Referenced by fillTrk(), and TrackerHitProducer().
Definition at line 130 of file TrackerHitProducer.h.
Referenced by fillTrk(), and TrackerHitProducer().
Definition at line 125 of file TrackerHitProducer.h.
Referenced by fillTrk(), and TrackerHitProducer().
Definition at line 124 of file TrackerHitProducer.h.
Referenced by fillTrk(), and TrackerHitProducer().
Definition at line 129 of file TrackerHitProducer.h.
Referenced by fillTrk(), and TrackerHitProducer().
Definition at line 128 of file TrackerHitProducer.h.
Referenced by fillTrk(), and TrackerHitProducer().
Definition at line 127 of file TrackerHitProducer.h.
Referenced by fillTrk(), and TrackerHitProducer().
Definition at line 126 of file TrackerHitProducer.h.
Referenced by fillTrk(), and TrackerHitProducer().
int TrackerHitProducer::verbosity [private] |
Definition at line 82 of file TrackerHitProducer.h.
Referenced by beginJob(), clear(), endJob(), fillG4MC(), fillTrk(), produce(), storeG4MC(), and TrackerHitProducer().