|
|
Go to the documentation of this file.
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;
void analyze(const edm::Event &event, const edm::EventSetup &setup)
std::vector< TrajectorySeed > TrajectorySeedCollection
void print(std::stringstream &ss, const SiStripCluster &clus)
std::unique_ptr< CombinedHitQuadrupletGeneratorForPhotonConversion > theHitsGenerator
TrajectorySeedCollection * seedCollection
std::vector< Vertex > VertexCollection
collection of Vertex objects
const Point & position() const
position
edm::Handle< reco::VertexCollection > vertexHandle
char const * what() const noexcept override
const edm::ParameterSet _conf
~PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo()
std::unique_ptr< SeedForPhotonConversionFromQuadruplets > theSeedCreator
const edm::EventSetup * myEsetup
reco::Vertex primaryVertex
double xError() const
error on x
Global3DPoint GlobalPoint
std::unique_ptr< GlobalTrackingRegionProducerFromBeamSpot > theRegionProducer
double zError() const
error on z
PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo(const edm::ParameterSet &, edm::ConsumesCollector &&iC)
virtual unsigned int size() const =0
edm::ParameterSet QuadCutPSet
T getParameter(std::string const &) const
bool inspect(const TrackingRegion ®ion)
edm::EDGetTokenT< reco::VertexCollection > token_vertex
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of "!*" before the partial wildcard feature was incorporated). The per-event "cost" of each negative criterion with multiple relevant triggers is about the same as ! *was in the past
size_t tooManyClusters(const edm::Event &e) const
const edm::Event * myEvent
ClusterChecker theClusterCheck
bool theSilentOnClusterCheck