36 namespace edm {
class ConsumesCollector;}
47 bool runBeamWidthFitter();
48 bool runPVandTrkFitter();
49 bool runFitterNoTxt();
66 return std::make_pair(freftime[0], freftime[1]);
75 fBSvector.erase(fBSvector.begin(),fBSvector.begin()+nsize);
80 MyPVFitter->resizepvStore(npvsize);
86 ForDIPPV_.assign( v1_.begin(), v1_.end() );
96 std::vector<BSTrkParameters>
getBSvector() {
return fBSvector; }
99 h1cutFlow->Add(toSubtract, -1.0);
100 for (
unsigned int i=0;
i<
sizeof(countPass)/
sizeof(countPass[0]);
i++){
101 countPass[
i] = h1cutFlow->GetBinContent(
i+1);
108 for (
unsigned int i=0;
i<
sizeof(countPass)/
sizeof(countPass[0]);
i++)
118 return std::make_pair(fbeginLumiOfFit, fendLumiOfFit);
121 fbeginLumiOfFit = ls0;
127 return fBSvector.size();
130 return MyPVFitter->getNPVs();
133 return MyPVFitter->getNPVsperBX();
166 std::vector<reco::TrackBase::TrackQuality>
quality_;
219 std::time_t freftime[2];
226 char fbeginTimeOfFit[32];
227 char fendTimeOfFit[32];
std::vector< std::string > trk_Algorithm_
const std::map< int, int > & getNPVsperBX()
std::vector< BSTrkParameters > getBSvector()
void subtractFromCutFlow(const TH1F *toSubtract)
std::size_t getPVvectorSize()
std::vector< std::string > trk_Quality_
reco::BeamSpot getBeamWidth()
std::map< int, reco::BeamSpot > getBeamSpotMap()
reco::BeamSpot fbeamWidthFit
std::vector< BSTrkParameters > fBSvector
std::vector< reco::TrackBase::TrackAlgorithm > algorithm_
void setFitLSRange(int ls0, int ls1)
std::pair< time_t, time_t > getRefTime()
void SetPVInfo(const std::vector< float > &v1_)
std::string outputfilename_
std::string outputDIPTxt_
std::vector< float > ForDIPPV_
void resizeBSvector(unsigned int nsize)
std::map< int, reco::BeamSpot > fbspotPVMap
std::vector< reco::TrackBase::TrackQuality > quality_
void resizePVvector(unsigned int npvsize)
edm::EDGetTokenT< reco::TrackCollection > tracksToken_
void setRefTime(time_t t0, time_t t1)
std::pair< int, int > getFitLSRange()
reco::BeamSpot getBeamSpot()
edm::EDGetTokenT< edm::View< reco::Vertex > > vertexToken_
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_