#include <PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo.h>
◆ IR
◆ Regions
◆ PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo()
Definition at line 21 of file PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo.cc.
References _conf, edm::ParameterSet::getParameter(), and token_vertex.
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
bool theSilentOnClusterCheck
std::vector< Vertex > VertexCollection
collection of Vertex objects
std::unique_ptr< GlobalTrackingRegionProducerFromBeamSpot > theRegionProducer
std::unique_ptr< CombinedHitQuadrupletGeneratorForPhotonConversion > theHitsGenerator
T getUntrackedParameter(std::string const &, T const &) const
edm::ParameterSet QuadCutPSet
const edm::ParameterSet _conf
TrajectorySeedCollection * seedCollection
edm::EDGetTokenT< reco::VertexCollection > token_vertex
std::unique_ptr< SeedForPhotonConversionFromQuadruplets > theSeedCreator
ClusterChecker theClusterCheck
◆ ~PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo()
PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo::~PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo |
( |
| ) |
|
◆ analyze()
void PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo::analyze |
( |
const edm::Event & |
event, |
|
|
const edm::EventSetup & |
setup |
|
) |
| |
Definition at line 43 of file PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo.cc.
References _conf, gather_cfg::cout, edmPickEvents::event, edm::ParameterSet::getParameter(), edm::HandleBase::isValid(), loop(), myEsetup, myEvent, po, PrintRecoObjects::print(), regions, seedCollection, singleTopDQM_cfi::setup, ss, theClusterCheck, theRegionProducer, theSilentOnClusterCheck, token_vertex, ClusterChecker::tooManyClusters(), and vertexHandle.
56 edm::LogError(
"TooManyClusters") <<
"Found too many clusters (" << clustsOrZero <<
"), bailing out.\n";
66 <<
"Error! Can't get the product primary Vertex Collection " 75 std::cout <<
"Running PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo" << std::endl;
81 ss <<
"\n++++++++++++++++++\n";
edm::Handle< reco::VertexCollection > vertexHandle
T getParameter(std::string const &) const
size_t tooManyClusters(const edm::Event &e) const
bool theSilentOnClusterCheck
std::unique_ptr< GlobalTrackingRegionProducerFromBeamSpot > theRegionProducer
Log< level::Error, false > LogError
const edm::EventSetup * myEsetup
const edm::Event * myEvent
std::vector< TrajectorySeed > TrajectorySeedCollection
const edm::ParameterSet _conf
TrajectorySeedCollection * seedCollection
void print(std::stringstream &ss, const SiStripCluster &clus)
Log< level::Info, false > LogInfo
edm::EDGetTokenT< reco::VertexCollection > token_vertex
ClusterChecker theClusterCheck
◆ getTrajectorySeedCollection()
◆ inspect()
bool PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo::inspect |
( |
const TrackingRegion & |
region | ) |
|
|
private |
Definition at line 116 of file PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo.cc.
References cppFunctionSkipper::exception, myEsetup, myEvent, phits, QuadCutPSet, HLT_2022v11_cff::region, seedCollection, OrderedSeedingHits::size(), ss, theHitsGenerator, theSeedCreator, and cms::Exception::what().
Referenced by loop().
119 unsigned int nHitss = hitss.
size();
122 ss <<
"\n nHitss " << nHitss <<
"\n";
130 unsigned int iHits = 0, jHits = 1;
136 std::vector<Quad> quadVector;
138 for (; iHits < nHitss && jHits < nHitss; iHits += 2, jHits += 2) {
153 edm::LogError(
"SeedingConversion") <<
" Problem in the Quad Seed creator " << er.
what() << std::endl;
155 edm::LogError(
"SeedingConversion") <<
" Problem in the Quad Seed creator " << er.what() << std::endl;
virtual unsigned int size() const =0
Log< level::Error, false > LogError
const edm::EventSetup * myEsetup
std::unique_ptr< CombinedHitQuadrupletGeneratorForPhotonConversion > theHitsGenerator
const edm::Event * myEvent
edm::ParameterSet QuadCutPSet
TrajectorySeedCollection * seedCollection
std::unique_ptr< SeedForPhotonConversionFromQuadruplets > theSeedCreator
char const * what() const noexcept override
caConstants::TupleMultiplicity const *__restrict__ HitsOnGPU const *__restrict__ tindex_type *__restrict__ double *__restrict__ phits
◆ loop()
void PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo::loop |
( |
| ) |
|
|
private |
◆ _conf
const edm::ParameterSet PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo::_conf |
|
private |
◆ myEsetup
const edm::EventSetup* PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo::myEsetup |
|
private |
◆ myEvent
const edm::Event* PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo::myEvent |
|
private |
◆ po
◆ primaryVertex
reco::Vertex PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo::primaryVertex |
|
private |
◆ QuadCutPSet
edm::ParameterSet PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo::QuadCutPSet |
|
private |
◆ regions
Regions PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo::regions |
|
private |
◆ seedCollection
◆ ss
std::stringstream PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo::ss |
|
private |
◆ theClusterCheck
ClusterChecker PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo::theClusterCheck |
|
private |
◆ theHitsGenerator
◆ theRegionProducer
◆ theSeedCreator
◆ theSilentOnClusterCheck
bool PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo::theSilentOnClusterCheck |
|
private |
◆ token_vertex
◆ vertexCollection
◆ vertexHandle