23 :_conf(conf),seedCollection(0),
24 hitsfactoryPSet(conf.getParameter<edm::
ParameterSet>(
"OrderedHitsFactoryPSet")),
25 creatorPSet(conf.getParameter<edm::
ParameterSet>(
"SeedCreatorPSet")),
26 regfactoryPSet(conf.getParameter<edm::
ParameterSet>(
"RegionFactoryPSet")),
27 theClusterCheck(conf.getParameter<edm::
ParameterSet>(
"ClusterCheckPSet")),
28 SeedComparitorPSet(conf.getParameter<edm::
ParameterSet>(
"SeedComparitorPSet")),
30 theSilentOnClusterCheck(conf.getParameter<edm::
ParameterSet>(
"ClusterCheckPSet").getUntrackedParameter<bool>(
"silentClusterCheck",
false)){
66 edm::LogError(
"TooManyClusters") <<
"Found too many clusters (" << clustsOrZero <<
"), bailing out.\n";
82 std::cout <<
"Running PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo" <<std::endl;
88 ss <<
"\n++++++++++++++++++\n";
93 edm::LogInfo(
"debugTrajSeedFromQuadruplets") << ss.str();
116 ,primaryVertex.
xError()*10
117 ,primaryVertex.
zError()*10
122 ss <<
"[PrintRegion] " << region.print() << std::endl;
139 unsigned int nHitss = hitss.
size();
142 ss <<
"\n nHitss " << nHitss <<
"\n";
148 unsigned int iHits=0, jHits=1;
154 std::vector<Quad> quadVector;
157 for (; iHits < nHitss && jHits < nHitss; iHits+=2 , jHits+=2) {
173 edm::LogError(
"SeedingConversion") <<
" Problem in the Quad Seed creator " <<er.
what()<<std::endl;
175 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
CombinedHitQuadrupletGeneratorForPhotonConversion * theHitsGenerator
double zError() const
error on z
Global3DPoint GlobalPoint
bool theSilentOnClusterCheck
virtual unsigned int size() const =0
edm::ParameterSet regfactoryPSet
const edm::EventSetup * myEsetup
const Point & position() const
position
reco::Vertex primaryVertex
const edm::Event * myEvent
edm::ParameterSet QuadCutPSet
const OrderedHitPairs & run(const TrackingRegion ®ion, const edm::Event &ev, const edm::EventSetup &es)
std::vector< TrajectorySeed > TrajectorySeedCollection
const edm::ParameterSet _conf
size_t tooManyClusters(const edm::Event &e) const
TrajectorySeedCollection * seedCollection
void print(std::stringstream &ss, const SiStripCluster &clus)
edm::ParameterSet hitsfactoryPSet
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
SeedForPhotonConversionFromQuadruplets * theSeedCreator
GlobalTrackingRegionProducerFromBeamSpot * theRegionProducer
void analyze(const edm::Event &event, const edm::EventSetup &setup)
double xError() const
error on x
edm::ParameterSet creatorPSet
PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo(const edm::ParameterSet &)
const TrajectorySeed * trajectorySeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &phits, const SeedingHitSet &mhits, const TrackingRegion ®ion, const edm::EventSetup &es, std::stringstream &ss, std::vector< Quad > &quadV, edm::ParameterSet &SeedComparitorPSet, edm::ParameterSet &QuadCutPSet)
bool inspect(const TrackingRegion ®ion)
virtual std::vector< TrackingRegion * > regions(const edm::Event &ev, const edm::EventSetup &) const
edm::ParameterSet SeedComparitorPSet
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
ClusterChecker theClusterCheck