25 theClusterCheck(conf.getParameter<
edm::
ParameterSet>(
"ClusterCheckPSet"), iC),
27 theSilentOnClusterCheck(conf.getParameter<
edm::
ParameterSet>(
"ClusterCheckPSet")
28 .getUntrackedParameter<
bool>(
"silentClusterCheck",
false)),
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";
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
T getParameter(std::string const &) const
size_t tooManyClusters(const edm::Event &e) const
const Point & position() const
position
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
double zError() const
error on z
const edm::EventSetup * myEsetup
double xError() const
error on x
std::unique_ptr< CombinedHitQuadrupletGeneratorForPhotonConversion > theHitsGenerator
reco::Vertex primaryVertex
const edm::Event * myEvent
edm::ParameterSet QuadCutPSet
std::vector< TrajectorySeed > TrajectorySeedCollection
const edm::ParameterSet _conf
~PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo()
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)
bool inspect(const TrackingRegion ®ion)
edm::EDGetTokenT< reco::VertexCollection > token_vertex
std::unique_ptr< SeedForPhotonConversionFromQuadruplets > theSeedCreator
char const * what() const noexcept override
caConstants::TupleMultiplicity const *__restrict__ HitsOnGPU const *__restrict__ tindex_type *__restrict__ double *__restrict__ phits
ClusterChecker theClusterCheck