49 produces< edm::DetSetVector<CTPPSDiamondLocalTrack> >();
65 pOut->find_or_insert( id_45 );
107 ->setComment(
"input rechits collection to retrieve" );
108 desc.
add<
int>(
"verbosity", 0 )
109 ->setComment(
"general verbosity of this module" );
112 trackingAlgoParams.
add<
double>(
"threshold", 1.5 )
113 ->setComment(
"minimal number of rechits to be observed before launching the track recognition algorithm" );
114 trackingAlgoParams.
add<
double>(
"thresholdFromMaximum", 0.5 );
115 trackingAlgoParams.
add<
double>(
"resolution", 0.01 )
116 ->setComment(
"spatial resolution on the horizontal coordinate (in mm)" );
117 trackingAlgoParams.
add<
double>(
"sigma", 0.1 );
118 trackingAlgoParams.
add<
double>(
"startFromX", -0.5 )
119 ->setComment(
"starting horizontal coordinate of rechits for the track recognition" );
120 trackingAlgoParams.
add<
double>(
"stopAtX", 19.5 )
121 ->setComment(
"ending horizontal coordinate of rechits for the track recognition" );
123 trackingAlgoParams.
add<
std::string>(
"pixelEfficiencyFunction",
"(TMath::Erf((x-[0]+0.5*[1])/([2]/4)+2)+1)*TMath::Erfc((x-[0]-0.5*[1])/([2]/4)-2)/4" )
124 ->setComment(
"efficiency function for single pixel\n" 125 "can be defined as:\n" 126 " * Precise: (TMath::Erf((x-[0]+0.5*[1])/([2]/4)+2)+1)*TMath::Erfc((x-[0]-0.5*[1])/([2]/4)-2)/4\n" 127 " * Fast: (x>[0]-0.5*[1])*(x<[0]+0.5*[1])+((x-[0]+0.5*[1]+[2])/[2])*(x>[0]-0.5*[1]-[2])*(x<[0]-0.5*[1])+(2-(x-[0]-0.5*[1]+[2])/[2])*(x>[0]+0.5*[1])*(x<[0]+0.5*[1]+[2])\n" 128 " * Legacy: (1/(1+exp(-(x-[0]+0.5*[1])/[2])))*(1/(1+exp((x-[0]-0.5*[1])/[2])))\n" 130 " [0]: centre of pad\n" 131 " [1]: width of pad\n" 132 " [2]: sigma: distance between efficiency ~100 -> 0 outside width" );
134 trackingAlgoParams.
add<
double>(
"yPosition", 0.0 )
135 ->setComment(
"vertical offset of the outcoming track centre" );
136 trackingAlgoParams.
add<
double>(
"yWidth", 0.0 )
137 ->setComment(
"vertical track width" );
140 ->setComment(
"list of parameters associated to the track recognition algorithm" );
142 descr.
add(
"ctppsDiamondLocalTracks", desc );
static void fillDescriptions(edm::ConfigurationDescriptions &)
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
void clear()
Reset the list of hits.
CTPPSDiamondTrackRecognition trk_algo_45_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Reconstructed hit in diamond detectors.
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< edm::DetSetVector< CTPPSDiamondRecHit > > recHitsToken_
~CTPPSDiamondLocalTrackFitter() override
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
void produce(edm::Event &, const edm::EventSetup &) override
CTPPSDiamondTrackRecognition trk_algo_56_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void addHit(const CTPPSDiamondRecHit &recHit)
Feed a new hit to the tracks recognition algorithm.
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Class performing smart reconstruction for CTPPS Diamond Detectors.
int produceTracks(edm::DetSet< CTPPSDiamondLocalTrack > &tracks)
Produce a collection of tracks for the current station, given its hits collection.
Detector ID class for CTPPS Timing Diamond detectors. Bits [19:31] : Assigend in CTPPSDetId Calss Bit...
collection_type::const_iterator const_iterator
collection_type::const_iterator const_iterator
CTPPSDiamondLocalTrackFitter(const edm::ParameterSet &)