16 :_conf(conf),seedCollection(0),
17 hitsfactoryPSet(conf.getParameter<edm::
ParameterSet>(
"OrderedHitsFactoryPSet")),
18 creatorPSet(conf.getParameter<edm::
ParameterSet>(
"SeedCreatorPSet")),
19 regfactoryPSet(conf.getParameter<edm::
ParameterSet>(
"RegionFactoryPSet")),
20 theClusterCheck(conf.getParameter<edm::
ParameterSet>(
"ClusterCheckPSet")),
21 theSilentOnClusterCheck(conf.getParameter<edm::
ParameterSet>(
"ClusterCheckPSet").getUntrackedParameter<bool>(
"silentClusterCheck",
false)){
57 edm::LogError(
"TooManyClusters") <<
"Found too many clusters (" << clustsOrZero <<
"), bailing out.\n";
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;
144 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
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
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 &)
virtual 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)
bool inspect(const TrackingRegion ®ion)
virtual std::vector< TrackingRegion * > regions(const edm::Event &ev, const edm::EventSetup &) const
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
ClusterChecker theClusterCheck