37 namespace edm {
class ConsumesCollector;}
52 void setTree(TTree*
tree);
61 std::vector<BeamSpotFitPVData>
getpvStore() {
return pvStore_; }
74 fbeginLumiOfFit = ls0;
85 dynamicQualityCut_ = 1.e30;
96 tmp[0] = fbeginLumiOfFit;
97 tmp[1] = fendLumiOfFit;
102 time_t *tmptime=
new time_t[2];
103 tmptime[0]=freftime[0];
104 tmptime[1]=freftime[1];
110 pvStore_.erase(pvStore_.begin(), pvStore_.begin()+rmSize);
115 void compressStore ();
126 for (
std::map<
int,std::vector<BeamSpotFitPVData> >::const_iterator pvStore = bxMap_.begin();
127 pvStore!=bxMap_.end(); ++pvStore) {
129 npvsmap_[ pvStore->first ] = (pvStore->second).
size();
162 std::time_t freftime[2];
179 std::map< int, std::vector<BeamSpotFitPVData> >
bxMap_;
std::vector< double > pvQualities_
static AlgebraicMatrix initialize()
void setFitLSRange(int ls0, int ls1)
std::map< int, std::vector< BeamSpotFitPVData > > bxMap_
const std::map< int, int > & getNPVsperBX()
std::map< int, reco::BeamSpot > getBeamSpotMap()
void FitPerBunchCrossing()
double dynamicQualityCut_
std::vector< BeamSpotFitPVData > pvStore_
BeamSpotTreeData theBeamSpotTreeData_
bool fFitPerBunchCrossing
std::map< int, reco::BeamSpot > fbspotMap
edm::EDGetTokenT< reco::VertexCollection > vertexToken_
void setRefTime(std::time_t t0, std::time_t t1)
unsigned int maxNrVertices_
std::vector< BeamSpotFitPVData > getpvStore()
unsigned int minVtxTracks_
void resizepvStore(unsigned int rmSize)
unsigned int minNrVertices_
std::vector< std::vector< double > > tmp
reco::BeamSpot getBeamSpot()
std::map< int, int > npvsmap_
bool IsFitPerBunchCrossing()