24 :_conf(conf),seedCollection(0),
25 theClusterCheck(conf.getParameter<
edm::
ParameterSet>(
"ClusterCheckPSet"), iC),
27 theSilentOnClusterCheck(conf.getParameter<
edm::
ParameterSet>(
"ClusterCheckPSet").getUntrackedParameter<bool>(
"silentClusterCheck",
false)),
54 edm::LogError(
"TooManyClusters") <<
"Found too many clusters (" << clustsOrZero <<
"), bailing out.\n";
71 std::cout <<
"Running PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo" <<std::endl;
77 ss <<
"\n++++++++++++++++++\n";
82 edm::LogInfo(
"debugTrajSeedFromQuadruplets") << ss.str();
105 ,primaryVertex.
xError()*10
106 ,primaryVertex.
zError()*10
111 ss <<
"[PrintRegion] " << region.print() << std::endl;
128 unsigned int nHitss = hitss.
size();
131 ss <<
"\n nHitss " << nHitss <<
"\n";
137 unsigned int iHits=0, jHits=1;
143 std::vector<Quad> quadVector;
146 for (; iHits < nHitss && jHits < nHitss; iHits+=2 , jHits+=2) {
162 edm::LogError(
"SeedingConversion") <<
" Problem in the Quad Seed creator " <<er.
what()<<std::endl;
164 edm::LogError(
"SeedingConversion") <<
" Problem in the Quad Seed creator " <<er.what()<<std::endl;
edm::Handle< reco::VertexCollection > vertexHandle
T getParameter(std::string const &) const
double zError() const
error on z
Global3DPoint GlobalPoint
bool theSilentOnClusterCheck
def setup(process, global_tag, zero_tesla=False)
std::vector< Vertex > VertexCollection
collection of Vertex objects
char const * what() const override
std::unique_ptr< GlobalTrackingRegionProducerFromBeamSpot > theRegionProducer
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()
PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo(const edm::ParameterSet &, edm::ConsumesCollector &&iC)
TrajectorySeedCollection * seedCollection
virtual unsigned int size() const =0
void print(std::stringstream &ss, const SiStripCluster &clus)
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
void analyze(const edm::Event &event, const edm::EventSetup &setup)
double xError() const
error on x
return(e1-e2)*(e1-e2)+dp *dp
bool inspect(const TrackingRegion ®ion)
edm::EDGetTokenT< reco::VertexCollection > token_vertex
std::unique_ptr< SeedForPhotonConversionFromQuadruplets > theSeedCreator
ClusterChecker theClusterCheck