24 seedCollection(nullptr),
25 theClusterCheck(conf.getParameter<edm::
ParameterSet>(
"ClusterCheckPSet"), iC),
27 theSilentOnClusterCheck(conf.getParameter<edm::
ParameterSet>(
"ClusterCheckPSet")
28 .getUntrackedParameter<bool>(
"silentClusterCheck",
false)),
30 conf.getParameter<edm::
ParameterSet>(
"OrderedHitsFactoryPSet"), iC)),
34 conf.getParameter<edm::
ParameterSet>(
"SeedComparitorPSet"))),
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";
86 edm::LogInfo(
"debugTrajSeedFromQuadruplets") << ss.str();
106 ss <<
"[PrintRegion] " <<
region.print() << std::endl;
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;
edm::Handle< reco::VertexCollection > vertexHandle
double zError() const
error on z
Global3DPoint GlobalPoint
bool theSilentOnClusterCheck
std::vector< Vertex > VertexCollection
collection of Vertex objects
virtual unsigned int size() const =0
std::unique_ptr< GlobalTrackingRegionProducerFromBeamSpot > theRegionProducer
Log< level::Error, false > LogError
const edm::EventSetup * myEsetup
const Point & position() const
position
std::unique_ptr< CombinedHitQuadrupletGeneratorForPhotonConversion > theHitsGenerator
reco::Vertex primaryVertex
const edm::Event * myEvent
edm::ParameterSet QuadCutPSet
std::vector< TrajectorySeed > TrajectorySeedCollection
const edm::ParameterSet _conf
size_t tooManyClusters(const edm::Event &e) const
~PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo()
char const * what() const noexceptoverride
PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo(const edm::ParameterSet &, edm::ConsumesCollector &&iC)
TrajectorySeedCollection * seedCollection
void print(std::stringstream &ss, const SiStripCluster &clus)
Log< level::Info, false > LogInfo
void analyze(const edm::Event &event, const edm::EventSetup &setup)
double xError() const
error on x
T getParameter(std::string const &) const
bool inspect(const TrackingRegion ®ion)
edm::EDGetTokenT< reco::VertexCollection > token_vertex
std::unique_ptr< SeedForPhotonConversionFromQuadruplets > theSeedCreator
caConstants::TupleMultiplicity const *__restrict__ HitsOnGPU const *__restrict__ tindex_type *__restrict__ double *__restrict__ phits
ClusterChecker theClusterCheck