24 :_conf(conf),seedCollection(0),
25 theClusterCheck(conf.getParameter<edm::
ParameterSet>(
"ClusterCheckPSet"), iC),
27 theSilentOnClusterCheck(conf.getParameter<edm::
ParameterSet>(
"ClusterCheckPSet").getUntrackedParameter<bool>(
"silentClusterCheck",
false)),
31 conf.getParameter<edm::
ParameterSet>(
"SeedComparitorPSet"))),
54 edm::LogError(
"TooManyClusters") <<
"Found too many clusters (" << clustsOrZero <<
"), bailing out.\n";
70 std::cout <<
"Running PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo" <<std::endl;
76 ss <<
"\n++++++++++++++++++\n";
81 edm::LogInfo(
"debugTrajSeedFromQuadruplets") << ss.str();
104 ,primaryVertex.
xError()*10
105 ,primaryVertex.
zError()*10
110 ss <<
"[PrintRegion] " <<
region.print() << std::endl;
127 unsigned int nHitss = hitss.
size();
130 ss <<
"\n nHitss " << nHitss <<
"\n";
136 unsigned int iHits=0, jHits=1;
142 std::vector<Quad> quadVector;
145 for (; iHits < nHitss && jHits < nHitss; iHits+=2 , jHits+=2) {
161 edm::LogError(
"SeedingConversion") <<
" Problem in the Quad Seed creator " <<er.
what()<<std::endl;
163 edm::LogError(
"SeedingConversion") <<
" Problem in the Quad Seed creator " <<er.what()<<std::endl;
edm::Handle< reco::VertexCollection > vertexHandle
virtual char const * what() const
T getParameter(std::string const &) const
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
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
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
bool inspect(const TrackingRegion ®ion)
edm::EDGetTokenT< reco::VertexCollection > token_vertex
std::unique_ptr< SeedForPhotonConversionFromQuadruplets > theSeedCreator
volatile std::atomic< bool > shutdown_flag false
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
ClusterChecker theClusterCheck