Inserted 'bool runStandalone;' into the Validation/TrackerRecHits/interface/SiPixelRecHitsValid.h and uncommented the line 'dbe_ = edm::Service<DQMStore>().operator->();' in Validation/TrackerRecHits/src/SiPixelRecHitsValid.cc file.